‎2010 Oct 12 11:41 AM
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
‎2010 Oct 12 11: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!..