2014 May 05 7:16 AM
Hello,
I am updating mara, marc append structure zfields using BAPI_MATERIAL_MAINTAINDATA_RT.
I am using function value as 004. Value is not getting updated to material master.
function = '004'
material = matnr value
plant = plant value
field1 = value of z field.
Please help me in using field1 to update z fields.
Thanks
2014 May 05 7:46 AM
hi Manigandan
You still need implement user-exit EXIT_SAPL1001_003.
There are same thread in SCN, refer thishttps://scn.sap.com/thread/418244
regards,
Archer
2014 May 05 7:45 AM
Hello Mani,
Use the exit EXIT_SAPL1001_003 to update zzfileds. Please read the documentation of FM EXIT_SAPL1001_003.
Thanks
2014 May 05 7:46 AM
hi Manigandan
You still need implement user-exit EXIT_SAPL1001_003.
There are same thread in SCN, refer thishttps://scn.sap.com/thread/418244
regards,
Archer
2014 May 05 9:40 AM
Hi,
Thanks for your answers. Please help on issues.
I have only numeric field in ZMARC append structure. I need upload file values to MARC append structure . No ALE.
Calling BAPI in Z program with below values.
ls_headdata-material = l_matnr “Please update if any other fields needs to be updated.
ls_plantext-function = ‘004’.
ls_plantext-material = ls_plant-matnr.
ls_plantext-field1+0(20) = ‘10’ “ Please update how to use field1 in case of only numeric fields
APPEND ls_plantext TO lt_plantext
ls_plantextx-function = ‘004’.
ls_plantextx-material = ls_plant-matnr.
ls_plantextx-field1+0(1) = ‘X’. “Correct??
APPEND ls_plantextx TO lt_plantextx.
Calling BAPI
CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
EXPORTING
HEADDATA = ls_headdata
IMPORTING
RETURN = ls_return
TABLES
PLANTEXT = lt_plantext
PLANTEXTX = lt_plantextx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Created SMOD project as well, but breakpoint in user exit EXIT_SAPL1001_003 is not getting stopped.
Please help on issues.
2014 Dec 08 7:53 AM
Hi all,
I have the same requirement MM46 custom field ( with out ALE ) which would updates MARA - custom field value.
First step - Created custom field ( MARA-ZZXXX ) by using OMS9 trasaction for MM46 mass maintenance screen.
Second step - Created CMOD Z project.
In this step I got some confusion about writing the code for my Z field, Here I have found 2 include programs under EXIT_SAPL1001_003 exit
1. INCLUDE LXMGVF07 - In this include program I tried to create enhancement ( to write the code for my Z field by using WHEN C_PARNAM_CLIENTEXT ), but program is not allowing me to create enhancement / to change the include program.
System is giving " Changes to LXMGVF07 are forbidden by SAP"
2. If you double click on EXIT_SAPL1001_003 exit , here I have found INCLUDE ZXMGVU07.
In this include program I put break point, but this break point is not getting triggering / stopping.
Please help me on this