2009 Feb 16 5:11 PM
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.......
2009 Feb 16 5:15 PM
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
2009 Feb 16 5:15 PM
screen painter is the only way to do this. check with OO ALV concpets and this shud help
2009 Feb 16 5:15 PM
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.
2009 Feb 16 5:21 PM
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.
2009 Feb 16 5:26 PM
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.
ENDMODULEThis codes will work.
regards,
Gurpreet
2009 Jun 09 3:05 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |