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

Populating Values In Module Pool Dynamically

Former Member
0 Likes
384

Hi All The ABAPers,

I have a requirement in Module Pool to populate the values in the field dynamically from the ZTable which I have created having two fields MAIN_CAUSE and SUB_CAUSE. For a MAIN_CAUSE say A there may be N SUB_CAUSE.

Now when the user selects MAIN_CAUSE A with F4 help then dynamically it should populate only those N values in F4 help for SUB_CAUSE which belong to the selected MAIN_CAUSE A.Rest values it should not populate.

This should happen without pressing ENTER or anything else.

Kindly guide me in this matter.Hope I have clarified my requirement.

Thanks in advacnce,

Regards,

Bharti Jain

Moderator Message: spec-dumping is not allowed. Do your own work.

Edited by: kishan P on Oct 12, 2010 4:18 PM

1 REPLY 1
Read only

Former Member
0 Likes
329

//Now when the user selects MAIN_CAUSE A with F4 help then dynamically it should populate only those N values in F4 help for SUB_CAUSE which belong to the selected MAIN_CAUSE A

use FM's

DYNP_VALUES_READ

DYNP_VALUES_UPDATE to acheive the same

User can select the value from f4 of main_cause and the related field can be pushed into subc_Cause!..