Deletion of delivery item
Hello Gurus,
I have below requirement.
A packing IDoc comes from warehouser against a delivery in SAP.
If the packed qty is ZERO, have to delete the item in Delivery.
I have done an enhancement in IDOC_INPUT_DELVRY for EXIT_SAPLV55K_005.
But it is not working.
Do you have any suggestions on this.
Please help.
Useful answers will be rewarded.
Hi,
Use the function module 'EXIT_SAPLV55K_003' i.e custome function '003' in the function module 'IDoc_input_delvry'
In the line item table'DELIVERY_ITEM' based on ur criteria pass the value for field LIPS_DEL = 'X'.
Pls reward if it helps.
Similar Messages
-
Deletion of Delivery after confirm of Pick and WM TO, should not be allowe
The system will allow a delivery to be deleted after confirmation of Picking and WM TO. This creates all kinds of issues in WM for tracebility. Is there any way to prevent this from happening through config in WM or SD?
Edited by: Daryl Dellinger on Jan 30, 2008 3:51 PMTry OSS notes 567666 - stock inconsistencies after deletion of delivery items
Regards
Edited by: Shiva Ram on Jan 30, 2008 8:32 PM -
Deletion of Delivery Appended to Shipment
Hi,
Can anybody help for process to delete a delivery which is appended to a shipment. Shipmaent has Handling Unit. I have tried to unpack and de assign the HU in shipment for the delivery and then Delete the delivery but no success. <removed by moderator>
Pankaj
Edited by: Thomas Zloch on Oct 30, 2010 2:36 PMTry OSS notes 567666 - stock inconsistencies after deletion of delivery items
Regards
Edited by: Shiva Ram on Jan 30, 2008 8:32 PM -
Inbound delivery item deleted is not deleted from BI DSO?
Hi All
An Inbound deliver created and pushed to BI..
Source PSA is FULL UPDATE and DTP is DELTA UPDATE
Ex: 800000 10 10000
20 10000
This is what pushed to ODS..Later next day,
they deleted the to 800000 10 10000
So PSA is refreshed with one item .
800000 10 10000
whereas DSO still shows as follows:
800000 10 10000
20 10000
I have following options:
1. convert DTP to FULL update, so the data gets refreshed..
2. ELse delete the only one record..
But user sometimes need to delete the inbound delivery....based on item required..
we cannot go and delete everytime for this issue..
What are the best solutions that you experts can suggest.??HI...
This is a known problem in ECC-BI. Deliveries can only be deleted from ECC system but can not be cancelled. So the extractor is not able to provide a deleted image for the record.
Two solution can be there,
1. Full Load of all BI target every day ---this solution is practical only when your data volume is less and full load does not take much time. But if your data volume is huge and flow is complex one then this is not the solution.
2. Second solution is to identify which Delivery Doc - Item combination got deleted from ECC system and then you can just put a flag against those documents.
You can easily find which doc- item got deleted from CDPOS and CDHDR entry. In our project we created one DataSource based on InfoSet Query ( SQ02) on CDPOS ( item level) and CDHDR ( header level) and pulling all the documents which got deleted in ECC system. For all those Delivery-Item we put a deletion flag and restrict the query accordingly.
in CDPOS following fields are important.
a) CHNGIND: Change Type (U, I, S, D) u2013 This field shows whether the entry is deleted, updated or inserted. We are here interested in the value: D (Deleted).
b) OBJECTCLAS: Object class u2013 This field is used to get the data related to Deliveries, Sales etc. For deliveries, value is LIEFERUNG; For Sales, value is VERKBELEG
c)TABNAME: Table Name u2013 This field contains the table name from which the value is deleted. The tables for Deliveries are LIKP and LIPS. To get the item level data, keep the value as LIPS.
d) TABKEY is 18 characters long field, in which first 3 numbers is the client number, next 10 shows the document number and next 5 shows the item number. E.g.: 750001099999900010, where 750 is client, 0010999999 is document number and 00010 is item number
Also have a look at How to Guide below
Link [CDPOS-CDHDR|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50dd3fb9-0dad-2d10-0ea7-cbb0bb8b391b?QuickLink=index&overridelayout=true]
how to view deleted delivery
Regards
Anindya -
Deletion of Delivery for a non-stock item
Hi,
Could you pls. let me know how to delete the delivery of a non-stock item, its not making possible through vl09.Hi,
If the delivery note had been posted goods issue, you can't delete any item until reverse the DN with t-code VL09. That's it.
I guess the reason of deleting the non-stock item in delivery note is that you don't want to take the non-stock item into account in billing document, right? If yes, I suggest you to define the copy control rule of billing document, to sovle the problem.
Hope can help you!
Good luck
Tao -
JIiJ : depot sale: Delivery item wise Excise invoice number
Dear all
we are using J1ij for depot sale/stock transfer between main plant and its depot outside state.
we have unique delivery item which corresponds to unique material code. after doing PGI when we go to J1ij and choose the different line items, the excise invoice number that is saved is delivery wise and not delivery item wise. that is for each delivery we get one excise invoice.
the requirement is that this should be delivery item wise. we have tried trying to save one delivery item but it does ask for the 2nd delivery item and once we delete that 2nd delivery item and save the Ji1j, it allows to save but while going in for the 2nd delivery item, it says the delivery is already excised out.
did any of the gurus come aross this requirement. if yes how did you resolve this.
there is one batch program J_1IJCHK but we are that saves without asking for any information.
Kindly help.
regardsHi Sreekanth,
If this is first time you are doing look for OSS notes, Please escalate this issue to your basic and apap consultants.
R u following the following flow in case of stock transfer from mfg plant to depot plant.
PlantA:
ME21N
VL10B
VL02N
VF01
J1IIN
Plant B:
MIGO - (Goods Reciept & Excise Capture)
VA01
VL01N
J1IJ
VF01
Here at goods reciept you need to capture excise inviove same will populate when you make a sales from plant B using J1IJ transaction.
Thanks,
Swamy H P -
LE_SHP_DELIVERY_PROC BAdi implementation - capture delivery item change
Hi Community Members,
I am recently working on enhancement which is going to forbid quantity changes for delivery line items
if corresponding PO line item is blocked or deleted.
To do this I want to use BAdi LE_SHP_DELIVERY_PROC (Enhancements in Delivery Processing)
One of methods PUBLISH_DELIVERY_ITEM imports 2 internal tables:
IT_XLIPS Current Status of Delivery Items
IT_YLIPS Database Status: Delivery Items
Inside the method I am checking if recent quantity value (IT_XLIPS-LFIMG) is not equal to the one from database (IT_YLIPS-LFIMG). If so then I throw error.
Everything is ok, but I have encountered a strange behavior.
For example when I change delivery item quantity (LFIMG, for example 1->2 ) and then go back to the initial value (2->1)...
The problem is that when entering the method (debugger) I can see inside IT_XLIPS that LFIMG is updated, but Gross/Net weigth and volume fields still have old values (NTGEW, BRGEW, VOLUM).
That is a problem because highly possible is that after quantity field customer will also want to validate weight and volume fields.
Moreover I also checked FILL_DELIVERY_ITEM and CHANGE_DELIVERY_ITEM methods of BAdi mentioned. In all of them weight/volume (and probably other fields also) behave the same.
Could you share your comments on this issue please?
What would you recommend to do to enable such validation?
Kind Regards,
Piotr.Hi
Check method DELIVERY_FINAL_CHECK. See the sample implementation and how you can write the message in CT_FINCHDEL.
Other option is to use the classic userexits. See SAP Note 415716 - User exits in delivery processing with the recommendations for them.
I hope this helps you
Regards
Eduardo -
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 -
Item Category not Defined Error message when deleting a batch item in Deliv
Hi,
I am trying with a Intercompany transfer . So after creating Interco. Transfer we have followed with a delivery document.
Now,we would like to delete the delivery document. For your info. Del. doc is still open. We haven't gone for Goods issue or anything else.
So,we tried removing the batch line item in batchsplit tab of the delivery and then deleting the delivery document.
But we get the error message "Item catgeory Not defined". but we could see entries for Item category Determination with the particular Delivery typeItem Category Group from Material MasterItem Usage+Item Category.
Why does system throw "Item catgeory Not defined". when there are entries for particular determination available .
And this seems to be Syste
Thanks,
DhilipanHello Sandy,
Thanks for ur update. But its ticked already.. We checked it.
But we still face this issue. And we are not able to replicate the same issue in QA..What cud be the reason.
But Config..seems exactly similar to Pro. and QA
Thanks,
Dhilipan -
Error while deleting outbound delivery
Hi experts,
To brief about the issue,we are trying to delete outbound delivery created with reference to sales order which was created with wrong line items .We are trying to delete the outbound delivery document but the system is showing the error " Topfile KT-STB2000-C1WW line item 000020 has the following missing components :STB2000-C10007R".BOM is created for the same line item KT-STB2000-C1WW with subcomponets STB2000-C10007R and KT-14000-148R.suggest the solution for the same
Thanks & Regards
subhashHi Reazuddin,
We are concerned only with deleting the OBD.Earlier there was a mismatch between material BOM and OBD sub-componets.The wrong sub-componets were taken from sales order.Later on we realized that we dont want these componets (it was mistake) in OBD since BOM has different components.Later on we realized our mistake and we have sychronized BOM components,Sales order components and OBD components and tried to delete the OBD,but the system gives error as explained in above query.The message number that we received is "ZW024".
Thanks & Regards
Subhash -
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 -
Not able to delete inbound delivery.
Hi Gurus,
Please help me delete inbound delivery. I have a ticket where user is not able to delete inbound delivery. I tried to delete this delivery and I’m also getting the same errors that user is getting.
I have tried to insert real screen shots from production system in this post to give a better understanding of the scenario.
The situation is: PO was created for 2 line items for same material but different batch, for different quantities.
For line item 1:
1. Two separate partial deliveries were received along with 1 delivery note each, for quantities 14,957.130 KG and 855.017 KG.
2. Goods issue was posted for both quantities.
3. Invoice receipt was done for both quantities.
4. Goods receipt was done for both quantities.
5. However, goods receipt was later reversed for quantity 14,957.130 KG.
Screenshots Line item 1
For line item 2:
1. One delivery was received for full quantity of 292.112 KG.
2. Goods issue was posted for same quantity.
3. Invoice receipt was posted for same quantity.
4. Goods receipt was posted for same quantity.
5. However, goods receipt was later reversed for full quantity.
Inbound Delivery screens below:
Error VL32N screen
Message in VL09 when trying to reverse goods movement with reference to inbound delivery:
Please tell me how can this inbound delivery be deleted?
Points will be awarded for right help.
Thank you for viewing.Hi
BV Yadav:
1. it's the business user who posted the invoice, and posted goods issue the was it appears in PO history. i'm not sure how they did it.
Kamlesh: I tried both, changing the document date and delivery date to current. i still got same error. still not able to delete inbound delivery.
Tomas Figura: Puaway QTY is already 0. this field is blank, nothing in it. pic below:
Note: someone has suggested to follow the process to reverse as many postings that have been done against the PO as possible and ultimately delete the PO, this will break all links between PO and inbound, outbound deliveries. and hence, there won't be a need to delete inbound delivery anymore. then the business user can start the brand new process from scratch by creating a new PO, create a new outbound, inbound deliveries, and all. what do you guys think of it? Please comment.
Thank you guys. -
Not able to delete a delivery after revenue recognition is reversed
Hello Gurus,
We have a situation for certain Sales Order types after creation of Sales Order -> Delivery and PGI, we do revenue recognition. But there was some mistake and delivery needed to be deleted and recreated if needed. So after doing revenue recognition reversal we are reversing the PGI. After this when we try to delete the Delivery ( which would have got deleted if there was no revenue recognition process ) we get the below error.
Is it a problem with the way Revenue recognition is configured or does the standard behave like this. If the Invoice is also present in the above I am able to cancel the Invoice. If you think its a problem with the way Revenue reccognition is configured please advise.
Item 000010 cannot be deleted (revenue recognition status)
Message no. VL896
Diagnosis
The delivery or delivery item cannot be deleted.
System response
The document cannot be deleted since the delivery contains items that
reference sales document items that are relevant for revenue
recognition. When the goods issue was posted, the system created revenue
lines that had already been recognized. This means that there are
subsequent documents in revenue recognition for this delivery.
Procedure
If you no longer require the delivery or delivery item for deletion, set
the delivery quantities to zero and repost the goods issue. Make sure
that the quantity zero is allowed in Customizing for the delivery item
category. When the goods issue is posted, the overall processing status
is set to C and the delivery can be archived. Message determination
should be configured not to send any messages in this case. To make sure
that the system makes revenue corrections if there are differences
vbetween billed and recognized values, set a billing-relevant rejection
reason in the sales document item if more than one partial delivery is
allowed.
If you still want to use the delivery, adjust the delivery quantities
accordingly. Alternatively, deliver the referencing sales document item
again. Note that the sales document item cannot be delivered again if
only a partial delivery is allowed.
What are the changes I can do to Delete the Delivery?
If I cannot Delete the Delivery, Should I make the Delivery as 0 qty and create a new delivery with changed qty and do further process. Or should I reject the Sales Order and create a new sales order with exact qty and do further process.
Please advise.
Regards,
SNK.
Delivery has one line item. For the above case scenario, invoice is there for some deliveries and for some deliveries there is no invoice. Eg: SO -> DN -> PGI -> Rev Recog -> Iv or SO -> DN -> PGI -> Rev Recog. Requirement was SO was wrongly created as the qty was wrong or in some cases SO needs to be rejected. I am able to cancel Invoice. Rev recog is reversed. PGI is cancelled by VL09. Not able to delete Delivery and I get the above error. Ideally I thought since Rev recog is reversed, Delivery should have been deleted but not happening and above error comes.
SO - Sales Order DN - Delivery IV - Invoice
Edited by: sapconsultnt on Dec 16, 2009 5:06 AMHello,
Please review the Note 1224871 which introduced this functionality.
Regards,
Raghavendra YN -
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
Maybe you are looking for
-
Classic iPod with firewire. Just downloaded a new album that I want to put on it, but iTunes 11 want allow me to sych just some music. How do I switch this so I can upload just the one album?
-
Help! My ipod will not sync! It says it's syncing but it won't resume syncing!
Ok, so I've my iPod Touch Gen 5 with iOS 7.0.2 has says it's been syncing since this morning. This problem has never occered before but the syncing will not stop or even continue to finish syncing. I can't open my Music App and in my settings, I can'
-
Hello All, I have a dilemma. I have a server that originally had 9i client installed. We installed 10g and ODP .Net to gain use of some new funcionality used in .Net and batch processing. Halfway through testing we realized that 10g's version of ODP.
-
Ok. I have a Video Ipod and I updated it on a windows computer. Say if I wanted to go on to a different windows computer and get the music and videos off that computer, Will it allow me to or will i have to restore my computer? Mac OS X (10.4.2)
-
How feasible is it to use a USB scanner connected to one of the Mac Minis on a wired LAN? I remember seeing that it was possible in 10.4, but haven't seen anything in Leopard yet. Thanks in advance for all your assistance!