01-19-2022 6:35 AM
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
01-19-2022 3:10 PM
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.
01-19-2022 2:21 PM
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.
01-19-2022 3:10 PM
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.