on 05-05-2014 10:13 PM
Hi,
For my custom program to create TOs for OBD, I am using using FM L_TO_CREATE_DN. While doing this I am having a below issue.
I have 2 line items on my delivery 1st line item- material 1- qty 100 and 2nd line item-material 2-qty 100. When TO is created using L_TO_CREATE_DN, the TO was created for the entire delivery even though I entered the values to create only for 50 qty from line item 1. I checked the partial picking indicator and it is "X". I couldn't understand where the issue is and why it is creating the TO for the entire delivery even though I maintained the partial picking indicator.
Please share your thoughts. I appreciate the help.
Thanks
Hello Suresh,
Partial picking indicator doesn't have anything to do with TO creation in this FM.
Instead try adding TABLES part of the statement specifying some data in T_LTAP_VB structure which you will then pass to the FM 'L_TO_CREATE_DN'.
TABLES
T_LTAK STRUCTURE LTAK_VB OPTIONAL
T_LTAP_VB STRUCTURE LTAP_VB OPTIONAL
T_WMGRP_MSG STRUCTURE WMGRP_MSG OPTIONAL
In this structure, you can define line items you want to process, specify quantities like you wish.
Regards,
Mihailo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh
FM L_TO_CREATE_DN is there to create a Transfer order against a delivery. One thing which is not clear from the above thread is "TO was created for the entire delivery even though I entered the values to create only for 50 qty from line item 1" where are you maintaining this entry and how ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.