2013 Nov 11 1:08 PM
Hi,
I have developed BDC using session method..whenever i will execute foreground it is working fine and generating ALV report also.But whenever i will execute in background,it is cancelled.Can any one tell me...Why it is happening like this.
SUBMIT RSBDCSUB WITH MAPPE = session_name
WITH VON = SY-DATUM
WITH Z_VERARB = 'X'
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.
Thanks
Hi,
I have developed BDC using session method..whenever i will execute foreground it is working fine and generating ALV report also.But whenever i will execute in background,it is cancelled.Can any one tell me...Why it is happening like this.
SUBMIT RSBDCSUB WITH MAPPE = session_name
WITH VON = SY-DATUM
WITH Z_VERARB = 'X'
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.
Thanks
2013 Nov 11 1:24 PM
Hi,
Please check whether you are using gui_upload or gui_download function modules in your program. They will work only in foreground mode and not in background mode.
Also condense the currency quantity data before passing it to bdc table.
You could also check for error message or warning messages displayed in status bar which you would have excluded in foreground mode.
Best Regards,
Abirami
2013 Nov 11 1:43 PM
Hello
You need to check that ALV custom control will not run in the background mode
After making sure that ALV code is disabled in the background mode
if sy-batch eq 'X'
do not create the ALV
endif..
Then run it again to test
that should work
2013 Nov 12 5:00 AM
Hi Solen,
Thnaks for your reply,but i didn't understand what you are telling..I want to display ALV report for BDC even i will run in Background.Before i have developed ALV report for BDC call transaction for MR21.But now it is not possible for LT12 using session method.
Thanks
2013 Nov 12 5:13 AM
Hi Sai
Can you please elaborate what exactly you are trying to achieve?
Nabheet
2013 Nov 12 6:54 AM
Hi Madan,
Thanks for your reply,I want to execute my BDC in background using Call transaction method.
Filename is my Input.
Thanks
2013 Nov 12 6:58 AM
and that will you are picking from presentation server? If yes i dont think its possible
2013 Nov 12 7:04 AM
Can you please tell me how to do that...I think using Open dataset,Read dataset,closse dataset right..
but where i have to use?
2013 Nov 12 9:02 AM
Hello Sai,
OPEN DATASET and Close DATASET are commands to read a file present in the Application server.
For reading files in the Presentation Server, you can use function modules like GUI_DOWNLOAD GUI_UPLOAD etc.
Best Regards,
Jagraj Singh.
2013 Nov 12 7:08 AM
Remember that BDC can trigger an ALV execution but wont be able to interact with it (ref: 311440 - Batch input and controls) also in background mode most ALV will convert to old ALV list and not Grid which requires an actual GUI session.
Regards,
Raymond
2013 Nov 12 9:34 AM
check your flow of bdc.
1.upload a flat file to internal table
2.open_group
3.loop inside the bdc with five parametrs(program,dynbro,dynbegin,fnam,fval).
4.endloop
5.bdc_insert
6.close_group
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |