2006 Jul 12 6:09 PM
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.
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.
2006 Jul 12 6:12 PM
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
2006 Jul 12 6:15 PM
2006 Jul 12 6:19 PM
HI,
ADRC table will be having the address here you need to pass the Delivery Address No
Thaks
Sudheer
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |