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

STANDARD SAP SCRIPT FOR RETURN ORDER

Former Member
0 Likes
395

Hi All,

The standard form using return order in MIGO is WESCHEINVERS3.

My requirement is to modify the standard script as follows,

1. the Ship to address should be printed Which is same as the vendor's address(Vendor number & name is already in standard, which is taken from structure)

How to fetch the vendor address? which table & field should be used? Is it possible to use select query in Script itself?

As it is standard, I cannot make any changes in standard program SAPM07DR.

1 REPLY 1
Read only

Former Member
0 Likes
362

Hi,

To fetch the vendor address please follow the below steps:

  • If you are getting the vendor number already from the standard, then directly go to LFA1 table, put the vendor number, then get the Vendor address number from LFA1-ADRNR field, then go to ADRC table, put the vendor address number in ADRC-ADDRNUMBER field, after that you will get all the address details of that particular vendor.

For fetching the data, you can copy the standard program and then make changes.

But if you want to use the standard only, they to fetch the address please refer the below link:

http://scn.sap.com/thread/208081

Regards,

Gourav