Application Development and Automation 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: 
Read only

How to use user-command in Module pool program

Former Member
0 Likes
1,931

Hi,

I have developed a module pool program where I kept four radiobuttons in the 1st screen. Besides that one input field is there to enter some value.

My requirement is, when I select the 1st radiobutton, the input field should be enabled. When I select the other radiobuttons, that input field should be invisible.

I do not want to press any button to make that field invisible after selecting the other radiobuttons. That should happen immidiatly after the selection of the other radiobuttons.

Please provide the coding where I need to write to make it happen.

Regards,

Nrusingha

5 REPLIES 5
Read only

former_member209217
Active Contributor
0 Likes
1,000

Hi,

In Module Program U need to handle this events in PAI.

U Can find lots of posts and code samples in SDN.

Please try a search in SDN.Please dont post Basic Questions.

Thanku,

Lakshman.

Read only

0 Likes
1,000

Hi Lakshman,

Thanks for your suggestion.

I have tried a lot, but not able to find out my solution. Please don't assume on your own for this kind of suggestions. If you get some link for my solution, please provide.

Thanks again,

Nrusingha

Read only

0 Likes
1,000

Hi Nrusingha,

Please chk this link,

Please dont waste others time.

Chk before posting such type of questions .

Also, Please dont assume that there will not be any posts relating to such type of basic questions.

Thanks Again,

Lakshman.

Read only

Former Member
0 Likes
1,000

Hi,

Try this following code....




  LOOP AT SCREEN.

    CASE screen-name.

 IF screen-group1 = 'Give ur radio button group here' 
 check for your condition .
        screen-input = '0'.
     
    ENDIF.

 MODIFY SCREEN.

  ENDLOOP.

Please let me know if your problem continues..

Read only

Former Member
0 Likes
1,000

try


PBO 
 module modify_screen.


module modify_screen.
 if radio = 'X' .
 loop at screen.
check screen-grp1 = 'RB1'.
screen-active = 0.
modify screen.
endloop.
endif.
endmodule.

regards

Prabhu