on 05-24-2007 4:46 AM
Hi,
i am having 5 fields to display in script.
1 kunnr
2 name1
3 stras
4 ort01
5 landx
if stras field is blank it shows a blank line in the output like this.
1 kunnr
2 name1
3
4 ort01
5 landx
but i want to remove the blank line and should display like this
1 kunnr
2 name1
3 ort01
4 landx
any hints
Write down layout like
/: IF &STRAS& = ''.
/:else.
p1 print ur street.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/: IF &kunnr& NE ' '.
&kunnr&
/:endif.
/: IF &name1& NE ' '.
&name1&
/:endif.
<b>/: IF &stras& NE ' '.
&stras&
/:endif.</b>
/: IF &ort01& NE ' '.
&ort01&
/:endif.
/: IF &landx& NE ' '.
&landx&
/:endif.
Reward points to all useful answers.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
in SAP script
write one IF condition
for example
IF not KNA1-STRAS is initial
&KNA1-STRAS&
ENDIF.
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.