Application Development and Automation 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: 
Read only

Automate Partial Delivery

hitesh2
Participant
0 Likes
747

Hello,

I have created Call Transaction program to create deliveries. What is happening is, if Sales order has partially delivered then also it creates delivery for all Line items for that customer. ( Customer is setup in Customer master for partial Delivery ). But what i want is to only automate delivery creation for Line items which are fully delivered.

Thanks.

Hitesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
693

Hi Hitesh,

Check for the field in VBAK, AUTLF which is delivery complete indicator.

If VBAK-AUTLF ='X'. then complete delivery,here you can automate the delivery.

Hello,

I have created Call Transaction program to create deliveries. What is happening is, if Sales order has partially delivered then also it creates delivery for all Line items for that customer. ( Customer is setup in Customer master for partial Delivery ). But what i want is to only automate delivery creation for Line items which are fully delivered.

Thanks.

Hitesh

4 REPLIES 4
Read only

Former Member
0 Likes
694

Hi Hitesh,

Check for the field in VBAK, AUTLF which is delivery complete indicator.

If VBAK-AUTLF ='X'. then complete delivery,here you can automate the delivery.

Read only

0 Likes
693

Phani,

I am okay with creating deliveries with which are completly delivered. Only problem in programming Call transaction is, in case of partially delivered sales order, i want to create delivery for Line Items which are fully delivered and skip line items which are not delivered.

I am using VL04 transaction to create delivery, question is how i am going to check if that line item is fully delivered and include in delivery creation

Thanks.

Hitesh

Read only

0 Likes
693

Hi Hitesh,

try to select data from table VBFA.

Enter VBELV & POSNV from VBAP where VBTYP_N = 'J' which is for document category for delivery.Check if you have values for VBELN & POSNN.If you have then delivery is done,if not then it is in partial delivery.

Read only

0 Likes
693

Phani,

I am using VL04 transaction for automation, i don't see any option to select sales order number and line item.

Thanks.

Hitesh