2013 Jan 09 7:02 AM
Hi Experts,
I am doing a program for updating additional z fields in mm02 t-code for mara table by using BAPI. The additional fields is been extended in MARA table. In this program firstly i am display material details and given check box based on check box selection while saving i had use bapi so that the updation should get directly on table. While using BAPI i had use structure BAPI_TE_MARA and BAPI_TE_MARAX and for extension BAPIPAREX , BAPIPAREXX and BAPIRETURN. I also extended the same additional field structure in BAPI_TE_MARA and BAPI_TE_MARAX.
In this i had use function module 'BAPI_MATERIAL_SAVEDATA' . I pass exporting as BAPIMATHEAD, BAPI_MARA, BAPI_MARAX and importing BAPIRETURN and tables EXTENSIONIN, EXTENSIONXX.
Here program in not giving any error but the data in not getting updated in table.
Can anyone please help me to sort out this issue.
Thanks In Advance,
Ashish
2013 Jan 09 7:09 AM
2013 Jan 09 7:46 AM
hi,
find out your bapi structure i mean to which table you want to add and append structure to add zfield to bapi and use the bapi.
hope it helps,
Vinoth
2013 Jan 09 8:08 AM
Hi ,
Check dis Note :
Note 914251 - BAPI_MATERIAL_SAVEDATA with user-defined fields for MARA
Regard's
Smruti..
2013 Jan 09 8:20 AM
Hi,
Check sap notes 958143 also.
Check Table T130F through OMSR t-code by updating Field group
with BAPI_MATERIAL_SAVEDATA .
Use COMMIT Also,after that bapi.
Lastly check this thread
http://scn.sap.com/message/5158195#5158195
All the best.
Thanks
Gourav.
2013 Jan 09 8:42 AM
Hi Ashish,
i had the same problem. Look into table/View V_130F if the fields you
will be update are in this table.
You can also try tcode OMSR.
Regards, Dieter
2013 Jan 09 8:42 AM
Hi
Check also if the adtional field is a non character-type field.
Regards
Eduardo
2013 Jan 29 9:30 AM
Hi Ashish,
There is a particular way to right the code for zz fields. can u share the piece of code. there might be something wrong with the same.
Thanks
Gaurav Guglani