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

Importing AUFNR value from the Tcode IW32

martinlydia
Explorer
0 Likes
1,971

Hi all,

I have a requirement for shop finding report (Repairs ) to import the order number (AUFNR) from the transaction 1w32.

Can someone please tell me how to do that using the memory id .

Thanks in advance

Lydia Martin

1 ACCEPTED SOLUTION
Read only

aoyang
Contributor
0 Likes
1,800

The parameter ID for order number in IW32 is 'ANR'. Use below code in your report. In LV_AURNR stores the most recent order number you displayed in IW32. You have to display a order in IW32 first and then the code will get the value.

DATA:LV_AUFNR  TYPE AUFNR.
GET PARAMETER ID 'ANR' FIELD LV_AUFNR.

Hi all,

I have a requirement for shop finding report (Repairs ) to import the order number (AUFNR) from the transaction 1w32.

Can someone please tell me how to do that using the memory id .

Thanks in advance

Lydia Martin

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
1,800

Execute transaction IW32 or IW31, click on order number field and press F1, then click on technical information, you get the Parameter Id to use.

Read only

aoyang
Contributor
0 Likes
1,801

The parameter ID for order number in IW32 is 'ANR'. Use below code in your report. In LV_AURNR stores the most recent order number you displayed in IW32. You have to display a order in IW32 first and then the code will get the value.

DATA:LV_AUFNR  TYPE AUFNR.
GET PARAMETER ID 'ANR' FIELD LV_AUFNR.