‎2009 Oct 27 9:21 PM
I tried creating a BDC of LT10 to create To's
1. Based on warehouse no., storage type, plant, storage location.
2. Then selecting all (Button)
3. Clicking stock transfer background (button).
But for some reason, the BDC is working fine when run as a foregound , but is unable to process all the records when run in Back ground. Does some one have any insight on that.
Also, can some one propose any function module to create TO, with the above said parameters given
‎2009 Oct 27 10:26 PM
Hi,
if you still have a problem with batch input you can try to write your own report and use FM L_TO_CONFIRM. We use it in our programs to confirm TOs. There are some other variants of this FM. Just look for L_TO_CONFIRM* in SE37.
There are also couple of FMs for TO creation. Look for L_TO_CREATE*.
Cheers
‎2009 Oct 27 9:53 PM
LT10 is an ALV report. So it may not allow you to do BDC on it in background. You may need to submit the report to Memory read it back and then call BDC based on the values selected.
You will be better off creaing custom report with SELECTION logic similar to LT10 and then do the BDC or Function call to create TO
Edited by: Cyril Alex on Oct 27, 2009 10:53 PM
‎2009 Oct 27 10:26 PM
Hi,
if you still have a problem with batch input you can try to write your own report and use FM L_TO_CONFIRM. We use it in our programs to confirm TOs. There are some other variants of this FM. Just look for L_TO_CONFIRM* in SE37.
There are also couple of FMs for TO creation. Look for L_TO_CREATE*.
Cheers
‎2009 Oct 28 1:38 AM
Thanks martin,
Can you please provide me with a sample data (Minimum data), to execute the fn module, I'm unable to figure out the minimal data required to create TO.
Thanks
‎2009 Oct 28 2:28 AM
All those FMs are used by SAP. So you can have a look there how to use them. It also depends how you want to create TO. For delivery note, for transport requirement or with single line? I remember that it returns messages with good description of problem.
Cheers