‎2006 Feb 02 12:28 AM
Hi All,
I have a screen with one field (TXTPROFITCTR) and one table control (TBLPROFITCTR) on it. The one field acts as selection field, user can click F4 choose, choose a value and then click on a display button to see details in a table control on the screen. This part is working fine.
The trouble is that there are two editable fields in the table control which also require F4 functionality. I have coded the customized F4 help screen for the selection field TXTPROFITCTR with.
PROCESS ON VALUE-REQUEST.
FIELD TXTPROFITCTR MODULE VALUE_HELP_PRCTR.
but when the user clicks on F4 in the table control the code in module VALUE_HELP_PRCTR, is not executed (obviously because its mapped for TXTPROFITCTR field). Instead another F4 selection screen opens with all fields from the master table for that field, but I want to show a customized F4 screen for the two fields in the table control as well. Can someone please guide me??
Thank you in advance.
Is there any option besides Search Help?
‎2006 Feb 02 12:43 AM
You need to tie the search help to the field of the table. Not sure what the name of your internal table is here, lets just say ITAB. Then you need to do something like this.
PROCESS ON VALUE-REQUEST.
FIELD <b>ITAB-TXTPROFITCTR</b> MODULE VALUE_HELP_PRCTR.
This will fire your help for that field in your table controll
Welcome to SDN!
Regards,
Rich Heilman
‎2006 Feb 02 12:43 AM
You need to tie the search help to the field of the table. Not sure what the name of your internal table is here, lets just say ITAB. Then you need to do something like this.
PROCESS ON VALUE-REQUEST.
FIELD <b>ITAB-TXTPROFITCTR</b> MODULE VALUE_HELP_PRCTR.
This will fire your help for that field in your table controll
Welcome to SDN!
Regards,
Rich Heilman
‎2006 Feb 02 1:26 AM
Thanks Rich for replying. The trouble is I already have a statements
PROCESS ON VALUE-REQUEST.
FIELD TXTPROFITCTR MODULE VALUE_HELP_PRCTR.
in my screen so now if I try to add the statements
PROCESS ON VALUE-REQUEST.
FIELD GT_OLD_PCCT-/BIC/UFACTCAI MODULE VALUE_HELP_PRCTR.
*GT_OLD_PCCT is my internal table
It gives me and error saying "You already have a Process Statement..."
‎2006 Feb 02 1:30 AM
‎2006 Feb 02 2:13 AM
You my friend are very good. Thank you so much. I have given you 10 points. One final question can you please suggest some really good book or website for studying the following
Module Pool (Screen Painters)
ALE /IDocs
Smart Forms
‎2006 Feb 02 2:22 AM
SAP Press publishes a book on SmartForms. Probably wouldn't be a bad idea to pick it up. You can find module pool programming in any of the ABAP books from sap press.
Regards,
Rich Heilman