Skip to end of metadata
Go to start of metadata

WHSORD/ WHSCON:

The warehouse order and the warehouse verification both serve to connect a company's own external system (external software) with Warehouse Management.

SHPORD/ SHPCON

The shipping order and the shipping confirmation serve to communicate with a warehousing contractor / service agent. The latter supervises the warehouse and is responsible for the delivery. The contractor also either takes care of the delivery himself/herself or commissions a service agent.

 SHPORD/ SHPCON is functionally identical to WHSORD/ WHSCON.

Online documentation:

Shipping (LE-SHP) > Printing and Communication in Shipping > Deliver Interface

Link: http://help.sap.com/saphelp_erp60_sp/helpdata/en/0e/edbf53f106b44ce10000000a174cb4/frameset.htm


What WHSCON / SHPCON (inbound) IDoc can do:

1. Picking verification without flow records

This type of verification is used if the delivery items in the central system are set in Customizing as non-picking-relevant. The picked quantities are reported by the subsystem to the central system. There, the delivery quantity is adjusted, if allowed. In the IDoc, the following fields must have data:

  • E1EDL20-VBELN
  • E1EDL24-POSNR
  • E1EDL24-MATNR
  • E1EDL24-LFIMG
  • E1EDL19-QUALF = 'QUA'

2. Picking verification with flow records

If, in the central system, the items are set as relevant for picking, the picked quantities can be reported to the central system. However, only the complete, picked quantity of an item can be taken. Multiple reporting with an accumulated figure for the reported quantities is not allowed. 

  • E1EDL20-VBELN
  • E1EDL18-QUALF = 'PIC'
  • E1EDL24-POSNR
  • E1EDL24-MATNR
  • E1EDL24-LFIMG

3. Change delivery.

If you want to change delivery, you can set E1EDL18-QUALF to 'CHG' and update change to delivery item. (e.g. batch, quantity, weight.)

  • E1EDL20-VBELN
  • E1EDL18-QUALF = 'CHG'
  • E1EDL24-POSNR
  • E1EDL24-MATNR
  • E1EDL24-LFIMG

Characterics of qualifier 'CHG':

  1. Not every field in E1EDL24 can be updated by this idoc. (e.g. storage location).
  2. E1EDL18-QUALF 'CHG' cannot be used together with 'PIC'. Once 'PIC' is set, system will work as in scenario 2.
  3. E1EDL18-QUALF 'CHG' is not designed to update batch split.

4. Verification of batch split items from the subsystem

If batch split items occur in the central system, the original item must not be reported. Instead, the new items are transferred as follows:

  • E1EDL20-VBELN
  • E1EDL24-POSNR = Item number of batch split item (90000*)
  • E1EDL24-MATNR
  • E1EDL24-CHARG
  • E1EDL24-LFIMG
  • E1EDL24-HIPOS = Item number of main item
  • E1EDL19-QUALF = 'BAS'

Characterics of qualifier 'BAS':

  1. The system does not always carry out a batch split with the qualifier 'BAS'(E1EDL19-QUALF). It carries out a batch split only if:
    • Different batches are confirmed or
    • The subsegment does not confirm the complete quantity
  2. When the system create batch split item, system won't use E1EDL24-POSNR as item number of the new created batch split item.
  3. 'BAS' can be used together with 'PIC' and 'PGI' (E1EDL18-QUALF).

5. Weight and volume verification

It is possible to report back (verify) the gross weight, net weight, and the volume for the entire delivery or for individual items. Using the qualifier in the segments E1EDL18 and E1EDL19, you can control which fields are to be updated in the delivery.

  • E1EDL20-VBELN
  • E1EDL20-BTGEW
  • E1EDL20-NTGEW
  • E1EDL20-GEWEI
  • E1EDL20-VOLUM
  • E1EDL20-VOLEH
  • E1EDL18-QUALF = 'GWT'
  • E1EDL18-QUALF = 'NWT'
  • E1EDL18-QUALF = 'VOL'
  • E1EDL24-POSNR
  • E1EDL24-MATNR
  • E1EDL24-NTGEW
  • E1EDL24-BRGEW
  • E1EDL24-GEWEI
  • E1EDL24-VOLUM
  • E1EDL24-VOLEH
  • E1EDL19-QUALF = 'GWT'
  • E1EDL19-QUALF = 'NWT'
  • E1EDL19-QUALF = 'VOL'

6. Post delivery goods issue

For the goods issue posting, the following additional field must exist.

  • E1EDL20-VBELN
  • E1EDL18-QUALF = 'PGI'

7. Delete delivery

You can delete a delivery in the subsystem if the following fields are transmitted:

  • E1EDL20-VBELN
  • E1EDL18-QUALF = 'DEL'

8. Packing verification (only for creating handling units)

When you report back (verify) handling units, the (external) identification and the packaging material must always be transmitted.

  • E1EDL37-EXIDV
  • E1EDL37-VHILM

If a non-assigned handling unit is to be created, no contents data (items) must be transmitted. If a delivery is packed, the item number and the packed quantity must be transmitted (use the quantity unit of the delivery item). If you have a batch split, use the actual (external) item number.

  • E1EDL44-POSNR
  • E1EDL44-VEMNG

If a handling unit in another handling unit is to be verified (multi-step packing), you must specify the (external) identification of the lower-level handling unit.

  • E1EDL44-EXIDV

This IDoc can only create new HUs. It's not allowed to re-assign existing HU to the delivery.

  • No labels

4 Comments

  1. Hi,

     

    I am trying to post goods issue when a delivery is created. I am using Idoc SHPCON but when the delivery is posted E1EDL18-QUALF has value ORI. If i go to WE19 and enter PGI the goods issue is posted. How can i set this value when the Idoc is executed?


    BR

    1. Using SHPCON to trigger GI means that:

      • A SHPCON idoc was received from external and it triggered GI for relevant delivery.

      It doesn't mean to generate idoc form the current delivery.

      If you want to change QUALF, you firstly need to know how the idoc was created. Did you use any output to generate the idoc?

       

  2. Former Member

    Hi,

    I'm trying to integrate a SHPCON idoc through an inbound interface with qualf 'PIC' and 'PGI' and I get the error message "51: Document is incomplete. You cannot post goods movement", as if we tried to post the goods issue before picking goods.


    Can someone help on this issue please?

     

    Thank you!

    1. Hi,NAIMA YACHOU,

      No one can tell what's the exact root cause by looking at this error ""51: Document is incomplete".

      This is a generic self-explained error. It means that when trying to PGI, delivery is incomplete as per your customizing of incompletion check. You have to find out which field is incomplete.

      There are two possible way to check:

      • option 1: > test to process the idoc with PIC only > then go to vl02n  and try posting GI > check wehther system will issue any error about incompletion. If so, check which field is incomplete.
      • Option 2: > test to process your idoc with both PIC and PGI > start debugging and set breakpoint in FM ws_delivery_update_2 > in this FM, watch internal table XVBUV, where you can find incompletion log.  > find out what incompletion blocks PGI.

      From coding point of view, system can never PGI before PIC. It's not necessary to worry about that. These two qualifier should be working together.

      regards,

      Harry