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

ADDRESS Command in SAPScript

Former Member
0 Likes
710

Dear all,

I'm using ADDRESS ~ ENDADDRESS command in SAPScript. I pass street name to STREET as follow

NAME name1 name2 name3 name4

STREET &LFA1-STRAS&

..

..

With the above, my street can be displayed out correctly.

But i faced problem when i have street2 street3 and street4, like below:

-


NAME name1 name2 name3 name4

STREET &LFA1-STRAS& , &ADRC-STR_SUPPL1& , &ADRC-STR_SUPPL2& , &ADRC-STR_SUPPL3&

..

..

With above, nothing printed for street.

Could you please point me out where did i code wrong?

Or we can not pass street2/3/4 to STREET?

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
5 REPLIES 5
Read only

Former Member
Read only

0 Likes
606

Hi Shiva,

Thanks for your reply. However the url link that you recommended doesn't relavant to my problem.

Please advice.

Read only

0 Likes
606

Dear all,

FYI, i tried on below as well but it is still not picking the Street2/3/4

LOCATION &ADRC-STR_SUPPL1& , &ADRC-STR_SUPPL2& , &ADRC-STR_SUPPL3&

Please advice.

Read only

0 Likes
606

Hi,

To extract street2 onwards, you have to pass in FROMADDRESS alone. The reason is by passing address number is leading ADDRESS_INTO_PRINTFORM to read from ADRC table.

Thanks.

Read only

0 Likes
606

Thanks i got that solve.