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

BAPI_MATERIAL_SAVEDATA - BAPI_MARA-NET_WEIGHT

Hello everyone,

I want to create new material with BAPI_MATERIAL_SAVEDATA. When I'm using mm01 I'm not entering NTGEW,PRDHA,GEWEI fields. But when fm calling it's throwing these fields are required fields. How can i do it that?

The field MARA-NTGEW/BAPI_MARA-NET_WEIGHT is defined as a required field; it does not contain an entry

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2013 at 12:41 PM

    Hello everyone,

    I solved that problem but have new one 😊. The FM is throwing the following error. Any idea?

    ERROR

    First create the valuation-type-independent data

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I hope you check once Variable Mapping is wrong , you are trying to assign Valuation Category to Valuation Type of BAPI Parameter .

      valuationdata-val_type " Valuation Type


      bwtty "Valuation Category


      check with below code ...

      valuationdata-val_area = tm_data-werks. "1002

      valuationdata-VAL_CAT = tm_data-bwtty. " B

      valuationdatax-val_area = tm_data-werks. "1002

      valuationdatax-VAL_CAT = tm_data-bwtty. " X

      Regard's

      Smruti


  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2013 at 10:14 AM

    Hi Ahmet,

    Create a material using MM01 and Check in MARA Table , is above fields having some default value to the respective material number and material type.

    Which material type you are create using BAPI and MM01 T-code ?

    or is any BADI Implemented like "BADI_MATERIAL_CHECK " for above field ?

    Regard's

    Smruti

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2013 at 10:08 AM

    Hi Ahmet Pelit,

    It a quantity field, if you don't require this field pass 0.00 and upload.

    Regards/Ali

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2013 at 06:06 AM

    I solved with your help, thank you for helping.

    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.