Thursday 4 August 2011

AFS BAPI for OBD delivery


Hi,

I have kind of requirement where user want to create the Outbound
Delivery via Scanning the Tag(EAN).As VL01n is not supporting this
requirement. So we decided to go for Custom Development.
But I am facing one problem. I am working on BAPI "BAPI_OUTB_DELIVERY_CREATE_SLS" .
I am trying this BAPI to create the Partial Delivery. But it always creating
delivery for all quantity from Sales Order. Going ahead what i can see
here is It has two BADI which User can use before and after Creation of Obd
delivery. I also tried to manupulate the Quantity via this BADI's..But idea is
not working. Do we have any other BAPI/FM in AFS to create the Partial OBD
Delivery?

Regards
Subham

2 comments:

AFS-User-Network said...

Hi Subham,

Quantity can only controlled in 2 ways.

1. ARUN. Only allocate the quantity to deliver.
2. Use a special process to create the batch split items at picking.

Regards,

markus

AFS-User-Network said...

Hello Subham,

( Yes you are correct partial delivery cannot be created via "BAPI_OUTB_DELIVERY_CREATE_SLS" ).

Once a complete delivery gets created via BAPI "BAPI_OUTB_DELIVERY_CREATE_SLS" .
Later you can update the delivery quantity via BAPI "BAPI_OUTB_DELIVERY_CONFIRM_DEC" this BAPI calls Function module
WS_DELIVERY_UPDATE .

Thanks and Regards,
Ravish.