Good receipt with/without GR assignment
Dear all,
I am little puzzle to get an understanding in difference between...
Goods receipt with GR assignment
and
Goods receipt without GR assignment.
Can please anyone let me know in details.
Thanks a lot in advance,
Cheers!
perhaps let me be more clear.
above query is related to Confirmations -related goods issue.
In customization-in purchasing- under confirmation- under set up conformation control .............there is an indicator to select / or not to select GR assignment indicator ...............in order to post the GR with reference to vendor confirmations.
I wanted to enquire why and what is the functionality of this GR assignment and how system is going to react ........when we do select OR when we do not select that indicator.
Hope this well help any body to get some idea of my query.
Cheers!
Similar Messages
-
Creating goods receipt with refernce to PO number using BAPI_GOODSMVT_CREAT
Hi Gurus,
I have a requirment where in, I need to create a goods receipt with reference to a PO number which has been created by BAPI_PO_CREATE1, using another BAPI BAPI_GOODSMVT_CREATE. How can I do this? what are all the values that I need to fill in GOODSMVT Create BAPI.
Please help its very urgent... Need to submit by EOD.
Thanks,
Sumahi
hope this code will help you,.
Reward if help.
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.
check the BAPI_GOODSMVT_CREATE.
Functionality
You can use this method to create a material document for a goods movement.
You can only create one material document each time you call up the method.
You can use a simulation function before posting the goods movement to check how the data is updated in the database. The standard system is configured so that the goods movement is posted immediately without simulating beforehand.
Ensure that you transfer the data in the same way as it is run in the database, for example,
Material number 18-figure with leading zeros
Batches with uppercase letters
Note that for all transactions/events listed below, the posting date is entered in the header data of the material document. In the BAPI2017_GM_HEAD_01 interface, fill the PSTNG_DATE (import structure GOODSMVT_HEADER) field.
Notes
Authorization check check
In the MM Inventory Management component, the method does not execute any authorization checks.
Note that during a posting of a goods movement, depending on the business transaction of the system, authorization objects of other applications can also be checked.
Transfer
The following information about the material document that is to be created is transferred to the method:
a structure with header data
a structure with the code for the movement
a table with the item data
a table with the serial numbers
The posting is carried out in the SAP R/3 via the MB_CREATE_GOODS_MOVEMENT function module.
Confirmations
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Further Information
The method can only carry out your function if no error messages were generated in the Return table. This is the case if the header data and all the items were processed successfully.
Transaction control is not implemented. The calling program therefore has to execute the Commit Work itself after this method has been successfully called (in other words, if no errors were reported in the Return parameter).
Which fields have to be filled during the various transactions/ events?
The following sample scenarios demonstrate which fields have to be filled for which business transactions/events (code).
There are the following types of transactions/events:
1. GM_Code 01: Goods receipt for purchase order
2. GM_Code 02: Goods receipt for production order
3. GM_Code 03: Goods issue
4. GM_Code 04: Transfer posting
5. GM_Code 05: Other goods receipts
6. GM_Code 06: Reversal of goods movements
7. GM_Code 07: Subsequent adjustment to a subcontract order
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.
For 1: GM_Code 01: Goods receipt for purchase order
Purchase order known
The following fields have to be filled:
Purchase order
Purchase order item
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry or
quantity proposal
The following fields may have to be filled in some cases (incomplete listing):
Shelf life expiration date (if it has been configured like this in the system)
Reason for movement (if it has been configured like this in the system)
Batch (if the material is handled in batches and batch numbers are not assigned automatically)
Storage location (if a storage location has not been specified in the purchase order item)
The following fields can be filled (incomplete listing):
Stock type
Item text
Unloading point
Delivery completed indicator
You cannot fill the following fields (incomplete listing):
Account assignment fields (account assignment is adopted from the purchase order)
Reservation
Receiving/issuing material
Receiving/issuing plant
Receiving/issuing storage location
In the case of a purchase order item with the "subcontracting" item category, only the GR item in the interface is to be transferred. The system automatically determines GI items.
Purchase order unknown: Shipping notification known
The following fields have to be filled:
Delivery
Delivery item
Movement type
Other fields, such as those under "Purchase order known". The system determines the relevant purchase order item via the delivery/delivery item.
Purchase order unknown: Purchase order should be created automatically
The following fields have to be filled:
Material number
Plant
Storage location
Vendor
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry
The following fields may have to be filled in some cases (incomplete listing):
Shelf life expiration date (if it has been configured like this in the system)
Reason for movement (if it has been configured like this in the system)
Batch (if the material is handled in batches and batches are not assigned automatically)
The following fields can be filled (incomplete listing):
Stock type
Item text
Unloading point
You cannot fill the following fields (incomplete listing):
Account assignment fields (automatic creation of purchase order items with account assignment is not supported)
Reservation
Receiving/issuing material
Receiving/issuing plant
Receiving/issuing storage location
Purchase order unknown: A purchase order should not be created
The following fields have to be filled:
Material number
Plant
Storage location
Vendor
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry
The following fields may have to be filled in some cases (incomplete listing):
Shelf life expiration date (if it has been configured like this)
Reason for movement (if it has been configured like this)
Batch (if the material is handled in batches and automatic assignment of batch numbers is not set)
The following fields can be filled (incomplete listing):
Special stock indicator
Item text
Unloading point
Goods recipient
The following fields cannot be filled (incomplete listing):
Account assignment fields (automatic creation of purchase order items with account assignment is not supported)
Reservation
Receiving/issuing material
Receiving/issuing plant
Receiving/issuing storage location
Receiving/issuing batch
The input combinations listed above for the GM_CODE 01 can be combined within an input table so that they can be posted in a material document. Items can also be posted for different purchase orders, provided that all the purchase orders refer to the same vendor.
Transfer of subcontracting components
During the posting of the ordered material of a subcontract order with movement type 101, for the transfer of the subcontracting components, the filled unique identification of the document line (LINE_ID) is also required.
More information on LINE_ID and PARENT_ID
The following fields have to be filled for the components:
Unique identification of the document line
Identification of the immediately superior line
Material number
Plant
Storage location
Quantity in unit of entry
The following fields can be filled for the components:
All other fields in the method that are included in this list.
The following fields cannot be filled for the components:
All fields that are not included in the list above. The movement indicator must be initial.
Additional fields in goods-receipt-based invoice verification
When you post a goods receipt to purchase order with movement type 102, an issue with reference to a previously posted goods issue, the following fields must also be transferred:
REF_DOC_IT (LFPOS): Item of a reference document
REF_DOC (LFBNR): Document number of a reference document
REF_DOC_YR (LFBJA): Fiscal year of a reference document
Only when you transfer these fields is it guaranteed that the reference to the original goods movement stay the same.
For 2 GM_Code 02: Goods receipt for production order
The following fields have to be filled:
Order
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry or
quantity proposal
The following fields may have to be filled in some cases (incomplete listing):
Shelf life expiration date (if the system has been configured like this)
Reason for movement (if the system has been configured like this)
Batch (if the material is handled in batches and automatic batch number assignment is not set)
Storage location (if storage location has not been specified in the order)
The following fields can be filled (incomplete listing):
Order item (co-product)
Stock type
Item text
Unloading point
"Delivery completed" indicator
The following fields cannot be filled (incomplete listing):
Account assignment fields (the account assignments are adopted from the purchase order)
Reservation
Receiving/issuing material
Receiving/issuing plant
Receiving/issuing storage location
Receiving/issuing batch
For 3 GM_Code 03: Goods issue
Goods issue without reference to a reservation
The following fields have to be filled:
Material number
Plant
Storage location
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry
The following fields may have to be filled in some cases (incomplete listing):
Special stock (e.g. sales order, project, vendor etc.)
Shelf life expiration date (if the system is configured like this)
Reason for movement (if the system has been configured like this)
Batch (if the material is handled in batches and automatic batch number assignment is not set)
Account assignment fields
The following fields can be filled (incomplete listing):
Special stock indicator
Item text
Unloading point
Goods recipient
The following fields cannot be filled (incomplete listing):
Reservation
Receiving/issuing material
Receiving/issuing plant
Receiving/issuing storage location
Receiving/issuing batch
Goods issue with reference to a reservation
The following fields have to be filled:
Reservation number
Reservation item
Record type of the reservation
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry
The following fields may have to be filled in some cases (incomplete listing):
Shelf life expiration date (if this has been configured in the system)
Reason for movement (if this has been configured in the system)
Batch (if the material is handled in batches and automatic batch number assignment is not set)
Storage location (if not planned in the reservation)
The following fields can be filled (incomplete listing):
Special stock indicator
Item text
Unloading point
Goods recipient
The following fields cannot be filled (incomplete listing):
Movement type
Material
Plant
Account assignment fields
For 4 GM_Code 04: Transfer posting
Transfer posting without reference to a reservation
The following fields have to be filled:
Material number
Plant
Storage location
Movement type
Movement indicator
Quantity in unit of entry
ISO code unit of measurement for unit of entry
The following fields may have to be filled in some cases (incomplete listing):
Receiving material
Receiving plant
Receiving storage location
Receiving batch (if material is handled in batches and you want to change batches)
Receiving/issuing special stock (e.g. sales order, project, vendor etc.)
Shelf life expiration date (if this has been configured in the system)
Reason for movement (if this has been configured in the system)
Batch (if the material is handled in batches and automatic batch number assignment is not set)
The following fields can be filled (incomplete listing):
Special stock indicator
Item text
Account assignment fields (for automatic posting lines: Expense/income from stock transfer)
The following fields cannot be filled (incomplete listing):
Reservation
Transfer posting with reference to a reservation
See goods issue with reference to a reservation
For 5 GM_Code 05: Other goods receipts
Other goods receipt without reference to a reservation
See goods issue without reference to a reservation
Other goods receipt with reference to a reservation
See goods issue with reference to a reservation
For 6 GM_Code 06: Reversal of goods movements
You can use the Cancel method to reverse goods movements. But you may also want to cancel a goods movement without referring to a material document (see the Cancel method).
If you want to work without referring to the document, you have to fill the field BAPI_GM_ITEM_CREATE-XSTOB in the interface (import table GOODSMVT_ITEM). In this case, the system converts the movement type assigned in the interface to the reversal movement type. Alternatively, you can set the reversal movement type in the interface. In this case, the BAPI_GM_ITEM_CREATE_XSTOB field must be transferred blank.
If you want to cancel a goods movement with reference to a reservation (without using the Cancel method) you can only transfer the field BAPI_GM_ITEM_CREATE_XSTOB if it is filled. Movement types are not transferred when you post with reference to a reservation, as the movement type is contained in the reservation item.
For 7. GM_Code 07: Subsequent adjustment to a subcontract order
Ordered material of subcontract order
The following fields have to be filled:
Unique identification of document line (can be assigned to anything)
Posting date in document header
Document number of purchasing document
Item number of purchasing document
Material number check
Plant check
Movement type (select movement type 121)
Movement indicator (must be O)
Further entries are not allowed. The entry quantity for the ordered material of a subcontract order must be zero.
Components
The following fields have to be filled:
Unique identification of document line (can be assigned to anything)
Identification of the immediately superior line
Plant
Material number check
Quantity in unit of entry; can also be negative
The following fields can be filled:
Storage location
All other fields in the method that are included in this list.
The following fields may not be filled:
All fields that are not in the list above. The movement indicator must be blank.
More information on LINE_ID and PARENT_ID
Additional fields in goods-receipt-based invoice verification
When you post a subsequent adjustment, the following fields must also be transferred:
REF_DOC_IT (LFPOS): Item of a reference document
REF_DOC (LFBNR): Document number of a reference document
REF_DOC_YR (LFBJA): Fiscal year of a reference document
Only when you transfer these fields is it guaranteed that the reference to the original goods movement stays the same. -
Restrict Goods Receipt PO without PO
Hi Experts,
I want to restrict the users on creating Goods Receipt PO without link from Purchase Order....They can only create GRPO from Purchase Order...
Im not expert on creating Sp Notification please if you any sample on how to deal with this...
Thanks a lot...
JohnHi John,
I guess you need to apply transaction Notification.
Here is the SP,
If @object_type='20' and @transaction_type='A'
BEGIN
If Exists (Select * from [dbo].[OPDN] T0 Inner Join PDN1 T1 On T0.DocEntry=T1.DocEntry
Where T0.DocEntry = @list_of_cols_val_tab_del and T1.BaseEntry is null)
BEGIN
Select @error = -1,
@error_message = 'Must Raise PO First'
End
End
Thanks & Regards,
Shambhu -
Goods Receipt with respect to Handling Unit (Transaction u0096 MIGO)
Hi All,
A delivery is created for stock transport order for goods movement from Plant XXXX (Storage Location YYYY) to Plant XXXX (Storage Location ZZZZ).
Handling Units are packed on delivery and delivery is post goods issued from Plant XXXX (Storage Location ZZZZ).
While posting goods receipt (Transaction MIGO) without selecting Via Handling Units system populates the packaging material line item whereas when Via Handling Units is selected (in other words when tried to post Goods Receipt with respect to Handling Units) system doesnt populate the associated packaging material.
Requirement is to populate packaging material line item while posting Goods Receipt with respect to Handling Unit.
Plz guide me.
SatishHi Vatcan,
Chek the Inbound Delivery 1st weather you refer the right PO in it
You can also chek in PO i
1 Me23n Go to confirmation tab here you can see the Inbound delivery quantity
2 Chek which reference document you recived the goods, (i.e You recived the goods with reference to PO or Inbound delivery)
2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods -
Goods Receipt with respect to sales order
hi,
goods receipt with respect to sales order ,that sales order is prepared with reference to quotation
erroer is
Account assignment cannot be carried out because of different origin no.
Message no. V1134
Diagnosis
The sales document to which you want to refer is based on sales document 20000005 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.
System Response
This entry is not allowed.
Procedure
Enter the document and the item number of the preceding sales documentHi,
Refer the sales quotation number for GR instead of the sales order number.
Regards,
Ravi Kumar C. -
PO Goods Receipt with Serial / Batch number with DI API
I am creating PO Goods Receipt with DI API. This works fine. But when i have items with serial numbers and batch numbers in the same PO, then i am getting either of the following errors:
1. [OITM]Item has no serial number management
2. [OIBT] Invalid Item Code.
I debugged the code and the values i set seems to be correct. I am using VB.Net and SAP 2004 with Patch 23.
Thanks
AnandAnand,
When you are working with a Serialized item in the first scenario, have you tested working with the item in the Business One application itself? Have you tried to have the system assign a serial number for the item when issuing a Goods Receipt? Do you get the same issue through the Business One interface. With respect to working with Batches, have you setup the Batches for inventory items through the Business One interface yet? If you have not setup Batches, this would be why you would not have any data in the OIBT table.
HTH,
Eddy -
Goods receipts with GTIN barcode thru RF
Hello Experts,
In order to perform Goods receipts with a custom RF transaction, we need to scan the material number and PO number on the pallet that is sent by vendors.these barcodes are external barcodes from the vendor. Our vendors are using GTIN codes on the pallets, is it possible to scan these barcodes with RF solution ? is that involved some custom code in the RF development, where these barcode type is supported by SAP system?
Thanks in AdvanceHello,
Based on my understanding below are my answers.
Your question: is it possible to scan these barcodes with RF solution ?
Asnwer: Yes. Through RF Gun you can scan and get the details
Your Question: is that involved some custom code in the RF development,
Answer: Yes. Because this GR is based on the GTIN scan number.
You Question: where these barcode type is supported by SAP system?
Answer: You can see in SPRO: LE: Mobile Data Entry: BarCode. where you can give the Bar code type.. Generally now a days Most Gtin numbers are UPC/EAN128 type.
Coming to the process What my understanding is.... you need to have custom RF Z TCode (Program) required to sacn and process based on material and PO number.
You can do GR directly by using functional module for VL01n/MiGO if WM is required then use functional module to create TO and confirm module to confirm....
All i can say is anything you can so through costume program that can be assigned to RF menu management screen.
hope i answer your questions based on my understanding.....
thanks.
tkreddy -
Batch needs to be created 1st then post goods receipt with inbound delivery
Hi,
We are having split valuated materials with batch managed, we need to post goods receipt with inbound delivery.
When we create inbound delivery with PO batch is blank which is correct.
Now when we try to post GR with IBD in VL32N we need to put batch, but we are getting error message as batch is not available in receiving plant.
In this case we have to create batch 1st with MSC1N and then we can put batch number in Vl32N and can post GR.
If material is not split valuated we can put batch manualy(Without creation in MSC1N) in VL32N and it is allowing to post GR with batch.
Can you please let me know this behaviour, is there any SAP note available about this behaviour.
Thanks
SudhirHi Uwe,
Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
The binary answer would be no. You should use WMMBXY or MBGMCR instead.
But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
Hope this helps. Let me know if you have more questions.
Regards,
Rudra -
Goods Receipt with production order in WM
Hi all,
My client requirement is whenever i am issuing goods to the production order the stock reserved to production order, once i confirmed the TO stock level reduced.Once production completed when i put the goods receipt with production order the stock increased for finished goods only at storage location level not upto warehouse level.
when i put goods receipt with others the stock increased in warehouselevel upto my destination bin(as i configured).My requirement is how to move goods to my destination bin when goods receipt for production order. any configuration required? solve my issue
i am maintaining configuration as
i)in omlj iam using movt type-103, source as 901(scr checked),dest as 003,reqirement type-orders.
ii)in omlr i am assigning 103wm mov type to 101 im type.
whether my configuration is correct or i have to do any other configuration ?..i am not maintain any production staging process is it necessary?
appreciate your help always
rameshTo consolidate your requirements once again
You want imediate TO creation for components. (It is configured & working fine now)
You dont want imediate TO creation for finished goods, only in the case of GR for Productio order. Right?
If Yes, you need to have a small configuration setting (if it is missing)
In OMLR Create TO immediately Indicator should be space "Do not initiate TO creation" (not X) for 101 F - 103 -
Price change for material with Goods Receipt with out Order reference?
hi all,
Our client company have some finished products produced from raw materials. But we are not using Production planning module. So in MM we are receiving these products with Goods receipt with out order reference(521).
The issue is, the price for this product will change monthly. This new price will affect the existing stock as moving average price calculation.
ex:
Quantity Price Value
Stock balanace 100To 2.00/To 200
Newly produced 100To 2.20/To 220
after the GRN for newly produced is done. The price also need to change as below.
Total 200To 2.10/To 420
This is easy if we receive goods with PO price, as moving average price will updae in the master record.
But here no reference. So only quantity updated with existing price.
So how to achieve the change of price ? Please help.
Thanks,
AravindHi Bijay,
Thanks for the reply. I will use the posting method suggested by you.
but how you are arriving newly produced material quantity & price!
The reply for your comment is,
Every month My client company revise the price of the produced material based on various factors including the
raw material purchase cost.
The price will be fixed for the whole month.
While posting the GRN, the accounts updated are,
Dr Material account
Cr Production Cost
Please let me know what you have asked is answered or not.
So that i can brief more. This is my initial project. So your feedback is very helpful to me.
Thanks,
Aravind -
Cancellation of Goods Receipt with Credit Memo Transaction Issue
Dear SAP Expert and Guru,
Normally cancellation of goods receipt cannot be done when invoice has been issued. Cancellation of Goods receipt can only be done when there is the credit memo being issued in MIRO.
The problem now is that is there any table that can tracked the linkage between Credit Memo and the Cancellation of Goods receipt?
The goods receipt with the invoice linkage can be found in both table EKBE and BKPF. But not the credit memo and cancellation of Goods receipt.
Thank you
Regards
Leonard TanDear Jeya and SAP expert and Gurus,
You are correct, but with the document number, how am I going to get the Cancellation of GR document?
In table BKPF and EKBE. With the invoice number (34*******) then pass it to table BKPF to get the invoice number (52*******),
Then get the invoice number (52*******) pass it to table EKBE to get the Goods Receipt document (61*******).
However, this only can track the transaction goods receipt and Invoice but not the credit memo with cancellation of goods receipt.
Kindly asvise on that.
Thank you
Regards
Leonard Tan
Note : Do not quote previous reply every time,simply reply for member you want to respond.
Edited by: Jeyakanthan A on Jul 8, 2011 3:23 PM -
Create Goods Receipt with an Inbound Delivery
Hi,
Can you anybody help me, how to create a Goods Receipt with correspond to Inbound Delivery.
Which FM or BAPI avaliable for this. Anybody did it before please pass to me with details?
Thanks in Advance
Cino C B
Edited by: Cili on Feb 11, 2008 8:19 PMCheck BAPI_GOODSMVT_CREATE
Look at the documentation if you want to make a goods issue or a good receipt for purchase order or production order, etc.
Inbound delivery only means is going to enter the plant (ie. mvt 101) -
Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery
hi expert!
exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
i know one bapI BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
or other bapi exist for MIGO_GR?
Best Regard!Hi Vatcan,
Chek the Inbound Delivery 1st weather you refer the right PO in it
You can also chek in PO i
1 Me23n Go to confirmation tab here you can see the Inbound delivery quantity
2 Chek which reference document you recived the goods, (i.e You recived the goods with reference to PO or Inbound delivery)
2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods -
Error in goods receipt with PO
Hi experts,
I am getting the following error,when trying goods receipt with Purchase Order using BAPI_GOODSMVT_CREATE.
"No goods receipt possible for pruchase order XXXXXX".
What may be the reason for this,its urgent please help.
Thanks & Regards
KarthikI just got the error message in the email. Here is a sample code for movement type 122. Replace all the XXXX values with values from your system.
Also as a sanity check make sure that the PO/Item you are testing with can be returned back to the vendor - use MB01 to make sure this movement type is successful for your PO/Item.
DATA: w_goodsmvt_header LIKE bapi2017_gm_head_01,
w_goodsmvt_code LIKE bapi2017_gm_code,
i_return LIKE bapiret2 OCCURS 0.
DATA: BEGIN OF i_goodsmvt_item OCCURS 0.
INCLUDE STRUCTURE bapi2017_gm_item_create.
DATA: END OF i_goodsmvt_item.
DATA: w_extnumber TYPE bal_s_log-extnumber.
DATA: w_goodsmvt_headret LIKE bapi2017_gm_head_ret,
w_materialdocument LIKE bapi2017_gm_head_ret-mat_doc,
w_matdocumentyear LIKE bapi2017_gm_head_ret-doc_year.
CLEAR: w_goodsmvt_header,
i_goodsmvt_item,
i_goodsmvt_item[],
i_return[].
MOVE sy-datum TO w_goodsmvt_header-pstng_date.
w_goodsmvt_code = '01'. "MB01
i_goodsmvt_item-material = 'XXXXXX'. "material number
i_goodsmvt_item-plant = 'XXXX'. "Plant that originally recieve this PO
i_goodsmvt_item-stge_loc = 'XXXX'. "Storage loc
i_goodsmvt_item-entry_qnt = 1.
i_goodsmvt_item-entry_uom = 'XXX'.
i_goodsmvt_item-entry_uom_iso = 'XXX'.
i_goodsmvt_item-po_number = 'XXXXXXXXXX'.
i_goodsmvt_item-po_item = 'XXXXX'.
i_goodsmvt_item-move_type = '122'.
i_goodsmvt_item-mvt_ind = 'B'.
i_goodsmvt_item-move_reas = '1'. "or whatever reason allowed for 122
APPEND i_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = w_goodsmvt_header
goodsmvt_code = w_goodsmvt_code
testrun = 'X' "turn this off once I_RETURN comes back empty
IMPORTING
goodsmvt_headret = w_goodsmvt_headret
materialdocument = w_materialdocument
matdocumentyear = w_matdocumentyear
TABLES
goodsmvt_item = i_goodsmvt_item
return = i_return.
BREAK-POINT. -
Goods Receipt with serial numbers
Hello everyone
I'm having problems when i try to add a goods receipt with serial numbers
Code:
OReceipt = oCompany.GetBusinessObject(BoObjectTypes.oInventoryGenEntry)
OReceipt.Series = 18
OReceipt.DocDate = Date.Now
OReceipt.TaxDate = Date.Now
OReceipt.Lines.ItemCode = "MP.PP.241"
OReceipt.Lines.Quantity = 1
OReceipt.Lines.SerialNumbers.InternalSerialNumber = "SN-01"
OReceipt.Lines.SerialNumbers.ManufacturerSerialNumber = "SN-01"
OReceipt.Lines.AccountCode = "_SYS00000000109"
OReceipt.Lines.WarehouseCode = "MPfabrik"
OReceipt.Comments = ".NET"
res = OReceipt.Add()
Any help will be greatly appreciated!Hi Nestor
All forums on SCN contain a description of what the forums is for. This forum's Overview page:
Looking at the overview, I suspect you want to post your query elsewhere? Perhaps one of Microsoft's forums?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Maybe you are looking for
-
'F4IF_INT_TABLE_VALUE_REQUEST' doest not show any list for selection
hi sapiens .... i hav an issue ... i used a parameter for which F4 help was assigned using 'F4IF_INT_TABLE_VALUE_REQUEST' .... to this an internal table any return fields was given .. if v press F4 window is opening for seletion but no values in it
-
Patch 4775612 issue for Migration of 11.5.10.2 from Windows to Linux
Hi All I am planing to migrate Oracle Application 11.5.10.2 from Windows 2003 to Oracle Enterprise Linux. I have Dual node system. My Application is on APPS NODE and my CONCURRENT MANAGER and DB are on DB node. I applied Patch *4775612* on both the n
-
Emac wont boot from cd or hard drive & display qeustion mark ?
Hello, if someone can please help me. I have an emac which is purchased in 2003, it has ran OSX 10.4 for around a year. Recently i clean installed the hard drive, but the installation kept failing. When I restarted the computer a flashing qeustion ma
-
Problem in service registration?
Hi all. I created two midlets: one for a server and one for a client My midlet works very well on WTK: client find devices and find the service. so the client can connect to the server and i can send some messages to the server. But I have a problem
-
How would go about accessing and changing these fields of the GridBagLayout class? How come this is not working... import java.awt.*; public class GBag extends Panel { public GBag() { GridBagConstraints c = new GridBagConstraints(); Font f = new Font