on 10-08-2009 5:20 AM
Dear all,
I have my requirement something in this way .
The line items of the script will be in some tabular form now my question is if any of the field doesnt have value in it then the text also should not be displayed.
eg:
Material No material grp Quantity date Time
1 10 12.09.2009 14:30
here since material grp doesnot have value material group then that should not printed on the form
KIndly help.
Regards,
Sana.
Edited by: Julius Bussche on Oct 11, 2009 7:22 PM
Please use meaningfull subject titles
Hi,
In the form painter put if condition to display the output.
Regards,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Next time, use a meaningful title (you must summarize what problem you have with sapscripts, i.e. "conditional display of text in sapscript"). Abuse reported to moderators
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Declare a FLAG variable in your Driver program and set this variable to X if all the variables have a values and if atleast one variable is blank then FLAG = '' and use this FLAG in the script IF &FLAG& = 'X' then Print else not.
or if you are calling using WRITE_FORM in a ELEMENT then based on the condition call the element or not..
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In this case you wil have to creat the window of same size as your current window
and in that do not add 'material group'.
on write_form for window put the condition
IF material group NE space.
write_form for old window
else.
write_form for newly created window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.