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

REG SCRIPTS

Former Member
0 Likes
407

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

2 REPLIES 2
Read only

Former Member
0 Likes
370

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

Read only

0 Likes
370

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....