13.9.11

SAP Note 27373 - Runtime error GEN_LITERAL_OVERFLOW

Symptom:

A runtime error occurs when calling up a validation GEN_LITERAL_OVERFLOW.

Cause and prerequisites

Too many sets or sets that are too large are used in validation, substitution und rules. A program is generated from these sets in which one or several literals occur for each set value.
A maximum of 64 KBytes of literals can be used per program. Since too many set values occur, the literal table for generated code is filled beyond capacity.

Solution
In Release 2.1 or 2.2, there is unfortunately no technical means of avoiding this restriction. Therefore, check to see whether all the sets used in all rules, validations and substitutions are actually required. Delete the validations, substitutions and rules that were created for test purposes if they use sets. Also delete the sets that were created for these tests. Afterwards, execute report RGUGBR00, and check that the syntax in the generated code is correct, as described below.
In Release 3.0, 3.1G or 3.1H, make the corrections described in program SAPFGSCS.
After you have made the changes, you should regenerate the code for the sets in the validation/substitution. To do this, execute report RGUGBR00. Select the parameters "Generate set usage" and "Generate sets."
Then check program FGBB2mmm (up to Release 2.2Z) or GBSmmSET (as of Release 3.0A) for errors (syntax check), where mmm/mm stands for the client.

Additional key words

FB01, posting, FGBB2000, FGBB2xxx, GBSxxSET

No comments:

Post a Comment