Skip to Content

Unable to update custom fields in MARA Table

Hi team,

I have already added four fields in MARA through append structure.I also done screen enhancement in MM01/MM02/MM03 tcodes through SPRO with these four custom fields.

Here in the custom created subs screen i have used MARA_GET_SUB to retrieve original values and MARA_SET_SUB to set our custom data in fields as well as for standard fields of MARA in this PAI event of SUB SCREEN.

In this process i am able to create new records with the standard data.

But while I am updating value through MM02 the custom fields value are not updating in DB , when i set in MARA_SET_SUB instead it is working fine for other standard fields.

I do not want to do Modify/Update statement in directly to MARA table.

Can you any body please guide me how to resolve the problem so that i can update custom fields value in MARA.

Thanks in Advance.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 12, 2015 at 09:24 AM


    Use BAPI_MATERIAL_SAVEDATA in PAI check Sy-UCOMM = ''BU' "Save



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2015 at 10:02 AM

    Hi Aisurya,

    Did you assign an appropriate maintenance status (Like 'L' for storage, 'E' for purchasing etc.) to the data screen?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.