Skip to Content
avatar image
Former Member

BAPI_GOODSMVT_CREATE Error - The material does not exist or is not activatd

Scenario is to make a Goods Receipt on a material which is being imported from external sources.

There is a purchase order created for this already in SAP.

From MII we are using standard BAPI - BAPI_GOODSMVT_CREATE and passing the fields below:

GM_Code - 01 since it is a goods receipt

Psting_date - current date

Material - material code given by SAP

Plant - Plant code on which GR takes place.

Move_type - 101 because it is a GR

Entry_Qnt - 1

PO_number - Purchase order which is created in SAP

When I pass these details to the standard BAPI I get a return message - " The material 10xxxxxxxx does not exist or is not activated"

Not sure where I am going wrong.

Any help is highly appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 22, 2010 at 10:39 AM

    Hi,

    Use the conversion exit of MATNR(Function module :CONVERSION_EXIT_MATN1_INPUT) to convert the data in SAP format, then use it in BAPI.

    Regards

    Vinod

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      1. Check the material number in table:MARA.

      If YES.

      2. check purchasing view, is there any option or check box to get it acivated ...etc like that

      --

      Reddy