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: 

File handling both Local and application server

Former Member
0 Kudos

Hi,

I have a requirement, like i have a selection screen in that two radio buttons one for Local file and other one for application server....I have a parameter 'file name' with input box ...i need a logic , if i select Local file radiobutton it should provide F4 help for parameter 'file name' in the Presentation server... and if i select radiobutton for Application server , i should provide f4 help for filename for file in the application server....

Please provide me the logic....

Thanks

Saravan

Moderator Message: Similar requirements have been discussed in the forum. Please search.

Message was edited by: Suhas Saha

1 REPLY 1

Former Member
0 Kudos

Code your radiobutton group with a user command addition in the selection screen.  code your At selection-screen output event to get your F4 list for your default pushbutton setting.  If the user  changes the radiobutton selection, the at selection-screen output event will trigger again, and you will replace the content of the F4 list with the list for the device/folders,etc. as appropriate (based upon the user's pushbutton selection).

BTW, you should see most, if not all, of what you need in Help for SELECTION-SCREEN and Help for AT SELECTION-SCREEN events.  And, you could search the forum, since selection screen questions are frequently asked and answered.  Suggest you first start with help and forum search prior to posting;  most of your questions will be answered without creating a post!  Note that these forums are not intended to be code writing services.

For directory listings on the apps server, I particularly like FM EPS2_GET_DIRECTORY_LISTING, and see the methods of class CL_GUI_FRONTEND_SERVICES, particularly method DIRECTORY_LIST_FILES to get desktop folder file lists.