11-29-2007 1:42 PM
Hi all,
how to trigger a table control depends upon drop down selection.say for example i have dropdown from January to December when i choose a particular month, that month data has to be fetched accordingly.ie the table control has to be refreshed and data has to be fetched correctly from that month how i can achieve this scenario?kindly help me regarding this issue.
11-29-2007 2:09 PM
Hi suresh,
Assign OK_CODE for drop down list,while selecting the new value it will trigger the PAI,there you can write the required code for refreshing table control
shibu
11-29-2007 2:09 PM
Hi suresh,
Assign OK_CODE for drop down list,while selecting the new value it will trigger the PAI,there you can write the required code for refreshing table control
shibu
11-29-2007 2:45 PM
Hi shibu,
I have assigned ok-code for month,some trigger happened in my table control, but when i debug to see where to write the exact code in pai it doesn't goes to the particular ok-code at all, would you provide me some sample code regarding this issue.
11-29-2007 5:48 PM
Hi suresh,
1.Double Click on the list box and give function code in Fctcode field.
2.Make sure that you declare OK_CODE in the Element List.
3.Catch this OK_CODE in the PAI of the screen.
4.Create one module in PAI and write the necessary code to fill the internal table.
Hope this will help.Otherwise give you scenario will try to map that.
regards
shibu
11-30-2007 3:12 AM
Hi Shibu,
Thanks for your valuable suggestion my problem was solved.