Application Development 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: 

Delivery address table...

Former Member
0 Kudos

Hi,

I am working on purcahse order smartforms.

We have two addresses in it.

One is Plant address and one is delivery address.

For plant address, I just fetch the WERKS from EKPO table based on PO number and then use t001 for getting the plant address.

But how do I fetch the delivery address ? Please help what tables or function module do I use ?

Thanks.

Regards,

Tushar.

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This is how it is defined in the sapscript. Not sure if it can be done the same in smartforms.



/:   ADDRESS DELIVERY PARAGRAPH ZI LINES 5                                 
/:     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                                                                                

Looks like the print program will get the delivery address from SADR. You will need to get the ADRNR(mayber from T001w) and hit the SADR with ADRNR.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi

You can delivery address from ADRC TABLE.

Former Member
0 Kudos

HI,

ADRC table will be having the address here you need to pass the Delivery Address No

Thaks

Sudheer