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

Selection Screen and Output

Former Member
0 Likes
910

Hi,

I am developing one report. My customer is requested me he needs Selection-screen and Output of the report both need in the same screen i.e upper part is selection screen below is the Output..

Is it possible?

If YES could you please help me..........?

Thank you advance.......

Hi,

I am developing one report. My customer is requested me he needs Selection-screen and Output of the report both need in the same screen i.e upper part is selection screen below is the Output..

Is it possible?

If YES could you please help me..........?

Thank you advance.......

6 REPLIES 6
Read only

Former Member
0 Likes
856

hi,

The output you are referring to is on a basic list.?? In that case, its not possible to have both the screen and list output on the same screen.

The selection-screen refreshes the list output, hence you cannot see list output.

Moreover its like trying to have both states which are mutually exclusive at the same time.

Selection screen is about PBO Process before output

LIst output is with respect to PAI Process after input.

Hence it may not be possible for the mutual existence.

Thanks

sharath

Read only

prabhu_s2
Active Contributor
0 Likes
856

screen painter is the only way to do this. check with OO ALV concpets and this shud help

Read only

gaursri
Active Contributor
0 Likes
856

Hi Kishore,

It is possible create the upper block using selection-screen this will be screen 1.Then create the another block and use INCLUDE to include the upper block.Hope your query resolves.

An example to create selection-screen.

SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
  PARAMETERS: CITYFR LIKE SPFLI-CITYFROM,
CITYTO LIKE SPFLI-CITYTO.
SELECTION-SCREEN END OF BLOCK SEL1.

SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
  SELECTION-SCREEN INCLUDE BLOCKS SEL1.
  SELECTION-SCREEN BEGIN OF BLOCK SEL2 
WITH FRAME TITLE TIT2.
    PARAMETERS: AIRPFR LIKE SPFLI-AIRPFROM,
AIRPTO LIKE SPFLI-AIRPTO.
  SELECTION-SCREEN END OF BLOCK SEL2.
SELECTION-SCREEN END OF SCREEN 500.

We can use loop at screen to make it active or inactive at user command.That is enter or F8 whatever user chooses.

Have a best day ahead.

Read only

Former Member
0 Likes
856

Hey kishore,

You can create a subscreen or popup with the selections and have it triggered with a pushbutton on the basic list ( create this in your pf-status ). when the user wants different selection, he would click the button to popup for selections and then with the execute on the subscreen show him new list output. check if this suits your need.

Read only

Former Member
0 Likes
856

Hi,

Selection-screen begin of screen 100.
select-options: comments .
selection-screen end of screen 100.

Star-of-selection.
CALL selection-SCREEN 100 STARTING AT 10 5
ENDING AT 50 10.

MODULE value_list OUTPUT.
SUPPRESS DIALOG.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
SET PF-STATUS space.
NEW-PAGE NO-TITLE.

select single bukrs from <Databasetable> into <ITAB>-field
where name1 = name1.

Write : / Itab-field.

Endselect.
ENDMODULE

This codes will work.

regards,

Gurpreet

Read only

Former Member
0 Likes
856

The problem has been solved