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

Uploading Custom fields Via LSMW.

Hi ABAP Gurus,

we are using LSMW for uploading the Materal master data, But we are having a Z(custom) field which is not being updated in the Table level. And this field is Appended in the standard can any one pls suggest me how to upload custom fields via LSMW.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 14, 2011 at 02:55 AM

    If you use BAPI to upload LMSW then the method BUS1001006-SAVEDATA can be used. The Z fields are to be defined in customer append structure. For Material header MARA these are BAPI_TE_MARA and BAPI_TE_MARAX. After this the Z fields can be mapped from LSMW into the BAPI segments E1BPPAREX and E1BPPAREXX. In field STRUCTURE should be the name of your extension segment. Here BAPI_TE_MARA and BAPI_TE_MARAX. In field VALUEPART1, 2, .. should be the complete structure BAPI_TE_MARA(X).

    If you use IDOC to ulpoad LSMW then the IDOC MATMAS05 can be used. To upload additional Z fields an extension IDOC with your additional Z fiellds in extension segments should be created. To process these Z fields a BADI is to be used like BADI_MATMAS_ALE_IN.

    Regards Jack

    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.