2015 May 13 2:39 PM
Hi All,
I am executing F.61 using BDC, FOREGROUND its working fine and its generating spool request number.
when i keep same bdc program its not generating spool request.
Regards,
Abdul Gaffar M.
2015 May 14 2:45 AM
Hi abdul,
When you mentioned that in the background does not generate the expected result, you say that this is a process that will run from a job (SM36/SM37) or not show the user the input dialogs (mode "E" or "N") ?
Why I ask this ... In some cases (if appropriate background via CALL TRANSACTION), when using the "A" mode (Shows Windows) you can fix the input of the BDC when it is wrong. When allowed to in "E", the program will stop so finding some input error. The mode "N" will not stop, but will return error messages in the table that you mention in the MESSAGES parameter, except when found a break-point.
My advice is that if you are using parameters before calling the CALL TRANSACTION ("A" for Online, "E" or "N" for background) leave as "E" to the background mode and run the test again.
Now, if it's a job, there are probably some variable with default settings, check that it is sending data correctly for your program.
BR,
Raphael Pacheco.
2015 May 14 7:20 AM
Hi Raphael,
Thank you for suggestion.
Initially i tried with "E:" then changed to "N".
But there was no change in the process.
One thing strange is that, when i am running this F.61 in the background, while doing debugging for background job means its just creating endless loop.
Here in image you can see that when sy-batch is initiated means contains 'X' means it just passing message as information,
if i am overwriting with debugging means it's perfectly working.
could any one suggest me how to over come.
In bdc i changed value from sy-batch = ''.
but while calling this report "SAPF140" its over written.
Kindly help me to sort this issue.
Regards,
Abdul Gaffar M.
Message was edited by: abdul gaffar