‎2008 Jan 18 12:52 PM
Syntax error in screen
-
Program SAPMZSD_DPR_DISCOUNT
Screen 0110
Position Flow Logic Line 1
The field "LBLSANCT" is not assigned to a loop. "LOOP ... ENDLOOP" must
appear in "PBO" and "PAI".
LBLSANCT = label of a field in table control...
thanx,
naveen
‎2008 Jan 18 12:57 PM
Hello Navin,
If u r using a table control in your screen then u need to include these codes in both PBO and PAI.
PROCESS BEFORE OUTPUT.
LOOP AT IT_TC01
WITH CONTROL TC01
CURSOR TC01-CURRENT_LINE.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT IT_TC01.
ENDLOOP.
Here IT_TC01 is the table control name
Cheers,
Vasanth
‎2008 Jan 18 12:57 PM
Hello Navin,
If u r using a table control in your screen then u need to include these codes in both PBO and PAI.
PROCESS BEFORE OUTPUT.
LOOP AT IT_TC01
WITH CONTROL TC01
CURSOR TC01-CURRENT_LINE.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT IT_TC01.
ENDLOOP.
Here IT_TC01 is the table control name
Cheers,
Vasanth
‎2008 Jan 18 1:07 PM
declare ur control in the top include and write the loop stmt in flow logic in pbo and pai.
and then check for syntx error.