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

Issue in ADDRESS/ENDADDRESS in script

Former Member
0 Likes
833

Hi Experts,

The delivery address is getting printed in my Script. Please find the below code for it.

ADDRESS DELIVERY PARAGRAPH AS

TITLE &SADR-ANRED&

NAME &SADR-NAME1&, &SADR-NAME2&, &SADR-NAME3&, &SADR-NAME4&

STREET &SADR-STRAS&

CITY &SADR-ORT01&, &SADR-ORT02&

POSTCODE &SADR-PSTLZ&

COUNTRY &SADR-LAND1&

REGION &SADR-REGIO&

FROMCOUNTRY &LFA1-LAND1&

ENDADDRESS

It's printing Street1 now, my requirement is to add Street2 and Street3 to this address.

Please help me.

Thanks in advance.

Regards,

Priyabrata

5 REPLIES 5
Read only

Former Member
0 Likes
787

Hi,

To reach your requirement, Rather then using ADDRESS and ENDADDRESS, Use the general format like TITLE &SADR-ANRED&

NAME &SADR-NAME1&, &SADR-NAME2&, &SADR-NAME3&, &SADR-NAME4&

STREET &SADR-STRAS&

CITY &SADR-ORT01&, &SADR-ORT02&

POSTCODE &SADR-PSTLZ&

COUNTRY &SADR-LAND1&

REGION &SADR-REGIO&

FROMCOUNTRY &LFA1-LAND1&. But to get the street2 and street3 use the table ADRC, with logic SADR-ADRNR = ADRC-ADDRNUMBER. You will get the solution.

Regards

Hari reddy

Read only

0 Likes
787

Hi Hari,

Thanks for your reply. Can you please tell me which fields can be used from table ADRC for STREET2 and STREET3. When i checked for STREET (STRAS) i did not get in this table.

Regards,

Priyabrata

Read only

0 Likes
787

Hi,

IN ADRC table the field name is STR_SUPPL1, STR_SUPPL2, STR_SUPPL3 for street2 street3 etc.

Hope this helps

Read only

0 Likes
787

Thanks a lot. i got my issue solved.

Read only

Former Member
0 Likes
787

Thanks for reply. I issue got solved, but in some other way.