Skip to Content
author's profile photo Former Member
Former Member

MATMAS_BAPI Inbound Customer Exit

Hi all,

I've customer fields in MARA. Now i want to create material master in LSMW with idoc(Message type MATMAS-BAPI) So i've created my own basic type with copy of MATMAS_BAPI01 and i added my customer fields in this basic type. I fill these customer fields in idoc segments. But i can't write these customer field values on database. Some of my friend have said i had to use MATMAS_BAPI's inbound function customer exit to fill MARA structure while idoc attempt to write customer fields on database. Anyone knows this enhancement name? Or is there any other way to solve this problem?

Best Regards


MM Consultant


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2008 at 11:55 AM


    check out this procedure

    1)   extend the MARA tabel with an append structure with own fields.
    2)   create a idoc segment ZE1MARAM with the new fields
    3)   create the extension MATMAS03 (basic type MATMAS03) and extended
    it with the new segment ZE1MARAM
    4)   made a project with enhancement MGV00001 with component
          EXIT_SAPLMV02_002 and activat it.
    5) for this userexit develop the abap ZXMGVU04 to read the
    idoc-segment ZE1MARAM and 'put in into the mara-table'

    The source code to  use   is :

    Process the IDOC and check the MARA table values...

    Hope this would help you..


    Narin Nandivada

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Firstly Thanks for your reply.

      I created segment with my customer fields and i assigned this segment to newly created MATMAS03 extension. and i assign this extension to MATMAS03 basic type. But i when i open MATMAS03 basic type from WE30, i can't see my newly assigned segment. Must i see this segment from WE30? Also I can't see my customer fields in LSMW

      Best Regards,

      Fırat KAYIRAN

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.