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

BAPI for MM02

Hi,

I want to upload material no,plant, configurable material and i have to configure the varient.Here, i have to assign characteristic values through transaction 'MM02'.I need the BAPI for this.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 09:49 AM

    Hi Vishal,

    You can use FM MATERIAL_MAINTAIN_DARK to do the job.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Vishal,

      For setting the configuration values you should use the tables AE1CUCFG_UEB, AE1CUINS_UEB, AE1CUVAL_UEB and AE1CUCOM_UEB.

      To have an idea of how to fill the parameters you could create a material manually and then send a MATMAS IDoc from it to a dummy partner. The segments filled in the IDoc pretty much resemble the values to be used for the FM.

      Regards,

      John.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 09:49 AM

    use

    BAPI_MATERIAL_SAVEDATA

    Thanks and Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2007 at 10:11 AM

    Hi,

    To allocate a Classification & assign characteristic values to the class, you have to use BAPI: BAPI_OBJCL_CREATE.

    Hope this helps. Murugesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:24 AM

    Hi,

    To update the material through MM02 through "material_maintain_dark" func module, you have to pass the names of the fields which need to be updated and it's corresponding values into the AMFIELDRES structure which should be used in the func. module.

    The usage of this is very critical. The field names and the values can be passed by using the field-symbols.

    Reward points if helpful.

    Thanks,

    Archana

    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.