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 / FM for TO creation for a delivery

Former Member
0 Kudos

Hello ,

Is there some BAPI which can be used to create transfer order for a delivery , some thing similar to LT03 transaction.

Also is there some FM , which will give the possible storage units that can be used for TO creation .

I found few FM's like L_TO_CREATE_DN , L_TO_CREATE_STOCK_LIST_INT are there other FM available.

Regards

Arun

1 ACCEPTED SOLUTION

former_member582701
Contributor
0 Kudos

We use L_TO_CREATE_TR function to crete the TO. But it is base on material document so I suppose you have to use L_TO_CREATE_DN to create the TO based on a delivery.

It is important to fill IT_TRITE table in L_TO_CREATE_TR or IT_DELIT in L_TO_CREATE_DN in order to inform the storage bin, storage type, storage unit, etc that you want. If you don't use that tables they will be generated automatically by standard like LT03/LT06.

Regards,

Manel

2 REPLIES 2

former_member582701
Contributor
0 Kudos

We use L_TO_CREATE_TR function to crete the TO. But it is base on material document so I suppose you have to use L_TO_CREATE_DN to create the TO based on a delivery.

It is important to fill IT_TRITE table in L_TO_CREATE_TR or IT_DELIT in L_TO_CREATE_DN in order to inform the storage bin, storage type, storage unit, etc that you want. If you don't use that tables they will be generated automatically by standard like LT03/LT06.

Regards,

Manel

Former Member
0 Kudos

Hi,

am trying to create a WM transfer order for a delivery note, much like you would do online with an LT03. I am currently using L_TO_CREATE_DN which works fine, but does not allow me to update the ZEUGN field which is important to our design.

I am using the table IT_DELIT to populate the tranfer order line items. There is another table called T_LTAP_VB but I can't seem to get anything to post when I use it.

Has anyone been able to get this to work where they are able to update fields besides what is found in IT_DELIT? I am open to using a different fm or bapi. Requirements are to create a WM Transfer Order for a Delivery (update all the links like document flows), and populate the ZEUGN field (part of LTAP table) in the process and receive feedback to the calling program.

And also providing you Soame BAPI's

L_TO_CREATE_SINGLE Create a transfer order with one item

L_TO_CREATE_MULTIPLE Create a transfer order with two or more items

L_TO_CREATE_MOVE_SU Create a transfer order to move a storage unit

L_REF_CREATE Create transfer orders using multiple processing

L_TO_CREATE_2_STEP_PICKING Create transfer orders for 2-step picking

L_TO_CREATE_POSTING_CHANGE Create transfer orders for posting changes

L_TO_CREATE_TR Create a transfer order for a transfer requirement

regards

kk