Skip to Content
0
Nov 12, 2012 at 02:02 PM

MM01/MM02/MM03 - screen exit - "GET PARAMETER ID 'WRK'" doesn't work.

620 Views

Hi guys,

I'm implementing a Screen Exit on MM01/MM02/MM03 and I'm trying to get the value from the field MARC-WERKS using the commands below:

DATA: w_matnr_aux TYPE mara-matnr,

w_werks TYPE marc-werks,

w_marc TYPE marc.

GET PARAMETER ID 'MAT' FIELD w_matnr_aux.
GET PARAMETER ID 'WRK' FIELD w_werks.

So, when I access the MM02 transaction to change the Material Data the ID 'WRK' is empty, but I can get the MATNR using the ID 'MAT'.

How can I get the value from WERKS???

Please, could somebody help me???

Thanks a lot!!

Regards,

Marcos Fernando Dotta