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: 

Problem with BDC for LT06

Former Member
0 Kudos
510

Hello All,

I am facing an issue with BDC processing of LT06. I creating the Transfer Order for material document but the BDC processing is stopped after the warning of ' Check entries'.

I've tried executing it in the background as well but the processing stops at the next screen after the warning and recording is not executed for the 'Generate + Next Button' in LT06.

Please suggest how can the problem be solved.

Thanks

Edited by: neha jindal on Jun 30, 2011 1:46 PM

15 REPLIES 15

Rushikesh_Yeole
Contributor
0 Kudos
164

Check entries. If this meesage is warning , it will be suppressed by BDC but Enter key should be recored in recording.

If it is error, you have to check the entries.

When reocrding, always try to use key board keys in place of mouse. Use function code for generate + Transafer.

Try with corrected new recording.

Former Member
0 Kudos
164

Hi Neha,

I would suggest you to perform the process of TO creation using FM and not BDC, as BDC is very unpredictable and in later stage also it can fail if suppose a new screen is modified or some screen enhancements are done.

Better try using BAPI or FM to achieve this...

Try FM :

L_TO_CREATE_TR

Thanks,

Ravi Aswani

Sandra_Rossi
Active Contributor
0 Kudos
164

Hi,

I agree with Ravi Aswani, and another advantage is that the FM is also much performant.

2 remarks about what was said in that thread:

I've tried executing it in the background as well but the processing stops at the next screen after the warning and recording is not executed for the 'Generate + Next Button' in LT06.

It looks like that you didn't activate the "continue after COMMIT".

If this meesage is warning , it will be suppressed by BDC but Enter key should be recored in recording.

About the Enter key, NO! The Enter key is not recorded, warnings and Information messages are all systematically ignored during BDC (during both recording and execution).

BR

Sandra

0 Kudos
164

Thank you all for your responses.

the warnign message is ignored , the issue is only with the 'Generate + next Button'

@Sandra :- Please let me know from where can I activate the 'Continue after commit' .

Regards,

Neha Jindal

0 Kudos
164

I tries using the function key for 'Generate + Next' ( Shift F4) but still the while processing it stops at the same screen and 'Generate + next' is not executed.

If I use the Function module ..... I do not have all the parameters to pass to . I need to pass the storage type alongwith storage unit type. I didn't find storage type( LGTYP) in tables LTAP or LTAK

Thanks

0 Kudos
164

HI,

I am not very sure if this will work, but it did for me once. Try adding a new line in your recording with function key /00.

And did you try running your recording directly? Does it work then ?

Suzie.

0 Kudos
164

I've already tried executing the /'00' also but its not working. If I try to execute the BDC directly it stops at the same point 'Generate + next'.

0 Kudos
164

Did you try running your recording directly from SHDB with background processing mode?

0 Kudos
164

Hi Neha Jindal,

Please let me know from where can I activate the 'Continue after commit'.

In SHDB and in CALL TRANSACTION ... OPTIONS FROM struct, where struct-racommit = 'X'

If you do the recording (SHDB) with 'continue after commit', and it still stops, then it means the issue is not with the COMMIT (and so it's useless to try with CALL TRANSACTION).

If it still doesn't work, do you have some messages returned (whatever their type is)? Did you try to execute with mode "display from error screen", does it succeed if you press the remaining function keys yourself?

Sandra

0 Kudos
164

I've tried executing the BDc with ' continue after commit' but still the BDC stops.

There are no messages in foreground mode and in background mode it gives the error ' No Batch Input for Screen '.

The processing is simply stooped at the screen of 'Generste + next'.

I also tried using the F.M. , but it gives error that enter storage unit type whcih I've already given in input ( LTAP-LETYP).

Thanks

0 Kudos
164

In sm30, when u run the BDC, there will be a checkbox 'Not a Batch Input Session'. Check it and try again.. If it still does not work, try re-recording your BDC

Suzie

0 Kudos
164

' No Batch Input for Screen '

That is the reason why it stops: it means that SAP tries to display a screen which does not correspond to the next screen defined in your internal table. As Suzie suggests, redefine your recording (SHDB) (the "not a batch input session" does sometimes do the trick, try without and then with)

BR

Sandra

lijisusan_mathews
Active Contributor
0 Kudos
164

HI,

is the processing Synchronous or Asynchronous ?

Suzie

0 Kudos
164

I am using Call transaction method ( Asynchronous)

Former Member
0 Kudos
164

Thanks to all for the responses.

Used FM. L_TO_CREATE_MULTIPLE