Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI required

Former Member
0 Kudos

Hi,

i was tryiing to incorporate the functionality of the transaction VLSP( subsequent outbound delivery split) in one of the batch program creating delivery to split the deliveries created.

I was advised by the forum member to use BAPI_outb_DELIVERY_SPLIT_DEC for spliting the delivery which is of very much use for me to split the open order which are without the packing but i am unable to split the delivers which have handling units present (i.e which have packing).

i would request the group to advice if any one has done program using any bapi to split deliveries having handling units, pls reply back.

Pls treat this as urgent.

Thanks in advance

Roopa

3 REPLIES 3

Former Member
0 Kudos

Hi,

has anyone tried to split the handling unit after delivery.

0 Kudos

Hi

Take a look at the link

http://sapass.metro.client.jp/Bapi/LIKP.htm

SplitDecentral

This method allows outbound deliveries that were split in a WarehouseManagement (WM) system from an original outbound delivery to be splitin the Enterprise Resource Planning (ERP) system as well. This methodis normally carried out immediately before the WM system confirms the

outbound delivery. If they are carried out asynchronously using IDocs, both methods must be serialized using the object type.

Once the outbound delivery is created in the ERP system (referred to asthe "original delivery" in the following) and replicated in the WM system, you can process it normally. If several other outbound

deliveries (referred to as "split deliveries" in the following) arecreated from this original delivery by way of a subsequent deliverysplit, you must use this method to create these split deliveries in the ERP system.

In the SAP standard system, this method is linked to the following scenario:

As goods issue is posted for an outbound delivery, the systemdetermines whether this delivery was involved in a split process. Thisis the case if this outbound delivery is the original delivery itself,which was already created in the ERP system, or if this outbound

delivery was created in the WM system as a result of a split. In bothcases, it does not matter whether the delivery was split directly fromthe original delivery or from a delivery that was split previously.

If a split delivery is posted goods issue, this method is used to

create the new delivery from the original delivery (or reference delivery--see below).

The DELIVERYITEMSBELONGTO parameter contains value 'N' in thiscase and the items in the split delivery are listed in the ITEMDATA table.

If the original delivery is posted goods issue, this method is used tocreate one of the new deliveries (result of the split in the WM system)in the ERP system at this point, for use with future calls. Once theoriginal delivery is posted goods issue in the ERP system, the new

delivery assumes the role of the original delivery and serves as areference delivery for splitting other outbound deliveries in all future calls.

In this case, the DELIVERYITEMSBELONGTO parameter contains value 'O' and the items in the original delivery that are to be posted

goods issue are listed in the ITEMDATA item table.

You must specify a split profile in the BUSINESSPROCESS parameter in the interface for the subsequent outbound-delivery split that is to be carried out in sequence. In the SAP standard

system, this split profile is the same one that is used to split the outbound delivery in the WM system. Split profiles must be maintained in the ERP system in Customizing for subsequent deliveries, but not necessarily the same wayas they are maintained in the WM system.

The system overrides and deactivates the following Customizing settings in this method during the delivery split:

Renumber item numbers in old deliveries

Renumber Items in New Delivery

Delete Normal Items with Quantity 0

Delivery Group Splits Not Allowed

Delete Items from Delivery Groups if Quantity is 0

Check Complete Delivery Indicator During Delivery Split

Check Number of Partial Deliveries During Split

Control when Correlated Bills of Material are Split

Copy Text Item with Quantity 0 Automatically

If Split Results Same as Orignial Delivery, Then No Split

At item level, a quantity is specified for each item number. Thisquantity reflects the quantity of the item that is to be included in

the split delivery or the quantity that is to remain in the original delivery. The quantity to be split is limited by the existingquantity. If the OutboundDelivery.ConfirmDecentral method iscalled up following this process, the quantities in the delivery that

was posted goods issue are corrected. If the original delivery isposted goods issue after these methods were called up, the referencedelivery contains all items in the original delivery, including the ones with a quantity of zero.

The CURR_QTY field controls which field the structure of the ITEMDATA parameter will appear in:

'A': DLV_QTY (Quantity to be split, given in sales units)

'B': DLV_QTY_STOCK (Quantity to be split, given in base units)

Both of these values must be able to be converted to one another by using SALES_QTY_NUM and

SALES_QTY_DENOM , however. The unit of measure can be specified in SAP units (SALES_UNIT, BASE_UNIT) or in ISO units(ISOCODE_SALES_UNIT, BASE_UOM_ISO).

Handling Units cannot be split, meaning that the items/quantities that are to be split may not be packed.

Cheers

VJ

ferry_lianto
Active Contributor
0 Kudos

Hi Roopa,

You need to do in two steps.

Please use <b>BAPI_DELIVERYPROCESSING_EXEC</b> to create the delivery, then use <b>WS_DELIVERY_UPDATE</b> to update the batch split and handling unit assignment.

Hope this will help.

Regards,

Ferry Lianto

Please reward point if helpful.