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

problem with matchcode/selection screen

former_member582701
Contributor
0 Likes
622

Hello,

When i press the matchcode of a parameter of the selection screen it has to show the values depending of the values of other parameter:

Ex:

Parameter A: 2

Parameter B: press matchcode (values 5,6,7)

Parameter A: 3

Parameter B: press matchcode (vales 1,2,3)

I have already this programed in at selection scree on value-request for B. There i do the select to the table where i obtain the correspondences between A and B depending the values from A. Finally i create the help with HELP_VALUES_GET_WITH_TABLE function.

It works correctly with A = 2 but not with A = 3 or other value where always i obtain the values as A = 2 (it is because in the declaration of parameter the default is 2). In other words, it is like im not obtaining the changes of values for A in this point.

Maybe i wrong the election of the event? Any idea?

Thank you,

Manel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

Hi!

The value of field A would not be directly available in at selection screen on value-request for B. Try using FM C14Z_DYNP_READ_FIELD ( or some other similar FM) to get the value in the selection screen parameter for A. Using this you can decide the values for the popup for field B.

Cheers!

3 REPLIES 3
Read only

Former Member
0 Likes
578

Hi!

The value of field A would not be directly available in at selection screen on value-request for B. Try using FM C14Z_DYNP_READ_FIELD ( or some other similar FM) to get the value in the selection screen parameter for A. Using this you can decide the values for the popup for field B.

Cheers!

Read only

0 Likes
577

Thank you for the answer but i cant use this FM because im programmin in APO, and this fm is not available

Do u have any other idea?

Thank you,

Manel

Read only

0 Likes
577

In order to get the value of the other parameter i have to use FM /SAPAPO/MSNP_BAS_DYNP_READ

Regards,

Manel