Unable to delete PO line item if GR qty is different from IV qty
Dear all,
Please help me to check this issue. The PO line item purchased with 10pcs (quantity), and the goods receipt (GR) is 10pcs as well as the invoice verification for 10pcs. However, weeks later, they performed a movement type of 102 to cancel 2pcs back to vendor, but no subsequent movements follow up.
Now, the user wanted to delete this line item in PO, but the system throw out an error message:
"Quantity delivered differs from qty. invoiced (Function not possible)"
Diagnosis: You have attempted to delete an item whose GR and IR quantities differ.
Is there any work-around or solution of how to delete this PO line item?
Thank you and appreciate for helps.
Warm Regards,
Edwin
Dear both,
Thanks for the prompt reply. This particular material is not applying the "GR-based IV" feature. This is why the user is able to cancel the goods receipt without the cancellation of invoice first.
The reason why the user needs to delete the PO line item for this material is because they need to change the valuation class of the material which they suspect this is the cause. They have clear all the stocks quantity, clear all the relevant open quantity but left this PO line item. They wanted to delete the line item so that they can change the valuation class.
Does it mean that it has to use credit memo to clear the quantity? This transaction was posted in 2007, what would be the impact to FI if I post credit memo in 2008?
Thank you very much for your helps.
Warm Regards,
Edwin
Similar Messages
-
Delete a line item from Sales Doc type RE
Unable to delete a line item from a sales order linked to document type RE. Get a long runtime - no specific error message. Use the 'Stop Transaction' option to end the transaction.
Have done thorough testing and can delete line items linked to all other sales document types in our system.
Researched SPRO to see if there was a line item deletion option that was not created for sales doc type RE - but can find nothing.
On a critical time line here - this was discovered during Hotpak installation testing which is scheduled to move to PRD June 22. Question as to why we have not run across this issue before now?? - I don't think we have had an occasion to delete a returns line item before - but I want to have the option if available.
Any help to resolve this issue would be appreciated.
Regards
PatsyThanks for your response.
After creating document type RE, execute VA02 transaction, select line item, select delete line item icon. The system goes into runtime and just stays there. No error message, no abap dump. To escape the transaction, I have to select 'stop transaction'.
I have tested all other document types we use in our system, (including our customized transactions) SO, CR, DR, etc., and the system allows line item deletion. -
What are the conditions to be able to delete PO line items?
Hello All,
We are trying to delete a PO line item as we are unable to make corrections on the Service Entry of that PO - invoice was deleted but generated a credit memo - also tried unsuccessfully to delete PO line item but got failed.
Please provide any solution to this issue.
Regards
Kalyani
HyderabadHi Kalyani,
you can reverse the invoce by using MR8M and then delete the PO.
and then delete the p.o.
Hope, you have not done any GR.
Is there is any release strategy involved? Pls. check.
Regards
Rifaie.M -
User needs to delete a line item from old STO
Hi all,
User needs to delete a line item from old stock transfer order and would like to be advised what he needs to do to delete the line item from the STO.
On the STO, Goods Issue done and reversed also. Delivery completed indicator not checked. I aslo found that the payment has been made for the line item 40 for Freight. Carrier charges. It seems that the payment has been made/cleared to the vendor. I think Due to this reason they are unable to remove this line item from STO. They have attempted to delete or block an item that is not yet closed. All down (advance) payments made to date have been taken into account.
Can you please advice how to resolve this problem?
Thanks in advance..
Regards
SureshHi,
Delivery completed tick is also there for STO PO. If you are not getting it then check settings. Also you can mark deletion indicator for that line item. Or minimise quantity to goods received quantity.
For STO if delivery is made from delivering plant but Goods receipt not done in receiving plant then that material remains in transit. Can viewed with ME5t. In this case that line item cannot be delted or delivery completed.
Still your client wants to complete these type also better to leave decision to business if they want to reverse delivery (Stock of issuing plant will increase) or make Gr ( Stock of receiving plant will increase) Although they can adjust later with physical inventry process and make stock in system to real physical stock
Regs,
Appie -
BAPI_OUTB_DELIVERY_CHANGE - Delete Delivery Line Item
Hi all
I am using BAPI_OUTB_DELIVERY_CHANGE to delete line items from outbound delivery, but am unable to do so.
Kindly let me know of all the parameters that need to be passed to delete a line item.
i have called BAPI_TRANSACTION_COMMIT after this bapi, but nothing happened.
Points will be rewarded for useful answers.
Regards
RavishHi,
Chk this part of code ,
IF delivery_item IS NOT INITIAL. "Delete particular Delivery item
SELECT SINGLE vbeln posnr charg matnr lfimg umvkz umvkn
INTO wa_lips
FROM lips
WHERE vbeln = delivery AND posnr = delivery_item.
item_data-deliv_numb = wa_lips-vbeln.
item_data-deliv_item = wa_lips-posnr.
item_data-material = wa_lips-matnr.
item_data-dlv_qty = wa_lips-lfimg.
item_data-dlv_qty_imunit = wa_lips-lfimg.
item_data-fact_unit_nom = wa_lips-umvkz.
item_data-fact_unit_denom = wa_lips-umvkn.
item_data-batch = wa_lips-charg.
APPEND item_data.
item_control-deliv_numb = wa_lips-vbeln.
item_control-deliv_item = wa_lips-posnr.
item_control-del_item = 'X'.
APPEND item_control.
ELSE. "Delete whole Delivery
header_ctrl-dlv_del = 'X'.
ENDIF.
ELSE.
header_ctrl-dlv_del = 'X'.
ENDIF.
header_data-deliv_numb = delivery.
header_ctrl-deliv_numb = delivery.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = header_data
header_control = header_ctrl
delivery = delivery
TABLES
item_data = item_data
item_control = item_control
return = return5.
Thanks,
Hope that helps!
Edited by: aditya on May 15, 2008 9:01 AM -
Deleted PO line item not coming to Sourcing
Hi,
We created PO from sourcing, later we realized that vendor need to be chaged. so we deleted PO line item, but this deleted line item is not displaying in sourcing cockpit. when could be the reason
Thanks
RaviRavi,
Please check the following notes
Note 1059979 - BBP_GET_STATUS_2: deleted PO did not send the shp to SOCO
Note 1012124 - SHP not reappear in SOCO after backend PO delete
Note 1055238 - Item is not sent to SOCO after backend PO deletion
From the bid Invitation
Note 1134786 - Requirement sent back to SOCO when a PO is deleted
Thanks,
Surya -
System should not allow to delete PO line Item after GR/IR
Hi,
I am working on a SAP Retail Implementation project.
Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
We are using Account Assignment Category-N, Item Category-S.
Please let me know if you have the solution for this requirement.
Thanks in advance
Thanks & Regards,
SureshHi,
Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
Message no. 06115
But if invoiced takes place, the is the point that PO can be deleted.
You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
Use MM06E005 and EXIT_SAPMM06E_012
IF SY-TCODE = 'ME22N'.
IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
LOOP AT TEKPO.
IF TEKPO-LOEKZ = 'L'.
SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
IF SY-SUBRC = 0.
SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
IF SY-SUBRC = 0.
Regards, -
Need a exit while deleting the line item in PO
Hi to all experts ,
My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .Hi,
Try these user exits.
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of req
M06E0004 Changes to communication structure for release purch.
M06E0005 Role determination for release of purchasing document
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., prev
MEFLD004 Determine earliest delivery date f. check w. GR (only
MELAB001 Gen. forecast delivery schedules: Transfer schedule i
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tol
MM06E001 User exits for EDI inbound and outbound purchasing do
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into
MM06E008 Monitoring of contr. target value in case of release
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound proc
MMAL0004 ALE purchasing info record distribution: Inbound proc
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards,
Vijay -
Error while deleting contract line item
Hi All,
In ME32K when I try to delete the line item of the contract it goes to runtime error. Pls help me why I get that error.
It has 3 PO`s created in 2010.Error analysis
A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
exception
condition "FAILURE".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"RAISE_EXCEPTION" C
"CL_HANDLE_MANAGER_MM==========CP" or "CL_HANDLE_MANAGER_MM==========CM005"
"GET" -
User-exit for deletion of line item in PO
hi group
i want to delete a line item of purchase order.
and after that i have to make some changes
so i want to know which user-exit will be used here.
please help its urgent.Hi,
Please fine the list of user exits for the transaction ME22.
If it serves your purpsoe , please close the thread and reward suitable points.
Regards,
Irfan Hussain
Transaction Code - ME22 Change Purchase Order
Exit Name
Description
AMPL0001
User subscreen for additional data on AMPL
LMEDR001
Enhancements to print program
LMELA002
Adopt batch no. from shipping notification when posting a GR
LMELA010
Inbound shipping notification: Transfer item data from IDOC
LMEQR001
User exit for source determination
M06B0001
Role determination for purchase requisition release
M06B0002
Changes to comm. structure for purchase requisition release
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to comm. structure for overall release of requisn.
M06E0004
Changes to communication structure for release purch. doc.
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requsitions for PO split in ME59
MEETA001
Define schedule line type (backlog, immed. req., preview)
MEFLD004
Determine earliest delivery date f. check w. GR (only PO)
MELAB001
Gen. forecast delivery schedules: Transfer schedule implem.
MEVME001
WE default quantity calc. and over/ underdelivery tolerance
MM06E001
User exits for EDI inbound and outbound purchasing documents
MM06E003
Number range and document number
MM06E004
Control import data screens in purchase order
MM06E005
Customer fields in purchasing document
MM06E007
Change document for requisitions upon conversion into PO
MM06E008
Monitoring of contr. target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MMAL0001
ALE source list distribution: Outbound processing
MMAL0002
ALE source list distribution: Inbound processing
MMAL0003
ALE purcasing info record distribution: Outbound processing
MMAL0004
ALE purchasing info record distribution: Inbound processing
MMDA0001
Default delivery addresses
MMFAB001
User exit for generation of release order
LWSUS001
Customer-Specific Supply Source Determination in Retail
MRFLB001
Control Items in Release Creation
No of Exits: 33 -
Deletion of Line item in Po after GR occurs
Hi SAP Expert,
Can we make the system to block the users from perform deletion the line item in PO after GR has been made? There are case that the user simpled
delete the line item in PO which GR has been perform and we what to block
the users from do this deletion.Hi,
In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
Dhruba -
How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item
Hi,
I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
My Requirement is that the system should not allow for Goods Receipt for the Line Item.
I know of 2 options which are difficult to Implement.
1) I delete the Line item
2) Put the delivery Completed Indicator - For this the system still allows for GR
any Other way of Closing the line Item
NSHi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
The Wizard comes only in the Copy From option,
Close the Line item, by right clicking on that Line item and then 'close Row'
Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM -
How to delete a line item from the sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi
U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
This is called short close ( as the qty is not delivered fully).
Thx. -
How to delete the line item from a sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi Kumar,
I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
Regards,
Rachel -
DELETE A LINE ITEM IN SALES ORDER
Hi,
Can any one tell me how to delete a line item from a sales order? Please tell me the BAPI/FM and what are the parameters to be passed.
Thanks,
ChallaHi,
Use the BAPI: BAPI_SALESORDER_CHANGE.
Maybe you are looking for
-
Implements interface method at the derived class
Hi all. I have a class (Derived) that extends another class (Base). In the base class (Base) there is a method f() with its implementation. In the interface (C) there is also f() method exactlly like in the base class (Base). The derived class (Deriv
-
How can I recover my apple account if I already try iForgot my apple I.D. ?
-
Using more than one USB input device with Logic
I have 2 USB mic's that I would like to record to separate tracks in Logic Express. The research I've done seems to indicate that this is not possible because an audio interface is required for more than one input device of any kind. Is there any way
-
Presentation speeds up when exported to QT Pro v6
Hello, I have a presentation which is timed perfectly to a music track when played through Keynote. However, when I export the file to QT (using standard settings), the presentation runs too quickly whilst the music track plays normally. What's going
-
New to iPad been trying to sync my photos on pc over to ipad but nothing seems to be happening
Hi complete newbie to iPad and not having much luke been trying to send photos from my pc over to ipad but its been copying for an hour now. Its about 300 pictures.