The carry over (subtotal) is incorrectly calculated for forms with repetitive structures (for example, invoices with items).
Cause and prerequisitesFrom SAPscript point of view: incorrect form setup (generally MAIN window).
SolutionRevision of the form:
1. Surround all repetitive structures which have a role in the determination of the carry over (and the respective headings) with the SAPscript statement PROTECT ENDPROTECT.
2. Do not write a line feed after this PROTECT-ENDPROTECT statement in the same element.
Example:
( E100, E101: Elements, / = line feed; L1: format key )
Wrong:
/E E100
/: PROTECT L1 ,,,,/: ENDPROTECT
/
/E E101 ...
Correct:
/E E100
/: PROTECT
/ L1 ,,,,/: ENDPROTECT
/E E101 ...
No comments:
Post a Comment