Goods movements
Hi,
I am having an issue with goods movements.when two people are trying to post goods at the same time one of them is getting an error saysing that the plant data info is blocked by XXXXXXX user. this is happening for the confirmation process. In my business process 20 people will be doing confirmations at the same time. so I am having this problem quiet often. how to over come this.
I know we can set a background job to post all goods moements ( OPKC) but those scenarios dont work for my business process.
is there any way to queue thise movements instead of all happening at the same time.
Hi
I think this question was raised earlier also. The best way is to allot a fixed time slot for your users so as to avoid clash. I suppose i explained that the master data of any material is stored at one place only and if you schedule a background job for this then all your good movement transaction will be in que and performed in orderly manner.
If automatic posting is not possible then use the time slot method.
Krishna
Similar Messages
-
COGI : how to display the time of a goods movement?
Hello,
through COGI, I get the good movements with error per material.
When I open the errors list for a material, I get the posting date for each good movements but not the time!
Could you please let me know how to do for displaying error time or posting time in this screen?
Thank you for your help!
FrançoisDeleted
-
Confirmation of process order create : goods movement
Dear Sir/Madam ,
I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
i have already searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
thanks and regards ,
arunHi,
I believe you would need to append the below line for your code for goods movement.
wa_timetickets-order_itno = p_itno. " Order item nos.
Check & revert if it resolves the issue.
Regards,
Vivek -
Confirmation of Production Order without all Goods Movements
Hello experts!
I've tried to do a confirmation of one material that had only one level BOM with one material, but, when I try to do the Goods Movement in CO15, only the component appears. To another materials the goods movements was done for the two materials.
I've changed routing, BOM, material record... but I didn't have success.
Any ideas?
Regards,
Rodrigo.Dear
You might have kept Backflashing Indicator -1 in MRP2 view and while doing CO15-In goods movement tab -You will find BOM compoenets with movement type -261 .But your requirement is to carry out the Auto GR-101 while confirmation posting .
Please do the following :
1.Goto -OPJK-Define Production Scheduling Profile -Here for that scheuling profile which have been assinged in Work Scheduling view -Mark the Auto GR active .
2.In the routing or in the Production Order -Operation Overview screen -Goto Operation Details -Slect the last operation -Assing the Operation Control Key which has Auto GR active like SAP Stanrda PP03 .Please check in OPJ8-Slect the Operation Control key -Hit the details information -Check the Auto GR Marked .Based on this while you will do CO15 , GR-101 (MIGO-101) will happen .
Hope it helps
Regards
JH -
Goods movement with serial numbers
Hi,
1. Is there any report or table where I can see goods movement of material with their serial numbers?
2. Also in MMBE i can see 'On order stock'. I know this is PO open PO quantity.
Now this open PO qty will not be there against any storage location. I got some stock on this status in some storage location.
How I can move to 'unrestricted stock' status?
Please advice.Hi
Check these tables,
SER00 General Header Table for Serial Number Management
SER01 Document Header for Serial Numbers for Delivery
SER02 Document Header for Serial Nos for Maint.Contract (SD Order)
SER03 Document Header for Serial Numbers for Goods Movements
SER04 Document Header for Serial Numbers for Inspection Lot
SER05 Document Header for Serial Numbers for PP Order
SER06 Document Header for Serial Numbers for Handling Unit-Content
SER07 Document Header for Serial Numbers in Physical Inventory
And in order to move On Order stock to Unrestricted you need to close those POs by doing GR.
Hope it helps
Rgds
ramesh -
Goods movements of material with serial numbers
Hi,
1. Is there any report or table where I can see goods movement of material with their serial numbers?
2. Also in MMBE i can see 'On order stock'. I know this is PO open PO quantity.
Now this open PO qty will not be there against any storage location. I got some stock on this status in some storage location.
How I can move to 'unrestricted stock' status?
Please advice.Hi,
Is Serial number is the one obtained thro stadard batch management or is it a Zfield.
On Order stock cannot be converted to unrestircted stock unless a GR is made.
With regards,
Jeeva -
LAST GOODS MOVEMENT DATE wise report
Hi MM Experts
Is there any report through which we can find LAST GOODS MOVEMENT DATE ( goods receipt , issue date ).
i have tried MC.2 but in this report material , plant and sloc description is coming , i want code so that we can understand easily.
regards
anubhavHi,
To get the plant, material code with description in MC.2 transaction.
Please following below steps:
on output screen >>>
settings >> Characteriastics display >>> select key and description or only Key.
Regards,
Shailesh Mackwan -
Goods Movement Status B in Delivery Header & C in Delivery Item???
Hi Frens,
I have created a delivery document whose Goods Movement Status is B in delivery Header and C in Delivery Item.
Can anyone explain, why it happened like this??
Regards,
CKHi
It may be due to some inconsistency. Please run the report RVDELSTA from SE38 to solve the status issue
regards,
Ramana -
Goods Movement and Billing status at header level
Hello,
Im new to this topic and have some very basic questions
Will WBSTK field be updated with goods movement status for a given sales order number in VBUK table ?
Similarly, will FKSTK/FKSTK or BUCHK will be updated with billing status ?
I know that for a given delivery document number, I can track the status at the item level.
But my aim is to know the overall goods movement and billing status at the order header level.
Any clues will be of great help.
Thanking you in advance.
Regards,
PreethiHi Preethi,
A sales order does not determine a billing status for delivery related billing, field VBUK-FKSTK is only determined for delivey.
Just because of this, you will not find billing status field in VA03 -> goto header;
you could only find billing status field for delivery in VL03N -> status overview.
Best regards,
Crystal Lin -
Tracking Goods movement based on Serial Number
Hi All,
I need expert advise on the following regarding the usage of Serial numbers from MM Perspective:
1. Whether the Number range for Serial Numbers can be given. This is to take care of the Goods bearing serial numbers, being delivered by the external vendor. I have two options: one to update the stock with the same serial number as given by the vendor & the second is to generate my own serial number for the material.
2. I also need to track the complete Goods movement based on the Serial Number of the material.
Pls advise asap.
Regards,
Shekhar.Hi Kishore,
Thnx for your prompt response.
As requested, If I need to update the stock and want to continue with the serial number as given by the vendor (may be in the form of barcode), what config settings are reqd ?
Secondly, pls advise whether we can assign Number range to the Serial Numbers. Then we need to work upon situation where the serial number provided by the vendor is beyond the specified number range.
Pls advise. -
Goods receipt inbound delivery using old goods movement transactions
Hi! I have a client who is still using the old goods movement transactions in the new ECC system. I would like to confirm whether it is possible at all to receipt inbound delivery (from shipping notification) using any of the old goods movement transactions? I don't seem to be able to find one that work.
Cheers!
SFYes, does anyone have any idea re this?
Cheers!
SF -
Creation of Excise Invoice J1iin without goods movement (against PV Bills)
Dear Expert,
Could you please explain how to create an Excise Invoice j1iin, in one scenario where goods movement does not take place.
I am creating a sales order with a service material called price variation and billing it through VF01. Now on the basis of this invoice, i need to create an excise invoice either manually or automatically. Please advise urgently.
thanks.HI
As per std SAP you can not create the Excise invoice without any goods movement as said above.
However, if the excise authourities ask for the excise invoice for sevice items with the declared number ranges(say 70000001- 700009999) then, you can assign this number range to the service billing type in VN01 for this service billing type.
Hence, when u create the service invoice (commercial invoice) it will generate the invoice number with the number 70000001 as declard to the excise authourities. Also you can take the print out of this with the reqd number..
P.S: Nevertheles, You are not going to take any credit against this service invoice as it does not ahve any goods movements.
Hope this helps.
Reg,
JJ -
BAPI_GOODSMVT_CREATE: Transport Order Goods Movements
Hi
I have a transport order (move material from plant A to plant B) and a outbound delivery already created on SAP.
From xMII using FMu2019s o BAPIu2019s I need to update the picking and also confirm the outbound delivery in order to register the goods movement, the good movement that I need to create itu2019s 641 type.
We are using quite well the BAPI_GOODSMVT_CREATE to move materials for Purchase Orders and Process Orders, but with movement type 641 I always get the following error message u201CGoods movement not possible with mvmt type 641u201D; so I began to search on the SAP SDN about this.
Is there another BAPI for create a 641 movement?
What are the BAPI or FM that I need to use?
Any help?
Best Regards and Thanks in advanceFinally I've managed to create movement type 641...
Let explain how:
First its to update the outbound delivery using the BAPI_OUTB_DELIVERY_CHANGE where you can assign a storage location for a position, the delivered quantity, net weight, gross weigth, volume and also conversion factor between units of measure.
The we need to do the picking and the post good issue (PGI) by WS_DELIVERY_UPDATE where you define the picking qty, date and time for the post good issue, etc. This is the one that creates a movement 641.
Here you can see an example of the two BAPI/FM request that you need:
<?xml version="1.0" encoding="UTF-8"?>
<BAPI_OUTB_DELIVERY_CHANGE>
<INPUT>
<DELIVERY></DELIVERY>
<HEADER_CONTROL>
<DELIV_NUMB></DELIV_NUMB>
<GROSS_WT_FLG/>
<NET_WT_FLG/>
<VOLUME_FLG/>
<DELIV_DATE_FLG/>
<DOCK_FLG/>
<DLV_DEL/>
<INCO1_FLG/>
<INCO2_FLG/>
<ROUTE_FLG/>
<SHIP_COND_FLG/>
<DLV_PRIO_FLG/>
<UNLOAD_PT_FLG/>
<PICK_DATE_FLG/>
<TRSP_DATE_FLG/>
<LOAD_DATE_FLG/>
<GDSI_DATE_FLG/>
<SIMULATE/>
<NO_LOCK/>
<SPLIT_DONE_FLG/>
<DLV_BLOCK_FLG/>
<DLV_CHANGE_OFF/>
</HEADER_CONTROL>
<HEADER_CONTROL_SPL>
<SENDER_METHOD/>
<DELIV_NUMB></DELIV_NUMB>
<GEOROUTE_FLG/>
<BOP_GUID/>
<INITIATOR_PROCESS/>
</HEADER_CONTROL_SPL>
<HEADER_DATA>
<DELIV_NUMB>2030000016</DELIV_NUMB>
<GROSS_WT/>
<NET_WEIGHT/>
<UNIT_OF_WT/>
<UNIT_OF_WT_ISO/>
<VOLUME/>
<VOLUMEUNIT/>
<VOLUMEUNIT_ISO/>
<DOOR/>
<INCOTERMS1/>
<INCOTERMS2/>
<ROUTE/>
<SHIP_COND/>
<DLV_PRIO/>
<UNLOAD_PT/>
<DLV_BLOCK/>
</HEADER_DATA>
<HEADER_DATA_SPL>
<DELIV_NUMB></DELIV_NUMB>
<GEOROUTE/>
</HEADER_DATA_SPL>
<SENDER_SYSTEM/>
<TECHN_CONTROL>
<DEBUG_FLG/>
<UPD_IND/>
<RECV_WHS_NO/>
<RECV_SYS/>
<DLV_TYPE/>
</TECHN_CONTROL>
</INPUT>
<TABLES>
<COLLECTIVE_CHANGE_ITEMS>
<item>
<DELIV_NUMB></DELIV_NUMB>
<DELIV_ITEM/>
<DLV_QTY_FROM/>
<BASE_UOM/>
<BASE_UOM_ISO/>
</item>
</COLLECTIVE_CHANGE_ITEMS>
<EXTENSION1>
<item>
<FIELD1/>
<FIELD2/>
<FIELD3/>
<FIELD4/>
</item>
</EXTENSION1>
<EXTENSION2>
<item>
<PARAM/>
<ROW/>
<FIELD/>
<VALUE/>
<TYPE/>
<LENGTH/>
</item>
</EXTENSION2>
<HEADER_DEADLINES>
<item>
<DELIV_NUMB></DELIV_NUMB>
<TIMETYPE/>
<TIMESTAMP_UTC/>
<TIMEZONE/>
</item>
</HEADER_DEADLINES>
<HEADER_PARTNER>
<item>
<UPD_MODE_PARTN/>
<DELIV_NUMB></DELIV_NUMB>
<ITM_NUMBER/>
<PARTN_ROLE/>
<PARTNER_NO/>
<ADDRESS_NO/>
<DESC_PARTN/>
<MANUAL_ADDR/>
<SCA_CODE/>
</item>
</HEADER_PARTNER>
<HEADER_PARTNER_ADDR>
<item>
<UPD_MODE_ADR/>
<ADDR_NO/>
<FORMOFADDR/>
<NAME/>
<NAME_2/>
<NAME_3/>
<NAME_4/>
<C_O_NAME/>
<CITY/>
<DISTRICT/>
<CITY_NO/>
<POSTL_COD1/>
<POSTL_COD2/>
<POSTL_COD3/>
<PO_BOX/>
<PO_BOX_CIT/>
<DELIV_DIS/>
<STREET/>
<STREET_NO/>
<STR_ABBR/>
<HOUSE_NO/>
<STR_SUPPL1/>
<STR_SUPPL2/>
<LOCATION/>
<BUILDING/>
<FLOOR/>
<ROOM_NO/>
<COUNTRY/>
<LANGU/>
<REGION/>
<SORT1/>
<SORT2/>
<TIME_ZONE/>
<TAXJURCODE/>
<ADR_NOTES/>
<COMM_TYPE/>
<TEL1_NUMBR/>
<TEL1_EXT/>
<FAX_NUMBER/>
<FAX_EXTENS/>
<STREET_LNG/>
<DISTRCT_NO/>
<CHCKSTATUS/>
<PBOXCIT_NO/>
<TRANSPZONE/>
<HOUSE_NO2/>
<E_MAIL/>
<STR_SUPPL3/>
<TITLE/>
<COUNTRYISO/>
<LANGU_ISO/>
<BUILD_LONG/>
<REGIOGROUP/>
<HOME_CITY/>
<HOMECITYNO/>
<PCODE1_EXT/>
<PCODE2_EXT/>
<PCODE3_EXT/>
<PO_W_O_NO/>
<PO_BOX_REG/>
<POBOX_CTRY/>
<PO_CTRYISO/>
<HOMEPAGE/>
<DONT_USE_S/>
<DONT_USE_P/>
</item>
</HEADER_PARTNER_ADDR>
<ITEM_CONTROL>
<item>
<DELIV_NUMB>2030000016</DELIV_NUMB>
<DELIV_ITEM>0010</DELIV_ITEM>
<CHG_DELQTY>X</CHG_DELQTY>
<DEL_ITEM/>
<VOLUME_FLG>X</VOLUME_FLG>
<NET_WT_FLG>X</NET_WT_FLG>
<GROSS_WT_FLG>X</GROSS_WT_FLG>
</item>
</ITEM_CONTROL>
<ITEM_DATA>
<item>
<DELIV_NUMB>2030000016</DELIV_NUMB>
<DELIV_ITEM>0010</DELIV_ITEM>
<MATERIAL>000000000211000001</MATERIAL>
<BATCH/>
<HIERARITEM/>
<USEHIERITM/>
<DLV_QTY>2</DLV_QTY>
<DLV_QTY_IMUNIT>2</DLV_QTY_IMUNIT>
<FACT_UNIT_NOM>2</FACT_UNIT_NOM>
<FACT_UNIT_DENOM>2</FACT_UNIT_DENOM>
<CONV_FACT>1</CONV_FACT>
<GROSS_WT>2000</GROSS_WT>
<NET_WEIGHT>2000</NET_WEIGHT>
<UNIT_OF_WT>KG</UNIT_OF_WT>
<UNIT_OF_WT_ISO>KG</UNIT_OF_WT_ISO>
<VOLUMEUNIT>M3</VOLUMEUNIT>
<VOLUMEUNIT_ISO/>
<SALES_UNIT>TO</SALES_UNIT>
<SALES_UNIT_ISO>TO</SALES_UNIT_ISO>
<BASE_UOM>TO</BASE_UOM>
<BASE_UOM_ISO>TO</BASE_UOM_ISO>
<DEL_QTY_FLO></DEL_QTY_FLO>
<DLV_QTY_ST_FLO></DLV_QTY_ST_FLO>
<STOCK_TYPE/>
<VAL_TYPE/>
<MATERIAL_EXTERNAL></MATERIAL_EXTERNAL>
<MATERIAL_GUID></MATERIAL_GUID>
<MATERIAL_VERSION/>
<INSPLOT/>
<VOLUME>2000</VOLUME>
</item>
</ITEM_DATA>
<ITEM_DATA_SPL>
<item>
<DELIV_NUMB>2030000016</DELIV_NUMB>
<DELIV_ITEM>0010</DELIV_ITEM>
<STGE_LOC>CT2A</STGE_LOC>
<PICK_DENIAL/>
</item>
</ITEM_DATA_SPL>
<ITEM_SERIAL_NO>
<item>
<DELIV_NUMB></DELIV_NUMB>
<ITM_NUMBER/>
<SERIALNO/>
</item>
</ITEM_SERIAL_NO>
<RETURN>
<item>
<TYPE/>
<ID/>
<NUMBER/>
<MESSAGE/>
<LOG_NO/>
<LOG_MSG_NO/>
<MESSAGE_V1/>
<MESSAGE_V2/>
<MESSAGE_V3/>
<MESSAGE_V4/>
<PARAMETER/>
<ROW/>
<FIELD/>
<SYSTEM/>
</item>
</RETURN>
<SUPPLIER_CONS_DATA>
<item>
<DELIV_NUMB></DELIV_NUMB>
<ITM_NUMBER/>
<SPEC_STOCK/>
<SP_STCK_NO/>
<REF_QTY/>
<BASE_UOM/>
<BASE_UOM_ISO/>
<DLV_QTY/>
<SALES_UNIT/>
<SALES_UNIT_ISO/>
</item>
</SUPPLIER_CONS_DATA>
<TOKENREFERENCE>
<item>
<TR_EXT/>
</item>
</TOKENREFERENCE>
</TABLES>
</BAPI_OUTB_DELIVERY_CHANGE>
<?xml version="1.0" encoding="UTF-8"?>
<WS_DELIVERY_UPDATE>
<INPUT>
<COMMIT>X</COMMIT>
<DELIVERY>2030000016</DELIVERY>
<IF_CONFIRM_CENTRAL> </IF_CONFIRM_CENTRAL>
<IF_DATABASE_UPDATE>1</IF_DATABASE_UPDATE>
<IF_ERROR_MESSAGES_SEND_0>X</IF_ERROR_MESSAGES_SEND_0>
<IF_GET_DELIVERY_BUFFERED> </IF_GET_DELIVERY_BUFFERED>
<IF_LATE_DELIVERY_UPD> </IF_LATE_DELIVERY_UPD>
<IF_NO_BUFFER_REFRESH> </IF_NO_BUFFER_REFRESH>
<IF_NO_GENERIC_SYSTEM_SERVICE> </IF_NO_GENERIC_SYSTEM_SERVICE>
<IF_NO_INIT> </IF_NO_INIT>
<IF_NO_MES_UPD_PACK> </IF_NO_MES_UPD_PACK>
<IF_NO_READ> </IF_NO_READ>
<IF_NO_REMOTE_CHG></IF_NO_REMOTE_CHG>
<IF_WMPP> </IF_WMPP>
<NICHT_SPERREN>X</NICHT_SPERREN>
<NO_MESSAGES_UPDATE> </NO_MESSAGES_UPDATE>
<SYNCHRON>X</SYNCHRON>
<UPDATE_PICKING>X</UPDATE_PICKING>
<VBKOK_WA>
<VBELN_VL>2030000016</VBELN_VL>
<VBTYP_VL/>
<VBELN/>
<LGNUM/>
<TANUM/>
<KODAT/>
<KOUHR/>
<BRGEW/>
<KZBRG></KZBRG>
<KZNTG></KZNTG>
<NTGEW></NTGEW>
<GEWEI/>
<VOLUM/>
<KZVOL></KZVOL>
<VOLEH/>
<KOMUE/>
<WABUC>X</WABUC>
<WADAT_IST/>
<KZWAD>X</KZWAD>
<WADAT>20080812</WADAT>
<WAUHR>115436</WAUHR>
<KZLFD></KZLFD>
<LFDAT></LFDAT>
<LFUHR></LFUHR>
<KZTOR></KZTOR>
<LGTOR/>
<KZLSP></KZLSP>
<LIFSK/>
<LIKP_DEL/>
<PACKING_REFRESH/>
<PACKING_FINAL/>
<PODAT/>
<POTIM/>
<KZPOD/>
<LIFEX/>
<BOLNR/>
<PRVBE/>
<XWMPP/>
<TRATY/>
<TRAID/>
<KZKODAT/>
<KZEBU/>
<INCO1/>
<INCO2/>
<ROUTE/>
<LPRIO/>
<VSBED/>
<LDDAT>20080812</LDDAT>
<LDUHR>115436</LDUHR>
<TDDAT/>
<TDUHR/>
<ABLAD/>
<KZINCO1/>
<KZINCO2/>
<KZROUTE/>
<KZLPRIO/>
<KZVSBED/>
<KZLDDAT>X</KZLDDAT>
<KZTDDAT/>
<KZABLAD/>
<KZLIFEX/>
<DECSPLI/>
<KZCHGOFF/>
<IMWRK/>
<KZREG/>
<KZLGBZO/>
<LGBZO/>
<SPE_ORIG_SYS/>
<SPE_CHNG_SYS/>
<SPE_TMPID/>
<SPE_LOEKZ/>
<SPE_NO_HU_CONS_CHECK/>
<SPE_LOGSYS/>
<SPE_RET_HU_UPDATE_REQUEST/>
<SPE_GEN_PROCESS/>
<SPE_WAUHR_IST/>
<SPE_WAZONE_IST/>
<SPE_LOC_SEQ/>
<SPE_ACC_APP_STS/>
<SPE_ACC_APP_STS_F/>
<SPE_SHP_INF_STS/>
<SPE_SHP_INF_STS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SORTF/>
<AENDB/>
<AENDB_WV/>
<AENDB_QUAN/>
<AENDB_STATUS/>
<KZUNT/>
<KZOBE/>
<FRGEW/>
<GEWEI_FR/>
<FRVOL/>
<VOLEH_FR/>
<KZPGN/>
<WERFD/>
<SELKZ/>
<LE_LGPLA/>
<LE_LGTYP/>
<WM_VERW/>
<MTPOS/>
<DEST_LGNUM/>
<DEST_LGTYP/>
<DEST_LGPLA/>
<OBJNR/>
<KUNNR/>
<LIEFNR/>
<TARAVAR/>
<STSMA/>
<HISTU/>
<ACTIVITY/>
<OBJECT/>
<HU_STATUS_INIT/>
<LOGSYS/>
<HU_LOCKED/>
<LETYP_WM/>
<TOP_HU_DLVRY/>
<KZEBU/>
<VWPOS/>
</item>
</ET_CREATED_HUS>
<IT_BAPIADDR1>
<item>
<ADDR_NO/>
<FORMOFADDR/>
<NAME/>
<NAME_2/>
<NAME_3/>
<NAME_4/>
<C_O_NAME/>
<CITY/>
<DISTRICT/>
<CITY_NO/>
<POSTL_COD1/>
<POSTL_COD2/>
<POSTL_COD3/>
<PO_BOX/>
<PO_BOX_CIT/>
<DELIV_DIS/>
<STREET/>
<STREET_NO/>
<STR_ABBR/>
<HOUSE_NO/>
<STR_SUPPL1/>
<STR_SUPPL2/>
<LOCATION/>
<BUILDING/>
<FLOOR/>
<ROOM_NO/>
<COUNTRY/>
<LANGU/>
<REGION/>
<SORT1/>
<SORT2/>
<TIME_ZONE/>
<TAXJURCODE/>
<ADR_NOTES/>
<COMM_TYPE/>
<TEL1_NUMBR/>
<TEL1_EXT/>
<FAX_NUMBER/>
<FAX_EXTENS/>
<STREET_LNG/>
<DISTRCT_NO/>
<CHCKSTATUS/>
<PBOXCIT_NO/>
<TRANSPZONE/>
<HOUSE_NO2/>
<E_MAIL/>
&nb -
Goods Movement - BAPI_GOODSMVT_CREATE - input parameters
Hi,
I have to create a goods movement with movement type 343 and 344.
While using the transaction MB1B (Tranfer Posting), I give the following parameters.
Header
1. Document Date 2. Posting Date
Item
1. Movement Type 2. Plant 3. Storage Location
4. Material 5. Quantity
But while using the BAPI for creating the goods movement, it creates material document. But I am neither able to view the document nor see any change in the good movement of the material. The quantity remains same in transaction MMBE.
I feel that item details given as input to the BAPI needs changes. Can anyone suggest the fields to which each of the above item details needs to be given.
Thanks.
Regards,
Senthil G.Hello Senthil,
Check this sample code
REPORT ZRICH_0001 .
* Structures for BAPI
DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.
DATA: GM_CODE TYPE BAPI2017_GM_CODE.
DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
DATA: GM_ITEM TYPE TABLE OF
BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
* Setup BAPI header data.
GM_HEADER-PSTNG_DATE = SY-DATUM.
GM_HEADER-DOC_DATE = SY-DATUM.
GM_CODE-GM_CODE = '04'. " MB1A
* Write 971 movement to table
CLEAR GM_ITEM.
MOVE '412' TO GM_ITEM-MOVE_TYPE .
MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
MOVE '3800533484' TO GM_ITEM-MATERIAL.
MOVE '1' TO GM_ITEM-ENTRY_QNT.
*MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
MOVE '1060' TO GM_ITEM-PLANT.
MOVE '0007' TO GM_ITEM-STGE_LOC.
*MOVE '0901' TO GM_ITEM-MOVE_REAS.
MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
APPEND GM_ITEM.
* Call goods movement BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = GM_HEADER
GOODSMVT_CODE = GM_CODE
IMPORTING
GOODSMVT_HEADRET = GM_HEADRET
MATERIALDOCUMENT = GM_RETMTD
TABLES
GOODSMVT_ITEM = GM_ITEM
RETURN = GM_RETURN.
IF NOT GM_RETMTD IS INITIAL.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ELSE.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ENDIF.
WRITE:/ GM_RETMTD.
LOOP AT GM_RETURN.
WRITE:/ GM_RETURN.
ENDLOOP.
" Also after iu call the BAPI use the FM BAPI_TRANSACTION_COMMIT
If useful reward.
Vasanth -
Goods movement document based on stock determination
All,
I am trying to create goods movement document using BAPI_GOODSMVT_CREATE based on production order for movement type '261'. Before to that we have to use the function module BF_STOCK_DETERMINATION to pick the stock from appropriate storage location( for example: if order quantity is 3; then quantity 2 will be picked from
Un-restricted stock and 1 qty will be picked from consignment stock). What happens is when it gets into MB_CREATE_GOODS_ISSUE_ITEM inside the BAPI, at the routine "MM07MMFF0_FUSSZEILE_WA_PRUEFEN" there is a routine called "FORM WERK_PRUEFEN(sapfm07m) when it gets into this routine the values in the internal table"T158"
losses its visiblity. so i get an error "document type" missing, when the function module"FI_DOCUMENT_TYPE_CHECK"
is called as part of the routine.
But if i call the BAPI_GOODSMVT_CREATE without calling BF_STOCK_DETERMINATION material document is get created.
If any one worked on this please help me i tried for more than week but i couldn't solve it. I really highly appreciate you help.
With regards,
Shiva.Called in two different program and it worked. In the first program i call "BF_STOCK_DETERMINATION" and export the values to memory and then i call the second porgram using "submit...and return"; import the values and called
"BAPI_GOODSMVT_CREATE". Material document is created.
Regards,
Shiva. -
Value of the goods movement is negative:
Hi All,
We are posting GR for Import PO.
MIRO for custom has been already done.
But at the time of posting GR, system is throwing following error.
Value of the goods movement is negative:
Message no. M7301
Pls guide.
We are not working with subcontracting process. its a normal raw material purchase.
Regards
Edited by: sapsarang on Jan 21, 2011 5:44 AMCan you please share the solution ...
Maybe you are looking for
-
Error while installing OIMCluster in Web logic server
I completed OIM 9.1.0.1 installation on WLS 10.3 Cluster... Below is the architecture. Domain: OIMCLUSTER AdminServer:7001 OIMInstanceOne:7010 OIMInstanceTwo:7020 OIMInstanceOne and OIMInstanceTwo are in a cluster called "OIMCluster" Now I completed
-
Email closes as soon as I try opening it.
I have had my phone for a couple months now and the email worked fine. About a week ago, I tried opening up my email, and it closes just as fast as I try opening it. It does give me an error message of any kind, it just closes. I have tried a hard re
-
Simple upgrade question : CS3 to CS5
Which serial number do i pop into the box?...okokok, I'm overtired, maybe this is obvious... Do I use the one that came on the CS5 upgrade package?...will that read my last version of photoshop and just install?... Do I use the SN that came on my upg
-
You have made changes to your photo library using a newer version of iPhoto
I tried to export photos from my macbook to my iMac about a week ago using a firewire. Didn't have much luck with that but I am now getting the above subject error message when I try to open iPhoto on my macbook. Is there a way to reset iPhoto? Somet
-
I authorized several movies under and old ID i no longer use that service provider and my email account has been deleted I update my Apple id to reflect the new account but now its still asking me to put in the old id to authize use of these movies h