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: 

acording radio buttons code execution

Former Member
0 Kudos

Hi

i am working on a program with a requirement as in the selection screen with 2 radio buttons (1.excel,2.ftp)

if user select 1st radio button then the user should be able to select a list of records(may be in the format of excel or text ) which is prasent on the Desktop if he select 2nd radio button he should be able to selct from FTP serever .. and then execution part all the records in the file should be uploaded in the z table.

helpfull will be rewarded.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

U have to use attributes of SCREEN table to modify the screen fields dynamically...

for more Go through this link..

http://www.sap-img.com/abap/change-the-input-fields-dynamically-in-a-screen.htm

hope helpful

Raghunath.S

4 REPLIES 4

Former Member
0 Kudos

You can call corresponding fm's for each radio button

Former Member
0 Kudos

try this.

selection-screen begin of block b1.

parameters : p_appl radiobutton group rad1 default 'X',

p_fileappl type rlgrap-filename lowercase,

p_local radiobutton group rad1,

p_filelocl type rlgrap-filename lowercase.

at selection screen you can check which raio button is selected by

if p_appl = 'X'.

upload file from apllication server.

elseif p_local = 'X'.

upload file from local server.

endif.

Former Member
0 Kudos

Hi sunny,

Refer this codes,that will solve your issuse.

At selection-screen on value request.

if radio button = 1.

FM : F4_File name.

else.

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

endif.

Hope it is helps.

Regards,

T.Durai murugan.

Former Member
0 Kudos

Hi ,

U have to use attributes of SCREEN table to modify the screen fields dynamically...

for more Go through this link..

http://www.sap-img.com/abap/change-the-input-fields-dynamically-in-a-screen.htm

hope helpful

Raghunath.S