cancel
Showing results for 
Search instead for 
Did you mean: 

error facing while printing a hard text in a form ...

Former Member
0 Kudos

hi i am facing a error while debugging a f orm

the text is not being printed for second page onwards

as shown below the first char 3pl comes whille debugging and then the window goes to next as shown below and dont cmplete the remaining text and neither print that

<b>Form EN z_LIST_PH3 Page NEXT 4 Window INFO

Function WRITE_FORM 0

<u>Event CHAR 3PL </u>

Element </b>

-


....+ V .1........2........3........4........5........6........7..

/: IF &ZPLBL& = 'C000'

IN <B>3PL Code,,:</>,,'Not Required'

/: ELSE

> IN <B>3PL Code,,:</>,,&ZPL&

/: ENDIF

on doing f5 the cursor should go inside the line and print 3pl and then code but it shows only 3pl and dont print it from second page onwards

it does print whole 3pl code.... text for first page but not from second page onwads

can anyone suggest on this error or its cause or wht to do to remove this/

regards

Arora

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

I hope this info is helpful, check in all windows, whether all IF statments are ended with ENDIF., and all PERFORM ended with ENDPERFORM.

Rgds,

Sairam

Answers (3)

Answers (3)

Former Member
0 Kudos

problme resolved

Former Member
0 Kudos

hi Arora

try checking the folowing points

1) is there multiple pages if yes the window u made changes should exists in page1 and next page

3) properties of window in which u make changes or any layout changes u did for window page 1 should also reflect on the secod page as might be in debuggging the program is not finding space hence going to next window

try to match the windows in both the pages i suppose this might be the issue as no space to print hecne it is behaving like that and jumping to next window..

rewards points if helpful

regards

Nishant

Former Member
0 Kudos

Hi

In debugging, did you check the content of ZPLBL ?

Check if there are any conditions which are stopping to appear.

Paste the code from the window/element, so that we can analyze.

Regards

Raj

Message was edited by:

Rajasekhar Dinavahi

Former Member
0 Kudos

hi

the content of zplbl doesnt matter and it is coming as tehre are two codition if

not c001 then print ;3gl code = required

esle print 3gl code value from program

hence this priting of 3gl code is not being executed for second page for first page it is printing not for second page....

here is the code i already pasted above the code while debugging

/: PERFORM GET_LABEL_CODE IN PROGRAM ZPICK_LIST_PH3

/: USING &LTAK-VBELN&

/: USING &LTAP-POSNR&

/: CHANGING &ZINT&

/: CHANGING &ZPLBL&

/: ENDPERFORM

/: IF &ZINT& = 'I000'

IN <B>Inter Code,,:</>,,'Not Required'

/: ELSE

IN <B>Inter Code,,:</>,,&ZINT&

/: ENDIF

this above is bwing printed for both pages but my code as below is not being printed for second page onwards and in debugging it goes to this line second in <b> the shows 3pl and suddenly jumps from here to next window and dont even executes next perform immediately afete it for second page onwards

/: IF &ZPLBL& = 'C000'

IN <B>3PL Label Code,,:</>,,'Not Required'

/: ELSE

IN <B>3PL Label Code,,:</>,,&ZPLBL&

/: ENDIF

/: PERFORM GET_SHIP_STATUS IN PROGRAM ZLIST_PH3

...

......

pls suggest

regards

Arora

Former Member
0 Kudos

pasting again the code as it joined in earlier reply

/: PERFORM GET_LABEL_CODE IN PROGRAM ZPICK_LIST_PH3

/: USING &LTAK-VBELN&

/: USING &LTAP-POSNR&

/: CHANGING &ZINT&

/: CHANGING &ZPLBL&

/: ENDPERFORM

/: IF &ZINT& = 'I000'

IN Inter Code,,:<>,,'Not Required'

/: ELSE

IN Inter Code,,:<>,,&ZINT&

/: ENDIF

this above is bwing printed for both pages but my code as below is not being printed for second page onwards and in debugging it goes to this line second in the shows 3pl and suddenly jumps from here to next window and dont even executes next perform immediately afete it for second page onwards

/: IF &ZPLBL& = 'C000'

IN 3PL Label Code,,:<>,,'Not Required'

/: ELSE

IN 3PL Label Code,,:<>,,&ZPLBL&

/: ENDIF

/: PERFORM GET_SHIP_STATUS IN PROGRAM ZLIST_PH3 ... ......