2011 Jun 30 12:45 PM
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
2011 Jun 30 1:35 PM
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.
2011 Jun 30 2:53 PM
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
2011 Jun 30 8:16 PM
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
2011 Jul 01 5:31 AM
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
2011 Jul 01 6:25 AM
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
2011 Jul 01 6:44 AM
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.
2011 Jul 01 7:11 AM
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'.
2011 Jul 01 7:40 AM
Did you try running your recording directly from SHDB with background processing mode?
2011 Jul 01 8:37 AM
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
2011 Jul 01 8:48 AM
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
2011 Jul 01 8:52 AM
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
2011 Jul 01 9:13 AM
' 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
2011 Jul 01 5:38 AM
2011 Jul 01 6:22 AM
2011 Jul 13 10:39 AM
Thanks to all for the responses.
Used FM. L_TO_CREATE_MULTIPLE