Skip to Content
author's profile photo Former Member
Former Member

changing selection of radio button programatically

I have a requirement where in when user selects a file using file open dialog, the appropriate

radio button should be selected programatically based on file type. For ex. if user selects '.csv' file the

radio button 'CSV' should be selected automatically & the screen should get refreshed. Now I need to know how the screen should be repainted.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 08, 2007 at 10:11 AM

    Do the necessary coding at

    AT SELECTION SCREEN ON p_file.

    Depending upon this select the radio button.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 10:36 AM

    write the code in

    AT SELECTION SCREEN ON p_file.

    v1 = strlen(p_file).

    v2 = p_file+0(v1-3)

    if v2 = 'CSV'.

    r1 = 'X'

    endif,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.