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

Module Pool Drop Down values

Former Member
0 Likes
1,500

Hi All,

i have a problem i.e

in my module pool screen i have a drop down box, in that drop down box is having 4 values , and in the same screen one table control is there which is having 10 fields .

when i click on first value of drop down box then in the table control : some of the fields should be mandatory and some of the fields are normal

my problem is :

when i click on 4th value of drop down list box , in the table control first two fields are going to dissaper mode as per requirement it is ok, but again i click on first value of drop down list box these , in the table control first two fiels should be mandatory but for me these two fields are shown normal fields only

how to slove this problem?

simply when we shuffling the values in the drop down list box beow table control fields should be changes as mandetory

5 REPLIES 5
Read only

Former Member
0 Likes
1,001

You can assign a function code to a list box field. In this case, the PAI event is triggered as soon as the user chooses a value from the list, and the function code is placed in the SY-UCOMM and OK_CODE fields.

Then you can compare the values. If its the 4th one , then do a check to see if the first 2 fields are filled or not.

Read only

Former Member
0 Likes
1,001

Hi VSRE,

Did you debug to see what is happening in the background? Have a break-point in the PBO modules and check the screen modification codes.

Regards,

Karthik D

Read only

Former Member
0 Likes
1,001

This message was moderated.

Read only

Former Member
0 Likes
1,001

Hi,

In the screen, assign function code to the 4 dropdown values by going to the attributes to the dropdowns.Then in PAI you can check for sy-ucomm values and perform the functions you want for each option in the dropdown.

You can refer to the below link for further help:

http://scn.sap.com/thread/2128554

Hope it serves useful to you.

Read only

Former Member
0 Likes
1,001

Thank u very much for u r valuable suggestions, I got the output