Generate delivery items for packaging materials but aggregate in one line

Hy, we have a requirement for delivery process, we have WM and we make picking by RF, and automatic generate items for packaging materials, but one line per pallet and the deliveries have a lot of line items that we want to aggregate in only one line item, instead of having for e.g. 30 lines with one pallet we need to have one line item with quantity 30.
can you help us,
Thanks in advance.
jonh

Hi,
You can very well achieve this by usinh a spilt routine in your copy control from sales document to delivery document.
Goto tcode: VOFM - Data transfer - deliveries.
For this you need to write a routine with the help of  your ABAPer & to include logic something like this:
You have to identify some unique feild in the two material or even the material code itself.
Then in the routine logic, you pass this feilds in the combination criterai field in delivery that is "ZUKRL"
Then in copy control sales doc to delivery: you attach this routine in header details in data transfer "Header Data"
See the code below for your help:
SELECT SINGLE PRAT1 PRAT2 PRAT3 PRAT4 PRAT5 INTO (MVKE-PRAT1,MVKE-PRAT2,MVKE-PRAT3,MVKE-PRAT4,MVKE-PRAT5) FROM MVKE
                  WHERE MATNR = CVBAP-MATNR
                  AND   VKORG = CVBAK-VKORG
                  AND   VTWEG = CVBAK-VTWEG.
IF NOT MVKE-PRAT1 IS INITIAL.
ZUK1-C+0(1) = 'O'.  "FOR OIL
*LIKP-ZUKRL = ZUK1.
ENDIF.
IF NOT MVKE-PRAT2 IS INITIAL.
ZUK1-C+0(1) = '1'.  " FOR FRAGILE 1
*LIKP-ZUKRL = ZUK1.
ENDIF.
IF NOT MVKE-PRAT3 IS INITIAL.
ZUK1-C+0(1) = 'N'.  " FOR NON FRAGILE
LIKP-ZUKRL = ZUK1.
ENDIF.
IF NOT MVKE-PRAT4 IS INITIAL.
ZUK1-C+0(1) = '2'.  " FOR FRAGILE 2
LIKP-ZUKRL = ZUK1.
ENDIF.
IF NOT MVKE-PRAT5 IS INITIAL.
ZUK1-C+0(1) = 'B'.  " FOR BULK / OVERWEIGHT
LIKP-ZUKRL = ZUK1.
ENDIF.
   LIKP-ZUKRL = ZUK1.
CONDENSE LIKP-ZUKRL NO-GAPS.
endif.
Hope this helps you
Regards,
Dhananjay

Similar Messages

  • Quantity and Value consumption for Packaging Materials

    Dear Experts,
    My client having retails stores all over India and there is problem in packaging materials consumption. Now we are followed below mentioned process. We have created STO supplying site is ABC to receiving site is 9999.After PGI the same one accoutning entry is posted like
    Packaging Consumption account Dr.....
    Packaging material......................Cr...
    Here value is nulfying.Quantity is updated in 9999 Plant;Business need that same quanityt also nulify at the time of PGI automatically.
    Please suggest
    Best Rgds
    SumaMani

    Dear Praveen,
    Packaging material getting credited in ABC distribution channel and also Consumption account getting debited in my store 9999.However there is no value in my store for packaging materials,but quanity is showing is showing in 9999 books. (MB52)
    That is not required to business. Business would like to treat quanity is consumed at PGI
    This internal report purpose
    Best Rgds
    SumaMani

  • Collective PO - Generating Delivery Orders for STO using VL10B?

    Dear Folks,
    I have created a collective PO from various STO. After goods receipt for the PO, I need to generate delivery orders for the STO. Is it possible to create the delivery orders using transaction VL10B/VL10Batch instead of WF30/WF50?
    The issue is because we would like to generate the delivery orders in the background by batch job.
    Best Regards
    Junwen

    Hi,
    With merchandise distribution you can configure the system to automatically create the deliveries when you perform the GR.
    Look at the configuration for the Site Distribution Profile.
    Logistics general->Merchandise Distribution->Site Profiles for Merchandise Distribution
    If you are using different data for the 'Pull' Business Process ensure that the Point of CD/FT/PA Delivery gen fiels is set to 1 - 'Goods receipt'. Else just do above config for the 'Default' settings (Blank in Business Process).
    This will result in creation of Delivery at the time of GR.
    Regards,
    Naveen

  • Delivery item for HU Packaging Material

    Hi all,
    I have a problem in Packing (LM46) using HU management. When I pack the HU to a delivery it creates another line item (900001) for the packaging material used in the HU. I have not set this functionality for the delivery type (LF). Can't figure out why this is happening, does anyone know what else I should check for ?
    Thanks in advance,
    D.

    Hi,
    a delivery item is also generated for the packing material, if a plant was determined/added for the packing material and an item type was determined for it
    you should check
    - transaction 0184 for the item type determination and
    - transaction vhar for the plant determination
    (the other case is if
    -an item type was determined for the packing material -> 0184,
    - the delivery item creation for packing material is set for the delivery type -> 0vlk and
    - delivery item creation is also set for the packaging material type -> vhar)
    note 831204 describes these two cases when a delivery item is generated for the packing material
    I hope I could help you.
    Regards,
    Ely

  • Delivery Split for subcontract materials in ME20

    Hi Friends
    When I try to delivery multiple materials from the same PO through ME2O, they get split into multiple deliveries. Lets say I have selected about 4 materials in one transaction, I see that 3 materials go into one delivery, 1 material  go into  separate delivery This way I now have about 2 deliveries for a single PO.
    I want to understand how this split is working and how to avoid?
    All these  below parameters are same for all the 3 materials 
    a)delivery date u2013 Same 
    b) Shipping Point - Same shipping point
    c) Shipping Condition - Same
    d) Delivery Type - LB for all
    e) Loading group - Same for all materials
    f) Route - Is also same
    Thanks In Advance
    Pala

    Hi
    My functional scope is Sales And Distribution , as  this dilivery split comes under my scope , I am investigating this issue even though I have to understand MM functionality .
      I am not able to find PO for this sub contract delivery .In SD , In VL02N, document flow starts from delivery for subcontract process , there is no display of precceeding document(PO) for this subcontract delivery .
         If I want find PO for this delivery , how  and what do I do ?
        Thanks
    Jayapala S.H

  • Workaround for "Expected expression but found end of line" error

    I have the following code
    tell application "Mail"
    set mymailList to {"[email protected]", "[email protected]", "[email protected]"}
    set myattachmentList to {"Macintosh HD:Users:SAM:Desktop:A1.xls", "Macintosh HD:Users:SAM:Desktop:A2.xls", "Macintosh HD:Users:SAM:Desktop:A3.xls"}
    set n to count items in mymailList
    set i to 0
    repeat n times
    set i to i + 1
    set var1 to item i of mymailList
    set var2 to item i of myattachmentList as alias
    set newmessage to make new outgoing message with properties {visible:true, subject:"Report", content:"Blah Blah Blah"}
    tell newmessage
    set sender to "Sam <[email protected]>"
    set visible to true
    make new to recipient at end of to recipients with properties {address:var1}
    tell content to make new attachment with properties {file name:var2} at after last paragraph
    end tell
    activate
    send newmessage
    end repeat
    end tell
    I would like to be able to paste the MailList and MailAttatchmentList values from a spreadsheet so that it would look something like this:
    tell application "Mail"
    set mymailList to {
    "[email protected]",
    "[email protected]",
    "[email protected]"
    set myattachmentList to {
    "Macintosh HD:Users:SAM:Desktop:A1.xls",
    "Macintosh HD:Users:SAM:Desktop:A2.xls",
    "Macintosh HD:Users:SAM:Desktop:A3.xls"
    set n to count items in mymailList
    set i to 0
    repeat n times
    set i to i + 1
    set var1 to item i of mymailList
    set var2 to item i of myattachmentList as alias
    set newmessage to make new outgoing message with properties {visible:true, subject:"Report", content:"Blah Blah Blah"}
    tell newmessage
    set sender to "Sam <[email protected]>"
    set visible to true
    make new to recipient at end of to recipients with properties {address:var1}
    tell content to make new attachment with properties {file name:var2} at after last paragraph
    end tell
    activate
    send newmessage
    end repeat
    end tell
    Is there something that I can put at the end of each value so that I avoid the "Expected expression but found end of line" error?
    Thanks!
    Sam

    You didn't need to post the entire script - just an example of the list format would have done
    Anyway, AppleScript uses option-return as a 'soft' return/line continuation character, so:
    set mymailList to {¬
    "[email protected]",¬
    "[email protected]",¬
    "[email protected]
    (where ¬ indicates an option-return) will work. I'm just not sure off hand how you'd automatically insert option-return characters coming out of Excel...

  • I have nothing in my login items for my mac, but I still have four apps open up whenever i start the mac. How to solve this problems?

    I tried system preference to check my login items. I didnt see anything there. However, I still have my mail, safari, micro office open up whenver I start the mac. Is there a way to solve this? I just switched to mac couple days ago, I dont see why i have this problem.
    Thanks,

    If you right click safari in the dock you should get a contextual menu.  What is in the "option"?
    Is the "open at login" checked?

  • I have a licence for my PC but now want one for my Apple Mac, can I download a second copy or upgrade?

    I have a licence for Adobe Photoshop and Premiere Elements for my Windows 7 Desktop PC.
    Have just bought Apple Mac Pro and it seems imovies wont import my AVCHD or AVI files - typical Apple narrow mindness.
    Can I download a second copy or can I upgrade and get copy for my Apple Mac or do I have to buy from scratch.

    EnglishTrevor
    What version of Premiere Elements is involved in your question? Be that as it may....
    If your purchase of Premiere Elements was via the box packaging then you have an installation disc for the program on Windows and another installation disc for the program on Mac. No problem.
    But, if you purchased the program as an download, you purchased only the version specific to the computer operating system to which it was downloaded.
    Consequently, if you purchased Premiere Elements as download to your Windows computer, you will need to purchase Premiere Elements Mac for the Mac computer.
    This is not Adobe. Rather a user to user forum. You can confirm the above with Adobe Sales. But what is described above is the way that is has been.
    ATR

  • I need a copy of the tech report from the genius bar for my insurance but never received one. Can I get a copy?

    As it says in the title, my 8 month old (reconditioned) 4S needed replaced. I took it to the genius bar but they didn't give me a report only sold me a replacement. I need a copy of the report for my insurance company. Can I get a copy via my apple ID? Help appreciated!

    You'll have to either call AppleCare...they'll have a record, or go back to the Genius bar where your phone was replaced.

  • Why isnt there an XFDL file reader for the MacBook BUT there is one for the iPhone

    This has been a long going issue for us military folk. A lot of our official forms are XFDL files and its really had to do work on our Mac Books when there isn't a reader for this file except on the iPhone and iPad. Many of us have moved from windows to the Apple products...BUT...the military is still stuck in the past and still using Windows and windows programs. PLEASE HELP.

    Hi AdithyaRavi,
    Thank you for the suggestion, however is this also happening on a specific site?

  • I need a gaming keyboard for my mac but the only ones I can find are for Windows,  there is no Command button or FN button.  Any suggestions?

    So, I have an OS X 10.7.5 and I want to get a gaming keyboard, but the only good ones I can find are for windows.  I know because they have the Windows home key button, and no FN button or Command button.  Any suggestions?

    Normally, most Windows-compatible keyboards are also compatible with Mac OS X. If I'm not mistaken, the Windows key (the key with the Windows icon) is the command key. Also, if you do need to use the F1-F12 keys as standard function keys (you would normally hold FN and then press the button), you can set them to standard function keys in System Preferences. There may be some good gaming keyboards on the market that use the Mac layout, but most may use a Windows keyboard. Personally, I prefer the Mac keyboard on my Macbook. I hope this helps!

  • HT2731 I had to set up a new email address for my ipad, but the old one is still coming up when i have to update my apps, how do i reset to the new email address?

    I recently had to reset my apple id to a new email address, but when i try to update my apps, the old one is still showing up, how do i change it?

    Apps will always be tied to the account from which they were purchased and will always need to be updated using that account.

  • Producing item in delivery for packing materials...

    hi all,
    i defined packing proposal. in delivery, i ran automatic packing. four handling units have been formed. in delivery i want to produce an item for packaging materials automatically. which configurations do i have to?

    Hi,
    there are two logics regarding generation of delivery items for packaging materials. You can check those two cases in note 831204.
    case I)
    =====
    1) you should check transaction 0184 if a delivery item category is defined for the combination of your
    *delivery type +
    *item category group that is defined in the material master of the packaging material (should be 'VERP' in standard) -> in case of outbound deliveries it is defined under 'Sales' view of material master, -> in case of inbound deliveries the data in field 'General Item Category Group' is relevant under 'Basic data 1' view of material master) +
    *the item usage 'PACK'
    AND
    2) you should check your settings for the plant determination of the packaging material in tr. vhar -> this should be 'A' or 'B'
    ====================
    OR
    case II)
    ======
    1) same as in case I)
    AND
    2) check tr. 0vlk if 'Gen. pack.matl item' is flagged for your delivery type
    AND
    3) check your settings for generating delivery items for the packaging material in tr. vhar  -> this should be 'A' or 'B'
    Regards,
    Ely

  • HUM - Generation of Delivery Items

    Dear All,
    problem:
    1.I just started to learn & work with HUM...
    2. We would like to use the 'Generation of Delivery Items for Packaging Materials' function of HUM.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/09/4b2268d27211d3b4f7006094b9b9dd/frameset.htm
    So, we would like the packaging material stock to be reduced after PGI of FGs. We can create the HU for the FG and packaging material, it's no problem (VL01N/VL02N menu > Edit > Pack).
    But after PGI the packaging material should move together with the FG.
    I did the following steps suggested by SAP help (link pasted above):
    1. Define Item Category Determination in Deliveries
    (LF, VERP, PACK, , DLN, DLP, KEN, HUPM - item category of packaging material is 'VERP', delivery details of FG: LF, NORM, TAN)
    1. Define Packing Material Types
    I created a record with packaging material type 'K010' in this Customizing step;
    - (B) plant determined from the first item that was packed
    - (C) packaging materials
    - (B) item generation in first packed delivery
    - etc
    Still, after packing in VL01N/VL02N no item is generated for the packaging material.
    Please help to solve this issue...
    Thanks,
    Csaba
    (I didn't do the packing in delivery properly...)
    Edited by: Csaba Szommer on Oct 7, 2008 11:32 AM

    Hi
    there is a setting:
    IMG > Logistics - General > Handling Unit Management > Basics > Define Packaging Material Types
    Set the packaging material type field "GenerateDlvItms".
    SAP Help
    This indicator dictates whether delivery items are to be generated during delivery- and shipment processing for packaging materials of this packaging material type.
    Note that delivery items are usually only generated if the delivery type (or shipment type) provides for item generation for packaging materials.
    Delivery items are generated as follows per packaging material in the delivery that contains the first packed item:
    - During delivery processing:
    If the indicator has a value of "Item generation if ship-to party is unique" or "Item generation in first packed delivery".
    -  During shipment processing (depending on the value of the indicator):
    "Item generation if ship-to party is unique"
    If all handling unit items are going to the same ship-to party
    (also valid for inbound deliveries if the vendor is the same)
    "Item generation in first packed delivery"
    For each packaging material even if the ship-to party is not unique.

  • Handling unit management - pack delivery items in mass

    Dear All,
    I'd like to ask for your help whether there's any mass transaction in standard system that is designed to pack several deliveries at once (like mass WM picking in VL06P).
    - Automatic packing and generation of packaging items is set but first we do WM picking (batch is determined at this time), so packing of delivery items and generation of delivery items of packaging materials comes only after this
    - we do not want to use shipping and do packing trough shipment
    Does anyone know whether it is possible (if yes how)?
    Thanks,
    Csaba

    Hi Group! I have the same requirement? Do you know if it is possible to pack several outbound deliveries in one packaging unit (container) without using shipment?
    thanks in advance!!

Maybe you are looking for

  • Manufacturing date entry control in MIGO for process order GR

    hi when i make process order GRN output entry ,i enter the manufacturing date for the batch.But it is now allowing me to enter,future date as well as any past date even before the RM issue date.please let me know wheter any control can be given so th

  • How to install latest mac OS x on iMac without original dvd

    hi. I have imac Intel based and early 2008 model. I used Yosemite in it... I erased the Whole HDD.. Now it shows flashing folder icon with question mark..i don't have original DVD or internet connection.. My friend has mac book pro running Yosemite..

  • InDesign CC 2014 crashing, non stop.

    I updated InDesign CC 2014 yesterday and it's been crashing, non-stop ever since. Here's a report: Indesign CC 2014 crash report - Pastebin.com

  • Why Are Lightroom File Sizes Smaller Than Elements Equivalents?

    I have been struggling to get good quality thumbnail sized images at small enough file sizes for a website. The only problem is that the versions I have done through Lightroom via the Web Module using the Flash template, will only allow a maximum wid

  • Inetrcompany shipping issue

    we are handling intercompany PO Scenario. i have  a query regarding that. 1) Intercompany purchase order is created by recieving plant (lets say for 1000 Kg  of a finished good) 2) Shipping plant sees the purchase order on their delivery list (lets s