Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem WIth ADDRESS END ADDRESS

subbarao_ilam
Explorer
0 Likes
488

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.

2 REPLIES 2
Read only

Former Member
0 Likes
464

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

Read only

0 Likes
464

but if the address is not printing then i need to insert 2 blank lines in that place...