2010 Feb 04 1:36 PM
HI,
I want to do in background job schedule for BAPI_DOCUMENT_CREATE2 ,
I have written a program for this BAPI, and uploading a file which is contain ( Doc_no,Doc_part,Doc_type and Doc_ver),
But this is working fine in Foreground ,but i would have requirement to do the same in Background,
Can anyone help what needs to be done ?
Thanks for your help.
Regards,
Prasad.
2010 Feb 04 3:05 PM
If you use the GUI Upload functionality by using FM GUI_UPLOAD or the method GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES does not works at background mode try to use the commands
OPEN DATASET and READ DATASET
Hi,
Thanks for your answere, But my question is that, how to upload data instead of using GUI_UPLOAD or CLASS cl_gui_frontend services ? Because my requirement is that, it would pick a file from front end(Local drive or netwrok folder), run in backgorund,
they must schedule a job in Background!
Any other alternate solution for this ?
Thanks in Advance for your help.
Regards,
Prasad.
2010 Feb 04 3:05 PM
If you use the GUI Upload functionality by using FM GUI_UPLOAD or the method GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES does not works at background mode try to use the commands
OPEN DATASET and READ DATASET
2010 Feb 05 7:34 AM
Hi,
Thanks for your answere, But my question is that, how to upload data instead of using GUI_UPLOAD or CLASS cl_gui_frontend services ? Because my requirement is that, it would pick a file from front end(Local drive or netwrok folder), run in backgorund,
they must schedule a job in Background!
Any other alternate solution for this ?
Thanks in Advance for your help.
Regards,
Prasad.
2010 Feb 05 8:29 AM
2010 Feb 05 7:52 AM
Hi,
For foregroung uploading of file you can use Gui_upload,
But for backgroung uploading you can only upload the file
from the application server using Open Dataset and Read Dataset statements.
Hope it helps
Regards
Mansi
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |