‎2010 Feb 01 11:50 AM
hello all,
i m calling standard program RBDMON00 (of tcode BD87) in custom program using SUBMIT statement, i declared one selection screen in custom program with required parameter of selection screen of BD87, now i want to skip selection screen of BD87 (that is selection screen of program RBDMON00), but problem is that it is still showing the selection screen of BD87 while it must skip that. plz see my code and help.
Code : REPORT ZMMR0320_03.
tables : BTCH2170, EDIDC.
DATA: TIME_0 LIKE EDIDC-UPDTIM VALUE '000000',
TIME_24 LIKE EDIDC-UPDTIM VALUE '240000'.
SELECTION-SCREEN: begin of block b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN: skip 1.
SELECT-OPTIONS: CRETIM FOR EDIDC-CRETIM DEFAULT TIME_0 TO TIME_24.
SELECT-OPTIONS: CREDAT FOR EDIDC-CREDAT DEFAULT SY-DATUM TO SY-DATUM,
UPDTIM FOR EDIDC-UPDTIM DEFAULT TIME_0 TO TIME_24,
UPDDAT FOR EDIDC-UPDDAT.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: DOCNUM FOR EDIDC-DOCNUM,
STATUS FOR EDIDC-STATUS,
MESTYP for EDIDC-MESTYP NO-DISPLAY.
SELECTION-SCREEN: skip 2.
PARAMETER: r_idoc radiobutton group RAD user-command RADIO,
r_re radiobutton group RAD.
SELECTION-SCREEN: end of BLOCK b1.
IF r_re = 'X'.
SUBMIT RBDMON00 WITH sx_docnu in DOCNUM
WITH sx_creda in CREDAT
with sx_creti in CRETIM
with sx_updda in UPDDAT
with sx_updti in UPDTIM
WITH sx_statu in STATUS
with sx_mesty in MESTYP
AND RETURN.
endif.
i also tried like :
SUBMIT RBDMON00 WITH SELECTION-TABLE i_rsparams AND RETURN.
SUBMIT RBDMON00 USING SELECTION-SETS OF PROGRAM 'ZMMR0320_03'.
but still showing selection screen.
plz help.
regards.
‎2010 Feb 01 1:10 PM
Hi Saurabh,
The screen is displayed when you submit the values to the program RBDMON00. This is because the screen that is displayed is not a Selection Screen. That is a Module Pool screen that is called and cannot be suppressed.
In case of Selection Screen, we can suppress the display of screen, but not in case of Module Pool Screen.
Thanks
Rishi Mirwani
‎2010 Feb 02 3:19 AM
hi rishi & prem,
thanx for reply.....
rishi : i checked this program is executable and screen is defined under selection screen then why it is not bypassing the selection screen? please tell if any other way is there....
prem : i am passing the same values in original BD87 selection screen and it is working fine, but through submit it is not working.
please suggest.
Note : when i copied this standard program in Z program then in include RBDMON00F02 i commented these lines then it is working fine with same input, but here i dont have to use Z program so please suggest me.
IF show_window IS INITIAL.
CALL SELECTION-SCREEN 1100. " i Commented this line...then it is not showing selection screen.
ELSE.
CALL SELECTION-SCREEN 1100 STARTING AT 12 4.
ENDIF.
regards.
‎2010 Feb 01 1:24 PM
Hi,
Check the following:
1. Check whether the inputs that you are passing, are sufficient enough to run the standard report (BD87).
or
2. Try to execute BD87 transaction directly with your inputs and check whether it is working in BD87. If you can execute directly in BD87, obviously it should work thru SUBMIT statement.
If you find any problem in executing BD87 report directly, then solve it and replicate the same in passing parameters.