‎2011 Jul 06 8:12 AM
Hi All,
I have customized the T-Code MD04 as per the business requirement, now the user is asking for Find / CNTRL+F Functionality on this program.
Since i have customized the structure as per the given requirement to populate the fields in the table control, i am not able use the Std Find Functionality.
Kindly let me know if any workaround for achieving this task, Any help will be highly appreciated.
Kindly do the needful.
Regards,
Raghu
‎2011 Jul 06 9:06 AM
‎2011 Jul 06 11:11 AM
Hi,
Can you please explain the requirmenr a bit more ?
Regards
HM
‎2011 Jul 07 7:41 AM
Hi Hareesh,
The Std MD04 program populates the data in the table control with respect to MDKE structure. It uses FM "MD_SEARCH_MDKEX" for searching the value, since i had to customize this program with more than 15 fields in the table control i have changed the structure to ZMDKE from MDKE and populated the same to the table control.
Since the std search is with respect to MDKE structure i am not able to achieve the find functionality in my customized program.
Replacing all the std includes, classes and FM from MDKE to ZMDKE is a very tedious process so wanted to know is there any work around for this problem.
Please let me know if any possible solutions.
Thank you
Regards,
Raghu
‎2011 Jul 07 8:04 AM
Hi Nilekani,
Attache the same search helps to ZMDKE as on MDKE, hope it will help.
Thanks and Regards,
Faisal
‎2011 Jul 08 7:37 AM
This was achieved by writing the code manually.
Created a screen for search criteria and added some fields to it, so based on that i validated the screen field(i.e. the table control values) with the search field(entered on the search criteria) and used an indicator to mark the field if the value is true and was displaying the same in the Table control.
Regards,
Raghu