Application Development 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: 

How get window between selection screen and alv output

Former Member
0 Kudos

Hi Friends,

I am displaying ALV report now i want to display small window with one button and it should show list of fields before displaying alv output.

means i want a window showing list of fields of internal table coming from program.and when i will click on yes button it should show ALV output.

how can i achive this .

Pls. help

thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

I would suggest calling a popup window (you can use function module POPUP_TO_CONFIRM) from your program and then if the answer returned from the function module is your "okay" value, then call the ALV screen. You can put the field names in the message of your popup. I hope this helps.

- April King

Former Member
0 Kudos

Hi Chintan,

What you are asking is not possible. But You can do like selecting the variant from the selection and that variant can be applied to the ALV. This also will fulfulll your requirement also. So save the varinants depending on your requirement and pick them in the selection screen and apply that variant to ALV

Refere the report BCALV_TEST_FULLSCREEN**** reports for the variant help.

Warm Regards,

Vijay

Former Member
0 Kudos

Hi,

Try to use the following command:

<b><i>WINDOW STARTING AT <some-value> <some-value> ENDING AT <some-value> <some-value>.

</i></b>

notice that there is a space between <> <>.

This statement should be used inside the AT USER-COMMAND event.

i.e.,

AT USER-COMMAND.

CASE SY-UCOMM.

WHEN 'XXX'.

<b> <i> WINDOW STARTING AT <> <> ENDING AT <> <>.</i></b>

..............statements....................

..................................................

ENDCASE.

This should help you some what.

Bye