on 01-09-2010 10:16 PM
Hi,
In a SAP Script (SAP 4.7) I have the following code:
/: IF &ZZSWIFT& NE ' '
/: INCLUDE ZZABC_SWIFT OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS& PARAGRAPH ZB
/: &ZZSWIFT&
/: ENDIF
The standard text ZZABC_SWIFT has the text "By Swift" in it.
The problem is that it does not show the Swift Number (&ZZSWIFT&) on the output print preview and the hard copy of the form.
I have tried using the following:
= &ZZSWIFT&
/= &ZZSWIFT&
&ZZSWIFT&
But the Swift No is not displayed (In print preview) or printed (printout). In debug mode, I can see that &ZZSWIFT& has a value.
Please help.
Thanks in advance.
Mick
Hello,
Try
/: IF &ZZSWIFT& NE &SPACE&
Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone.
I have tried increasing the width of the window, commenting out the line for the standard text, but still the swift number is not printed on the form.
What has helped is that I modified the code in the window as:
IF &ZZVKORG& NE 'SE49'
INCLUDE ZZMCG_SWIFT OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS& PARAGRAPH ZB
ELSE
&'By Swift: 'ZZSWIFT&
END IF
Now the Swift No is getting printed. But the font is different from the font on the rest of the font.
How do I rectify this. Please help.
Regards,
Mick
Hi Mick
The signs /: are for a command in script, if u need to print something u need to indictate a paragraph or asterics (for default paragraph), so:
/: IF &ZZSWIFT& NE ' '
/: INCLUDE ZZABC_SWIFT OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS& PARAGRAPH ZB
&ZZSWIFT&
/: ENDIF
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.