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

BDC Issue

Former Member
0 Likes
877

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

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
733

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

4 REPLIES 4
Read only

Former Member
0 Likes
733

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

Read only

mvoros
Active Contributor
0 Likes
734

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

Read only

Former Member
0 Likes
733

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

Read only

mvoros
Active Contributor
0 Likes
733

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