‎2009 Apr 17 6:29 AM
Hi, Experts
I am writing a program to use BAPI_GOODSMVT_CREATE implementing Goods movement for production order which is binding to the sales order.
Accord our MM consultants opinion I should use the Movement Indicator as 'L'.
But after I entered all the parameters into the bapi it reply the message as below:
RE Quantity moved exceeded by 2 PAA : 1F00300600000 2100 2103 ZZZZ E
msg ID: M7
msg NO: 022
Below is my parameters,Is there any error with my parameters?
MATERIAL 1F00300600000
PLANT 2100
STGE_LOC 2103
MOVE_TYPE 261
SPEC_STOCK E
SALES_ORD 2100000028
S_ORD_ITEM 000010
ENTRY_QNT 1.000
ENTRY_UOM PAA
ORDERID 20000030
ORDER_ITNO 0000
RESERV_NO 0000000434
RES_ITEM 0006
MVT_IND L
VAL_SALES_ORD 2100000028
VAL_S_ORD_ITEM 000010
‎2009 Apr 17 7:01 AM
‎2009 Apr 17 7:38 AM
Excuse me
Do you have sample code for the function MB1A by using this BAPI?
‎2009 Apr 17 8:08 AM
‎2009 Apr 17 8:21 AM
Excuse me
I have already input all the parameter refer to that link. But I still need to bind those materials to the RESERV_NO and RESERV_ITEM. But as I input the RESERV_NO the system post me this error message: RE Quantity moved exceeded by 2 PAA : 1F00300600000 2100 2103 ZZZZ E
Is there still some parameters I should input? Or is there possible any parameters I input incorrectly?
Thank you very much
‎2009 Apr 17 8:41 AM
‎2009 Apr 17 9:00 AM
Excuse me
But our MM comsultant has only config the L Movement indicator for the movement type 261.
Is there any error?
It seems F is for the goods movement of product but not stuff? Is that right?
‎2009 Apr 17 9:06 AM
Hello
Read help for BAPI_GOODSMVT_CREATE:
Entering the movement indicator
Depending on the transaction, you must enter the following in the movement indicator:
GM_Code 01 (Goods receipt for purchase order): B
GM_Code 02 (Goods receipt for production order): F
For all other transactions, you leave the field blank.