06-22-2010 11:33 AM
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.
06-22-2010 11: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
06-22-2010 11:46 AM
Thanks for your reply Vinod...
Well.. I am calling this BAPI from Netweaver MII and I just see the request and response tags to which I pass the required values to BAPI request fields.
I am not sure how to call this FM which you are refering to, can you please elobrate a bit or is there any guide I am refer to?
06-22-2010 11:52 AM
Hi srinivas,
I don't know how to call this function module in Netweaver MII. This function module will add additional zeros (0) to the starting of material number so that total length of material number is 18 characters.
Regards
Vinod
06-22-2010 12:16 PM
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