Delete delivery line item
Hi,
I am trying to pick and PGI deliveries with inbound EDI 945 (WH shipping advice). To do PGI on partially picked deliveries, I need to delete the line item that is not pick at all. Is it possible to delete the line item automatically from the delivery with the FM that I am using - Idoc_Input_Delvry (message type "SHPCON") ?
Thank you,
Rajesh
Edited by: rajesh j on Sep 20, 2008 4:38 PM
Hi,
You no need to delete the line item you can do the PGI by making the line item pick quantity to zero. It will solve your problem.
Thanks,
- Prakash
Similar Messages
-
How to delete delivery Line item after the Invoice Passed accounting
Hi Experts,
Outbound delivery was created w.r.t. Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item as shipped but not yet billed.
Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document passed accounting.
Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
Warm Regards,
JeffI think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback
-
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 -
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 -
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 -
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 -
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 -
hi friends,
i have got 10 line items in a sales order. Can I delete one line item of sales order, before delivery and patial delivery.good answer will be rewardedHi Sridhar,
you can delete any line item form Sales Order unless and until the line item is open, means no delivery has been created for that line item. Once a full or partial delivery creted for that Sales Order line item, SAP will not allow you to delete it.
Thanks,
Mandar -
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, -
What is the direct link between Schedule Line item and Delivery line item?
Hi SAP SD Gurus,
The question is simple. I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
I am unable to link that Schedule line with that Delivery line item.
The only link is Schedule Line Number in VBEP table which is not available in LIPS. I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
Thanks in advance for your help..
AugustineAnuj,
I am aware of the Functional Modules.
I wanted to know for this Schedule Line, this is Delivery document created.
Where in SAP through Tables it is linked? Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
The table link from VBEP to LIPS is not directly linked. It is linked from Sales order line item level. Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify. The only common joint should be Scheldule line number which is not available in LIPS.
If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD. Since it is a external reporting , we need to give correct tables and the joints. Hence I am looking for any other way to solve this.
Thanks
Augustine Ponraj -
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" -
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 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
Maybe you are looking for
-
How to include Animated GIF-s?
Can animated gifs be included in a LabVIEW VI front panel?If so, how? Thanks in advance for any hint Gorka * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is
-
Connecting to a remote OpenLDAP server over SSL.
I've been trying for several weeks now to get a remote OpenLDAP server up and running; configured in such a way that it only allows SSL and requires certificate validation. I've created a CA with a self-signed certificate. I used that CA to create a
-
My ipodshuffle g2 recognized as unknown device
when i connect my ipod with my pc(win7) ,the shuffle(G2,1g)is not recognized by itunes or windows,An error box states :usb device not recognized"
-
Hi. How to disable ''set as background'' from right click in internet explorer 8,9,10,11 by GPO in Win Serv 2008 R2. People in my domain can set their background by right click in the pics on their IE, I enabled by GPO a wallpaper by default in ''Adm
-
IPhoto 7.1.3 and printing multiple photos per page
I cannot get multiple prints to layout (or print) properly. IOW, I cannot get the product to render multiple photos to a single sheet layout. - selected multiple photos (say 5) - Hit Print icon (or select Print from File menu) - Paper Size: choose 8.