‎2009 Jun 03 7:25 AM
hey guys,
i want to submit a report(rep2) from my report.(rep1)
rep2 has selection-screen.(it also has ldb associated).
i am apssing all the data for selection-screen(of rep2) using an itab.
but now i dont want selection-screen of rep2 to be displayed when rep1 is executed.
how to go about?
‎2009 Jun 03 7:39 AM
Hello,
You can avoid showing the selection screen with the addition "NO DISPLAY" in the submit statement.
Thanks,
sowmya
‎2009 Jun 03 7:28 AM
Dear ,
Use parameter id to pass fields for selection screen and then use as
Call Transaction 'Tcode' and skip first screen.
Hope this will work for you.
Regards,
Vijay
‎2009 Jun 03 7:31 AM
take out the via selection -screen addtion in the submit statement, then selection screen will not be
displayed.
‎2009 Jun 03 7:31 AM
‎2009 Jun 03 7:37 AM
SUBMIT Z15KR500_NEW WITH C_RANGE IN U_RANGE AND RETURN.
RANGES: U_RANGE FOR ZRANGE2-FIELD.
zrange2 is a structure with mandt and field as fields field is char32 field.
‎2009 Jun 03 7:39 AM
Hello,
You can avoid showing the selection screen with the addition "NO DISPLAY" in the submit statement.
Thanks,
sowmya
‎2009 Jun 03 8:18 AM
r u sure their is NO-DISPLAY variant for SUBMIT?
pls give me the code.
‎2009 Jun 03 8:35 AM
Hi Kumar,
All you need is this:
SUBMIT rep2 WITH SELECTION-TABLE itab.
Itab must be of type RSPARAMS and must hold information about all selection screen parameters.
Selection screen by default here is suppressed (executed in background). If you want to bring it to fronend you simple add VIA SELECTION-SCREEN addition at the end of above statement.
Regards
Marcin
‎2009 Jun 03 8:39 AM
yea right,thats what should happen.
i think there are some validation events on selection-screen of rep2 that are making the selectionscreen appear.
thanks for the info,i will check and come back.
‎2009 Jun 03 8:41 AM
Yes, if the screen pops up even you instructed it not to, notice if on the status bar you receive any error message. It can be, as you say, some validation not fullfilled. Ensure you are passing all mandatory fields in your itab.
Regards
Marcin
‎2009 Jul 02 6:41 AM
‎2009 Jun 03 7:40 AM
Dear Kumar,
you can use the below specified variants
SUBMIT <REPORT NAME>
1. ... USING SELECTION-SET vari
2. ... WITH p op f SIGN s
3. ... WITH p BETWEEN f1 AND f2 SIGN s
4. ... WITH p NOT BETWEEN f1 AND f2 SIGN s
5. ... WITH p IN sel
6. ... WITH SELECTION-TABLE seltab
7. ... WITH FREE SELECTIONS texpr
Eg.,
CLEAR paramtrs.
REFRESH paramtrs.
PERFORM append_selection_table USING :
'SO_NUM' 'P' 'EQ' 123456
'ITEM' 'P' 'EQ' abcdef,
'POS' 'P' 'EQ' 10.
SUBMIT <abc> WITH SELECTION-TABLE paramtrs AND RETURN.
FORM append_selection_table USING fname ftype fopre fvalue.
MOVE : fname TO paramtrs-selname,
ftype TO paramtrs-kind,
fopre TO paramtrs-option,
fvalue TO paramtrs-low.
APPEND paramtrs.
ENDFORM.
where SO_NUM, ITEM AND POS are the report abc's input selection screen.
‎2009 Jun 03 8:34 AM
Create a selection table with type rsparams.
Fill Your selection screen entries inside this.
then call SUBMIT rep2 WITH SELECTION-TABLE (SELECTION TABLE NAME) AND RETURN.
‎2009 Jun 03 9:43 AM
Hi,
Use MODE define.
Try this code:-
PARAMETERS MODE NO-DISPLAY DEFAULT 'X'.
SUBMIT rep2 USING SELECTION-SETS OF PROGRAM 'rep1'
WITH pypernr IN pypernr " variable
WITH mode = mode
AND RETURN EXPORTING LIST TO MEMORY.
‎2023 Sep 06 10:00 PM
It worked Thank you , and mode is not required to skip selection screen.
Solution is: submit <report> with selection table <table> and return exporting list to memory.
‎2009 Jun 20 11:47 AM