2016 Jun 13 8:48 AM
Hi All,
I'm developing one report for showing opening and Closing balance. So we use standard report (MB5B). I'm directly use submit statement in my report. We satisfied with the report output but we don't want to too many fields in selection screen. So that we use loop at screen in At Selection-screen Output event but they didn't work .So please suggest me how can we make invisible that field.
Thanks and Regards,
Suprit Patil.
2016 Jun 13 8:56 AM
Just add NO-DISPLAY.
Sample:
PARAMETERS: p_test type string NO-DISPLAY.
SELECT-OPTIONS: so_test FOR mara-matnr NO-DISPLAY.
2016 Jun 13 8:56 AM
Just add NO-DISPLAY.
Sample:
PARAMETERS: p_test type string NO-DISPLAY.
SELECT-OPTIONS: so_test FOR mara-matnr NO-DISPLAY.
2016 Jun 13 9:00 AM
Dont you this code to hide fields at selection screen but use under the event AT SELECTION-SCREEN OUTPUT.
and also that should be like this:
Loop at screen.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
modify screen.
endloop.
Please note that this code snippet should be the last code snippet under AT SELECTION-SCREEN OUTPUT event.
2016 Jun 13 9:23 AM
Hi,
You declare the required fields alone in the custom program selection screen.
When you call the submit statement to standard program pass the values from custom program to standard. Submit and get return values into custom program and it won't show standard report selection screen.
Regards,