Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can any one solve this problem

Former Member
0 Kudos
228

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.

13 REPLIES 13

Former Member
0 Kudos
68

hi narasimha,

can u be bit more clear bout ur problem? Probably i shall help u then

0 Kudos
68

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

Former Member
0 Kudos
68

Hi,

If you have the search helps for these fields, assign them in the Screen Fields Attributes screen.

Best Regards,

Vijay

0 Kudos
68

what do you mean by search helps,please explain me in detail.

0 Kudos
68

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

0 Kudos
68

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.

0 Kudos
68

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

0 Kudos
68

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!

Former Member
0 Kudos
68

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.

Former Member
0 Kudos
68

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

0 Kudos
68

can u explain me what is gt_return and what gt_detail,please explain me little bit clear of above code

0 Kudos
68

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

0 Kudos
68

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