Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

module progrm error

naveenvishal
Contributor
0 Likes
469

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
420

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

2 REPLIES 2
Read only

Former Member
0 Likes
421

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

Read only

Former Member
0 Likes
420

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.