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

screen modification run time

Former Member
0 Likes
355

hello gurus , I m designing a screen for po , in that I want dynamic screen , suppose I have a button , when I wl click that a new window wl come in current scrren , ( like standard FINT tcode , in fi/co ,) hw to do , hw to write code for that , Plz send me some idea .

I m waiting for ur valuable idea .

Regards ,

Joy Chakravorty .

1 REPLY 1
Read only

Former Member
0 Likes
295

Hi,

First define section screen parameters by giving the screen numbers then call the selection screen number in the program when ever it is required

*Check the following code*

SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.

PARAMETERS: CITYFR TYPE SPFLI-CITYFROM,

CITYTO TYPE 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 TYPE SPFLI-AIRPFROM,

AIRPTO TYPE SPFLI-AIRPTO.

SELECTION-SCREEN END OF BLOCK SEL2.

SELECTION-SCREEN END OF SCREEN 500.

TART-OF-SELECTION.

TIT1 = 'Cities for Airports'.

TIT2 = 'Airports'.

CALL SELECTION-SCREEN 500 STARTING AT 10 10.

TIT1 = 'Cities again'.

CALL SELECTION-SCREEN 1000 STARTING AT 10 10.

or

write down the module pool program to handle screens dynamically

Transaction codes are

SE51 -> Screen Painter

SE38 -> ABAP editor

SE93-> Maintain Transaction

Regards

Praneeth