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: 

at selection screen logic

Former Member
0 Kudos
59

I have 2 radio buttons full and delta extract.

if i choose full, erdate should be disabled and customer shud be enabled.Its fine till here.i am handling this in at selection-screen output.

if i choose delta, a vice-versa should happen.

I am missing some parameter.

Can some one help me this.

am handling this in at selection-screen.

Thanks

Kiran

4 REPLIES 4

Former Member
0 Kudos
29

Try this,

-


*

  • *

  • S E L E C T I O N S C R E E N *

  • *

----


SELECTION-SCREEN BEGIN OF BLOCK sel WITH FRAME TITLE text-001.

  • Selection screen for loading the file in Internal Table.

SELECTION-SCREEN BEGIN OF BLOCK load WITH FRAME TITLE text-003.

PARAMETERS: p_lapp RADIOBUTTON GROUP upld DEFAULT 'X' USER-COMMAND

click,

p_lpre RADIOBUTTON GROUP upld.

  • Selection Screen for the Application Layer.

SELECTION-SCREEN BEGIN OF BLOCK select_1 WITH FRAME TITLE text-002.

PARAMETERS: p_ufile1 TYPE dxfile-filename MODIF ID sl1.

SELECTION-SCREEN END OF BLOCK select_1.

  • Selection Screen for the Presentation Layer.

SELECTION-SCREEN BEGIN OF BLOCK select_2 WITH FRAME TITLE text-002.

PARAMETERS: p_pfile1 TYPE ibipparms-path MODIF ID sl2.

SELECTION-SCREEN END OF BLOCK select_2.

SELECTION-SCREEN END OF BLOCK load.

  • Selection screen for Downloading the file.

SELECTION-SCREEN BEGIN OF BLOCK dwload WITH FRAME TITLE text-004.

PARAMETERS: p_dapp RADIOBUTTON GROUP dwld DEFAULT 'X' USER-COMMAND

click1,

p_dpre RADIOBUTTON GROUP dwld.

  • Selection Screen for the Application Layer.

SELECTION-SCREEN BEGIN OF BLOCK select_3 WITH FRAME TITLE text-002.

PARAMETERS: p_ufile2 TYPE dxfile-filename MODIF ID sl3.

SELECTION-SCREEN END OF BLOCK select_3.

  • Selection Screen for the Presentation Layer.

SELECTION-SCREEN BEGIN OF BLOCK select_4 WITH FRAME TITLE text-002.

PARAMETERS: p_pfile2 TYPE ibipparms-path MODIF ID sl4.

SELECTION-SCREEN END OF BLOCK select_4.

SELECTION-SCREEN END OF BLOCK dwload.

  • Check Box for the Test Run.

PARAMETERS: p_test TYPE c AS CHECKBOX DEFAULT 'X' USER-COMMAND check.

SELECTION-SCREEN END OF BLOCK sel.

----


  • Event: At Selection Screen Output for Selecting the Text box *

  • on click of the RadioButton. *

----


AT SELECTION-SCREEN OUTPUT.

IF p_p_lapp EQ c_check.

LOOP AT SCREEN.

IF screen-group1 = c_sl2.

screen-active = 0.

MODIFY SCREEN.

CLEAR p_p_dpre.

p_p_dapp = c_check.

ENDIF.

IF screen-group1 = c_sl4.

screen-active = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ELSE.

LOOP AT SCREEN.

IF screen-group1 = c_sl1.

screen-active = 0.

CLEAR p_p_dapp.

p_p_dpre = c_check.

MODIFY SCREEN.

ENDIF.

IF screen-group1 = c_sl3.

screen-active = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Thanks,

Jayant Sahu

raymond_giuseppi
Active Contributor
0 Kudos
29

There are many threads on this subject, [do a little search at sdn|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=radiobuttonLOOPATSCREENATSELECTION-SCREEN&adv=false&sortby=cm_rnd_rankvalue].

Regards

Former Member
0 Kudos
29

Hi,

Can you send the code you have written for this particular portion.

Regards,

Sujit

Former Member
0 Kudos
29

solved on my own.

I completely handled in at selection-screen output.

thanks for ur time

kiran