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

Function module / BAPI to Confirm Transfer Order with difference

Former Member
0 Likes
2,864

Hi All,

My Scenario & requirements are !

I have done a batch split ...

From Delivery D1 with batches B1 (1 RL) , B2(1 RL) , B3 (1 RL) --> through batch split (BAPI_OUTB_DELIVERY_SPLIT_DEC) i created a new delivery D2 and attached batch B3 (1 RL) to it.

Now,

D1 will be with batch B1 and B2 - with 1 RL each

D2 will be with batch B3 - with 1 RL.

A UOM Conversion has to be done for the new delivery .... UOM : 1 RL = 10 MSF (say) , Also, the requested delivery quantity in my new delivery was just 5MSF. So... after conversion and as per requirement *My new delivery D2 with Batch B3 got created in MSF of 5 Qty.

Further Steps & Outcome: in Picking the 5 Qty in D2....

1. Iam using "L_TO_CREATE_DN" to create the Transfer order for Delivery (D2) => TO getting created with Qty 10MSF

2. Iam using "L_TO_CONFIRM_DIFF_ALLOWED" to confirm the difference quantity ( TO to pick only 5 MSF which is the actual qty requested to be confirmed)

3. Then Iam using "L_TO_CONFIRM" for a final confirmation!.......

Still the confirmation is happening only for 10 MSF and not 5 MSF....

In a nutshell Iam not able to create a TO with diffence in actual qty and target qty!

Expecting some lights to be thrown on this issue!

Thanks in advance!

Cheers,

Kripa Rangachari.

1 REPLY 1
Read only

Former Member
0 Likes
1,204

Hey guys ....

Finally, the outcome what I got is .... when you create the TO from delivery screen (Standard transaction) and in the TO screen, you have an option of {Foreground / Background}. If you select 'Background' the standard transaction also not allowing for partial TO confirmation.

Hence the scenario what Iam trying to execute through function module works exactly like 'Background' mode. Hence it dint allow for any partial quantity confirmation.

Conclusion : It is not an issue but a standard flow as such :).... So closing the thread !!!

Cheers,

Kripa Rangachari.