‎2006 Jun 19 9:00 AM
hai to all,
this regarding ME21N
my senario is creation of stock transfer order . based on the storage location entered on order i have to fetch the address of the corresponding storage location and print on the consignee window in the form
how to proceed.
regards
vijay
‎2006 Jun 19 9:10 AM
The storage will have a ADDRESS NUMBER (ADRNR) in the master table, get that and use the ADDRESS command of the SAP SCRIPT and pass the ADRNR to it.
Regards,
Ravi
Note : Please mark the helpful answers
‎2006 Jun 19 9:13 AM
1)select LGORT from mard.
2)now from TWLAD u can select ADRNR(Address number) for perticular lgort .
3)now u can calculate address from table ADRC for perticular ADRNR.
if u have the address number(adrnr) in t he driver program, when u use 'FM WRITE_FORM, it automatically passes to the sapscript..then u can use
/: ADDRESS PARAGRAPH AS
/: ADDRESSNUMBER &ADRNR(K)&
....
.....
....
/: FROMCOUNTRY IN
/: ENDADDRESS
NOW UR PROBLEM SOLVED .
PLZ AWARDED POINTS....