08-08-2005 11:30 AM
I have designed a search screen with out using the selection-screen ,now i want to put the f4 help for it.How can i do this?.Even i didn't use the parameters statement.
08-08-2005 11:42 AM
hi narasimha,
can u be bit more clear bout ur problem? Probably i shall help u then
08-08-2005 11:50 AM
i have designed a screen with order number and work area and etc... for these variables i want to put the f4 help for these items,in order to relate the dialog process with abap process i have declared these variables as
DATA: auftrag_f1 LIKE caufv-aufnr ,
auftrag_f2 LIKE caufv-aufnr.
after the user enter the values, i will get the data enterd by the user and i will search the data according to it.this my problem and i want put the f4 help for this.
Note:
I have completed the project now ,so i can't switch on to the selection-options or parameters command,now my boss he asked me to put the f4 help what i have to do
08-08-2005 11:54 AM
Hi,
If you have the search helps for these fields, assign them in the Screen Fields Attributes screen.
Best Regards,
Vijay
08-08-2005 11:56 AM
08-08-2005 12:09 PM
Hi,
if you want to program f4 by yourselves
use fm HELP_VALUES_GET_WITH_CHECKTAB at POV (PROCESS ON VALUE-REQUEST)
but sorry , i don't understand your problem exactly !
Andreas
08-08-2005 12:12 PM
Hi Narsimha,
<i>"A search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined."</i>
if you want to put a F4 help for some field on the screen, there are many ways to do it. one of them is using search help. you can either create a search help or use an existing one. we can create a search help thru tcode SE11. if you do F1 there you can find more details.
in searc help we specify the table from which the F4 help values should come.
once you have created search help, you will have to assign it to the screen field on which you want F4 help.
in properties of screen field there is an option to put search help.there you have to put the search help name.
There are more ways to get F4 help. you can get information about them in help.
Regards,
Komal.
08-08-2005 12:22 PM
I have designed a screen with some fields like order number etc... In the abap process i have declared these variables with the statement
data: auftrag_f1 like caufv-aufnr.
now i want to put the f4 help for this ,so can u help me in this matter
08-08-2005 4:41 PM
Hi Narasimha,
I agree with Vijay - easiest would be to assign the search helps to the screen fields. Use search help 'ORDP' for PM orders or 'ORDE' for internal orders and PM orders.
You can assign the search help in screen painter for your screen. Go to 'element list' and choose tab 'references'.
Hope this helps, regards, Kathrin!
08-08-2005 12:10 PM
Hi,
A search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined. We can create them in SE11. See the documentation for Seach helps in SE11.
08-08-2005 12:32 PM
Hi,
Try this method,
in the flow logic add the following coding after the PAI
process on value-request.
field <fieldname> module <module name>
field gt_resource-platform_type
module onvalue_request_9002.
-
In the program
module onvalue_request_9002 input.
clear gt_return.
refresh gt_return.
*this function module used to populate the f4 help
*RETRIEVE ALL THE VALUES AND POPULATE INTO INTERNAL TABLE
*FINALLY ASSIGN THE INTERNAL TABLE INTO value_tab
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'MATNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'GT_RESOURCE-MATNR'
value_org = 'S'
tables
value_tab = gt_platform
return_tab = gt_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
hope this will solve your problem.
Cheers
Sasi
08-08-2005 12:43 PM
can u explain me what is gt_return and what gt_detail,please explain me little bit clear of above code
08-08-2005 7:09 PM
Use the fm F4IF_INT_TABLE_VALUE_REQUEST
Declare a table ITAB that has the values to be displayed.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MATNR' " Field name in
the table itab
DYNPPROG = 'Y_VAMSI' " Program name
DYNPNR = '1000' " Screen number
DYNPROFIELD = 'P_MATNR' " Parameter or sel
option on ur screen
VALUE_ORG = 'S'
tables
value_tab = ITAB " Table that has
data to be displayed
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3 .
This should work
Vamsi
08-09-2005 4:57 AM
Hi,
Are you trying to add a search help:
Refer here for the step by step process :
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
Regards,
Anjali