DTW : How to Create goods receipt with quantity exceeding purchase order ?
Hello DTW Experts,
is there any way to deliver or receive an quantity exceeding the quantiy of the purchase order using DTW, or the only way is to create additional order (create a goods receipt is based on a purchase order).
When i try the system gives me these 2 different messages :
1 - One of the base documents has already been closed PDN1.BaseEntry[line: 1]Erreur définie par l'application ou par ...
2 - One of the base documents has already been closed Erreur définie par l'application ou par l'objetoPurchaseDeliveryNotes
Thanks,
Hafid
The best way is to draw the purchse order through then add an additional line to the Goods Receipt for the additional quantity. This will close the PO properly, but record the additional quantity
Similar Messages
-
Goods receipt with reference to Purchase Order
the requirment is that we should be able to restrict the one Goods receipt posting for one Purchase order. The standard system is supporting processing of multiple P.O's of different vendors in on GR.
could anybody suggest to configure the functionality
regardsHi,
There is no standard option available and I don't think that there is any feasible way of stopping this without the use of a user exit (as already suggested).
But even the user exit option would be complex because it would have to block off the PO number field after enter (or any other key) was pressed.
It would also have to stop the use of multiple entries via the "find" option.
If you have a valid reason for doing this, have you thought of trying to get your users to do as they are told instead of changing the system?
Why is it important to have one PO per GR ?
Steve B -
Price difference in goods receipt with ref of purchase order
Dear all,
I am getting a difference in price with a goods receipt( movement type 101) which was created with reference to a purchase order. The purchase order price and G.R price are extremely different. I checked the inforecord..but price was not maintained in that.Price was entered manually in purchase order in conditions tab. can some one point out from where the price might have been calculated in Goods receipt.
Regards,
EdamanayilHi,
If its a standard price in material master record...then it will pick price from material master record ...
otherwise it will pick PO's price if no valid info record exists.
It can also read last PO's price....depending upon the setting.
Brgds,
Ashok -
MIGO PROBLEM in the Good Receipt with reference to purchase order
Hello Everybody.
i m getting one problem with reference to MIGO tcode.
Might be anyone notice or not but i want to share with you.
in MIGO selected goods receipt then beside it ask for the different actions.
I use the purchase order no.
suppose i given po no 1
enter
now it will display the details of that po number (1) but at the same time po number field is again in the input mode and you can give more po number .
suppose now i have given po no 2.
enter
Then in same gr we will be having the item details of both po number( 1 & 2) .
This is my problem .I want to make restriction that in single gr it should take only one po number not more than that ,after giving one po ,it should make that field in display mode.
How to do that please guide me .
I will be grateful to you.
Thanks a lotYou can use a field exit on any field that gets filled when the first PO is entered
check that field (Something like challan Number , Delivery date)
if is if filled use the "screen" Table to make the PO Number field Display only . -
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. -
Edit goods receipt copied from approved purchase order?
Hi everyone
Is it possible to edit quantity field or add a new row to a goods receipt copied from a purchase order that has been approved ?
if this behavior was changed from past releases or it always was like that?
i appreciate your help and thanx in advance
(any link to a official document, guide, how to doc that describes this point would be great)hi gordon thanx for your response
just another thing before i mark my question as answered, is there a official guide or SAP document that describes every detail of approval procedures including this question?
once again i appreciate your kind help.
Aley Chena -
Good receipt problem for subcontracting purchase order
Good receipt problem for subcontracting purchase order
with account assignment type E.
After update to ECC 6.0. Do good receipt for subcontracting purchase order with account assigment 'E'.The system show the error message(KI235)----Two cost elements (Change in Stock (Subcontracting)&Outside processed fee) haven't CO account assignment.but the field status for sale order is option entry , when I default cost center for the cost element in OKB9.the system post the material document and generate the following accounting document.
Doc.Type : WE ( Goods receipt ) Normal document
Doc. Number 5000056065 Company code 1000 Fiscal year 2007
Doc. date 2007.12.04 Posting date 2007.12.04 Period 12
Calculate Tax
Doc.currency HKD
tm PK Account Account short text Tx Cost Ctr SaleOrder Amount
1 89 13500000 Stock-Work in proces 1007823 10 274.4
2 96 21210010 GR/IR Clearing 1007823 10 205
3 91 41010102 Chg in Stock(Subcon) 10901099 1007823 10 274.4
4 86 41031000 Outside processed fe 10901099 1007823 10 205
5 99 13500000 Stock-Work in proces 1007823 10 69.4
6 81 41010101 Cost of Prod (Subco) 1007823 10 69.40
My problem is:
When use MIGO to do good receipt for subcontracting Purchase order, for consumption account((Change in Stock (Subcontracting)-41010102&Outside processed fee--41031000) ,why the system dont recognize the sale order filled as CO account assignment?Dear fanny chen
Did you get a solution for your open question?
I`m facing the same problem, so any help yould be appreciated.
Regards -
Goods Receipt for Account-assigned Purchase Orders
Hello,
We want to make Goods Receipt for Account-assigned Purchase Orders. When we try, SAP gives the error 'Account determination for entry PCOA KBS 0001 not possible'. According to SAP online help, account assignment is adopted from the purchase orders for the transaction/event 'KBS' and we cannot assign transaction key 'KBS' to an account using transaction OBYC. How do you make it work? Any solution pointers will be appreciated and rewarded.
Thanks,
Venucreate an implicit enhancement point in function module CKMV_AC_DOCUMENT_CREATE.
IN STRUCTURE IT_ACCIT U CAN MODIFY THE gl ACCOUNT IN RUN TIME . -
Goods Issue with reference to Purchase Order
Hi MM Gurus,
Is there any settings to do Goods Issue with reference to Purchase order?
I want to capture the material price in purchase order during goods issue instead of standard price or moving average price.
Thanks in advance
DineshHello Dinesh,
Batch valuation is similar to split valuation. Here is the link on how batch valuation works.
http://help.sap.com/saphelp_47x200/helpdata/en/25/283db54f7811d18a150000e816ae6e/content.htm
Please check in sandbox environment before using.
Hope this helps.
Regards
Arif Mansuri -
What is the FM/BAPI to get the Goods Receipt Based on the Purchase Order
Hi ,
I want FM/BPI to get the Goods Receipt Based on the Purchase Order in MM.
Thnx in advanceHi
BAPI_GOODSMVT_CREATE
Thanks & Regards
Kishore -
Can we create outbound delivery with reference of purchase order
Hi All,
can we create outbound delivery with reference of purchase order?dear friend,
as far as i know you can create it with the following references:
-to sales order;
-to STO;
-to subcontract order;
-to project;
-without any ref
are you talking about stock transport order ?
regards, -
Function module to create Inbound delivery with reference to Purchase Order
Hi experts,
I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.
If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????Hi,
Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
For creating a delivery wrt PO u 1st need to have a sales order i guess.
Regards,
Amit -
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. -
Don't allow Goods Receipt with quantity zero in EBP
Hi
If a Goods Receipt is confirmed with the quantity zero and the "Last Delivery" flag is set in EBP,
iin the R / 3 there will be also created a Goods Receipt with the quantity zero. Later It is not possible to
delete or cancel it in R/3.
In order to prohibit Goods Receipt confirmation in EBPwith quantity zero, I need a way. How can I achieve
this.
Regards
MarcoUse can use BBP_DOC_CHECK_BADI or BBP_ITEM_CHECK_BADI to achieve this..
Code will look like follow..
GET SC DATA
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
i_guid = iv_doc_guid
i_with_itemdata = 'X'
TABLES
e_item = lt_item.
Loop at lt_item into wa_lt_item.
IF wa_lt_item-quantity = 0.
Rase error message
ENDIF.
ENDLOOP.
Thanks!!
Bharath -
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)
Maybe you are looking for
-
9.2.0.6 performs better if stats are deleted
I have this behaviour with 90% of queries where deleting the schema stats makes it perform the best in some cases improvement of 300%. The query was written for 9.2.0.6 and we never had 8i. I have modified the optimizer settings in init.ora but never
-
Mappings Creation Performance Issue:
Mappings Creation Performance Issue I am having a performance problem when linking attributes from Splitter Transformation (has app. 80 input ports and 9 different filter condition for 9 target tables) to other transformations. It takes app. 6 minute
-
Hi Gurus, Please explain which authorisation object Claudia reffering..... Q: Hi experts, I'd like to have information about the incoterms of the sales order when I use the transaction code VL10G. But although the fields INCO & INCO2 are available in
-
hi, when i take a print-out using NI-Reports, there is no problem. but some of the characters are not seen properly if i want it using "print panel" . what can be the problem ? ( i use WindowsNT ) ^^^^ thanks. ozan...
-
HT4623 unable to install update
unable to install update (An error occurred installin iOS 6.)