on 11-26-2007 5:26 PM
Hi all,
I appreciate anyone who could help me
We have a sapscript and we have some conde on its 'Page' Windows.
Somehow everytime we execute the report the content of the condition and of the else statement are printed:
C9 Example
/: IF ®UH-WEFAE& IS INITIAL
C9 ,, ®uh-AUSFD&,,,, &SY-DATUM&,,
/: ELSE
C9 ,, ®uh-WEFAE&,,,, &SY-DATUM&,,
/: ENDIF
Any idea why both lines (the one with reguh-ausfd and wefae) are being printed?
Thanks
Try like this:
/: DEFINE &L_WEFAE& = ' '
C9 Example
/: IF ®UH-WEFAE& = &L_WEFAE&
C9 ,, ®uh-AUSFD&,,,, &SY-DATUM&,,
/: ELSE
C9 ,, ®uh-WEFAE&,,,, &SY-DATUM&,,
/: ENDIF
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this piece of text in the MAIN window? It may be that this text element is being called twice by the print program, the first time REGUH-WEFAE is initial, the second time it is populated.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.