2007 Sep 26 10:23 AM
Hi I am using address command in Script like
/: ADDRESS PARAGRAPH LT LINES 2
/: TITLE &VBDKL-ANRED&
/: NAME &VBDKL-NAME1&, &VBDKL-NAME2&, &VBDKL-NAME3&
/: STREET &VBDKL-STRAS&
/: POBOX &VBDKL-PFACH& CODE &VBDKL-PSTL2&
/: ENDADDRESS
if in the above statement if the address does not print i.e, if all the fields are empty
i need to print two blank lines in that place.......
for that I am using if command like
/: IF &VBDKL-ARENED& EQ ' ' AND &VBDKL-NAME1& EQ ' ' AND
/: &VBDKL-NAME2& EQ ' ' AND &VBDKL-NAME2& EQ ' ' AND
/: &VBDKL-NAME3& EQ ' ' AND &VBDKL-STRAS& EQ ' ' AND
/: &VBDKL-PFACH& EQ ' ' AND &VBDKL-PSTL2& EQ ' '
*
*
/: ENDIF.
But with this if command the two blank lines are not getting printed..... Please let
me know a solution for this ...
Thanx in Advance.
Hi I am using address command in Script like
/: ADDRESS PARAGRAPH LT LINES 2
/: TITLE &VBDKL-ANRED&
/: NAME &VBDKL-NAME1&, &VBDKL-NAME2&, &VBDKL-NAME3&
/: STREET &VBDKL-STRAS&
/: POBOX &VBDKL-PFACH& CODE &VBDKL-PSTL2&
/: ENDADDRESS
if in the above statement if the address does not print i.e, if all the fields are empty
i need to print two blank lines in that place.......
for that I am using if command like
/: IF &VBDKL-ARENED& EQ ' ' AND &VBDKL-NAME1& EQ ' ' AND
/: &VBDKL-NAME2& EQ ' ' AND &VBDKL-NAME2& EQ ' ' AND
/: &VBDKL-NAME3& EQ ' ' AND &VBDKL-STRAS& EQ ' ' AND
/: &VBDKL-PFACH& EQ ' ' AND &VBDKL-PSTL2& EQ ' '
*
*
/: ENDIF.
But with this if command the two blank lines are not getting printed..... Please let
me know a solution for this ...
Thanx in Advance.
2007 Sep 26 10:29 AM
Hi
check the ADRNR_WE field of VBDKL for printing the SHipto Address
/: IF NOT &VBDKL-ADRNR_WE& IS INITIAL
/: ADDRESS PARAGRAPH LT LINES 2
/: TITLE &VBDKL-ANRED&
/: NAME &VBDKL-NAME1&, &VBDKL-NAME2&, &VBDKL-NAME3&
/: STREET &VBDKL-STRAS&
/: POBOX &VBDKL-PFACH& CODE &VBDKL-PSTL2&
/: ENDADDRESS
/:ELSE
/
/
/: ENDIF
Regards
Anji
2007 Sep 26 10:34 AM
but if the address is not printing then i need to insert 2 blank lines in that place...
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |