‎2006 Jun 08 5:45 PM
Hi !
I used the BAPI_GOODSMVT_CREATE and i got the following
error :
"Enter a sales order for special stock E"
The parameters i export for the bapi are :
LS_GOODSMVT_ITEM-MATERIAL = LS_LIPS-MATNR.
LS_GOODSMVT_ITEM-PLANT = LS_LIPS-WERKS.
LS_GOODSMVT_ITEM-STGE_LOC = LS_LIPS-LGORT.
LS_GOODSMVT_ITEM-BATCH = LS_LIPS-CHARG.
LS_GOODSMVT_ITEM-MOVE_TYPE = '411'.
LS_GOODSMVT_ITEM-SPEC_STOCK = LS_MSKA-SOBKZ.
LS_GOODSMVT_ITEM-SALES_ORD = LS_LIPS-VGBEL.
LS_GOODSMVT_ITEM-S_ORD_ITEM = LS_LIPS-VGPOS.
LS_GOODSMVT_ITEM-QUANTITY = LS_MSKA-KALAB.
LS_GOODSMVT_ITEM-ENTRY_QNT = LS_MSKA-KALAB.
LS_GOODSMVT_ITEM-BASE_UOM = LS_LIPS-MEINS.
S_GOODSMVT_HEADER-PSTNG_DATE = SY-DATUM.
S_GOODSMVT_HEADER-DOC_DATE = SY-DATUM.
S_GOODSMVT_HEADER-PR_UNAME = SY-UNAME.
CONCATENATE 'AUTO.CREATED W/TRAN '
SY-TCODE
INTO LS_GOODSMVT_HEADER-HEADER_TXT
LS_GOODSMVT_CODE-GM_Code = '04'.
As we can see i transferred the sales order to the bapi.
So what is the problem ? How can i fix the problem ?
where can i find more detail explanation about the problem ?
thnks
moshe
‎2006 Jun 08 5:48 PM
<b>"Enter a sales order for special stock E"</b>
<b>LS_GOODSMVT_ITEM-SALES_ORD = LS_LIPS-VGBEL.
LS_GOODSMVT_ITEM-S_ORD_ITEM = LS_LIPS-VGPOS.</b>
pl..make sure above filds have values.
Thanks
SK
‎2006 Jun 11 8:20 AM
Hi Saquib !
First thanks for the answer.
The following fields:
LS_GOODSMVT_ITEM-SALES_ORD = LS_LIPS-VGBEL.
LS_GOODSMVT_ITEM-S_ORD_ITEM = LS_LIPS-VGPOS.
have values and although i get the error mesage
"Enter a sales order for special stock E"
Please tell me how else can i solve the error ?
thanks
moshe
‎2006 Sep 05 5:57 AM
Hi,
I am also facing the same problem in 413 'E' in Bapi_goodsmvt_create.
Please share your knowledge on this.
How to solve this issue.
Expecting your reply.
Thanks
Shankar
‎2006 Sep 05 6:02 AM
Hi !
Also try the fields
VAL_SALES_ORD
and
VAL_S_ORD_ITEM
for BWA 413
Regards
Rainer
‎2006 Jun 08 5:58 PM
Keep a Break point at that line and check if values of the sales order and item are really populated.
Regards,
Ravi
‎2006 Jun 12 5:36 AM
Hi !
I think you should use the fields:
VAL_SALES_ORD
and
VAL_S_ORD_ITEM
for BWA 411
Regards
Rainer
Some points would be fine if that helped....