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

Populating Values In Module Pool Dynamically

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 10:45 AM

    //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!..

    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.