‎2008 Aug 13 6:07 AM
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.
‎2008 Aug 13 6:20 AM
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
‎2008 Aug 13 6:12 AM
‎2008 Aug 13 6:15 AM
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.
‎2008 Aug 13 6:19 AM
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.
‎2008 Aug 13 6:20 AM
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