Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Make Invisible fields in selection screen

Former Member
0 Likes
3,771

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,901

Just add NO-DISPLAY.

Sample:

PARAMETERS: p_test type string NO-DISPLAY.

SELECT-OPTIONS: so_test FOR mara-matnr NO-DISPLAY.

3 REPLIES 3
Read only

Former Member
0 Likes
1,902

Just add NO-DISPLAY.

Sample:

PARAMETERS: p_test type string NO-DISPLAY.

SELECT-OPTIONS: so_test FOR mara-matnr NO-DISPLAY.

Read only

sanjeev_mishra_15aug
Active Participant
0 Likes
1,901

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.

Read only

Former Member
0 Likes
1,901

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,