08-18-2008 7:40 AM
Hi Experts,
is it possible to deactivate the window popup from Report RSEOUT00 ?
I call it into my report by using following code :
SUBMIT rseout00
WITH p_rcvpor = d_portnr
AND RETURN.
Regards,
David
08-18-2008 7:58 AM
Hi,
The only other way I can think of without using BDC okcode on the pop-up box etc. is to use the Submit Via Job option i.e. to submit the RSEOUT program as a background job. I found a nice example under ABAP Keyword Documentation->Call and Exit Program Units->Starting Programs->Calling an Executable Program->Submit->Submit-job_options. It goes like this:
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
...
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
...
ENDIF.
ENDIF.
ENDIF.
Hope this helps.
Cheers,
Sougata.
08-18-2008 7:47 AM
Hi ,
you can not supress the Warning Message Popup in report , that to Submitting One report into Another .
But my suggestion is , palce the Ok code after the your Submit Code .
so that when ever popup comes have bdc ok code on that so that it will be skipped .
Girish
Edited by: Girish Kumar Loganathan on Aug 18, 2008 8:48 AM
08-18-2008 7:58 AM
Hi,
The only other way I can think of without using BDC okcode on the pop-up box etc. is to use the Submit Via Job option i.e. to submit the RSEOUT program as a background job. I found a nice example under ABAP Keyword Documentation->Call and Exit Program Units->Starting Programs->Calling an Executable Program->Submit->Submit-job_options. It goes like this:
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
...
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
...
ENDIF.
ENDIF.
ENDIF.
Hope this helps.
Cheers,
Sougata.
08-18-2008 8:42 AM
Hi Sougata,
it works fine. Thanks a lot !
Rewards OK !
Regards,
David