Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

Purpose

This content was created to document the funktionality of automatic delivery item generation for packaging materials and it’s prerequisities.

Overview

It is possible to generate delivery items for the packaging materials from the handling units within delivery processing automatically.
This allows you to manage stocks for packaging materials and to bill packaging materials.

Also in order to have the weight of the HU added to the delivery total weight, it is necessary to have delivery items generated for the handling units.

Furthermore this fuctionality has importance if you pick packaging materials in the warehouse or want to make packaging materials available to custoers as returnable packagig, which you also manage

Customising settings to achieve automatic item generation for packaging material

  1. Transaction 0184
    Customizing LE – Shipping – Deliveries – Define Item Category Determination
    This is the link between the Item Category Group of the Packaging Material (e.g. ‘VERP’) and the Delivery Type (e.g ‘LO’)

  2. Transaction VHAR
    (Customizing: LO – HU – BASICS – Define Packaging Material Types)
    For the parameter ‘Plant determ.’ enter ‘A’ or ‘B’.
    In case you have chosen ‘ ‘ (blank) meaning ‘Plant is entered manually in the HU’ you need to enter the plant manually to the HU header at packing to have a chance to obtain the packaging material item.

  3. Transaction VHAR
    (Customizing: LO – HU – BASICS – Define Packaging Material Types)
    For the parameter ‘GenerateDlvItms’ select ‘A’ (if Ship-to-party is unique) or ‘B’ (in first packed delivery)

  4. Transaction 0VLK
    (Customizing: LE – Shipping – Deliveries – Define Delivery Types)
    In ‘DocumentContent’ activate the flag ‘Gen.Pack.Matl.Item

How do the above customizing settings influence the behavior for the delivery item generation

1)

2)

3)

4)

RESULT:

Link Delivery Type – ItemCatGroupPackMat

PLANT in VEKP available

For PackagingMaterialType Flag  ‘Generate.Dlv.Item’ set

For DeliveryType Flag ‘Gen.Pack.Mat.Item’ set

Delivery Item created?

N

 

 

 

N

Y

N

N

 

N

Y

N

 

N

N

Y

N

Y

Y

Y

Y

Y

 

 

Y

 

For example, if you have maintained that a plant should be inserted into the header record, then the item will be generated, regardless of the customising in the field for generating a line item.

Or if the field plant is empty but the generate delivery line item is filled, then a line item will be generated.

Hint:

If no delivery item gets created for the packaging material automatically, try to add the packaging material as delivery item manually. The error message issued can provide useful information on the cause.

Related coding:

SAPFV50P FORM LIPS_FUELLEN_OR

SAPFV50P FORM POSITION_GENERIEREN_HU

SAPLV51P FORM CREATE_DEL_ITEM_OLD

SAPLV51P FUNCTION V51P_GENERATE_OBJECT_ITEMS

SAPLV51H FORM POSITIONEN_GENERIEREN

SAPLV51H FUNCTION HU_PACKING_DELIVERY

 

The values for WERKS and LGORT are copied from the HU to the delivery item in:

 - SAPFV50C

 - FV50C510

 - Form DATEN_KOPIEREN_510

 ...

   LIPS-WERKS = CVEKP-WERKS.

 * lips-berid = cvekp-berid. "todo

   IF CVEKP-LGORT NE SPACE.

     LIPS-LGORT = CVEKP-LGORT.

 ...

Additional information:

In Standard, once the plant data is written to the HU header (VEKP-WERKS) it will not be changed later.

VEKP-WERKS is only filled at HU creation in case this is triggered by the packaging material type customizing settings or if the HU is created by IDOC.

See SAP Note 602886 - Plant not updated at HU header level

Influencing VEKP-WERKS and VEKP-LGORT values is possible in BADI HU_MAIN, method header_update_in_packing.

TEST CAREFULLY WHEN MAKING ANY CHANGE TO THE SAP STANDARD AND ALSO REVIEW SAP NOTE 170183 - What to consider when applying modifications

Trouble shooting:

Cae 1: Empty HU

If you customized the packaging material type in a way that the plant information in the HU header is being determined from the first item that has been packed, that means that an empty HU has no plant information maintained in the header. When the packaging material items are created in the delivery, there will be no plant information neither, as nothing can be copied from the HU. You have to change the customizing for the packaging material type so that the plant information will be available in the HU header also for an empty HU. You could do that at the following place in the customizing: Logistics - General -> Handling Unit Management -> Basics -> Define Packaging Material Types: Set 'Plant determin.' to 'Plant proposed from the packaging material'

Related Contents

Related Documents

http://help.sap.com - Generation of Delivery Items for Packaging Materials

Related SAP Notes

831204 - Delivery items for packaging materials

602886 - Plant not updated at HU header level

170183 - What to consider when applying modifications

 

  • No labels