2008 Jun 27 1:31 PM
Hi.
How do you create F4 help for "F4 search help (se11)" ???
Thanks
Ilhan
2008 Jun 27 2:10 PM
Hi..check my code
INITIALIZATION.
SELECT * INTO CORRESPONDING FIELDS OF TABLE so_setheader
FROM setheader
WHERE setclass = '0000'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_kost-low.
* F4 uitvoeren
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'setname'
dynprofield = 'so_kost'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = so_setheader.
AT SELECTION-SCREEN ON so_kost.
READ TABLE so_setheader INTO wa_so_setheader WITH KEY setname = so_kost-low.
IF sy-subrc NE 0.
so_kost = space.
MESSAGE e333(s1) WITH 'Does not exist!'.
STOP.
ENDIF.
Adibo.
Hi.
How do you create F4 help for "F4 search help (se11)" ???
Thanks
Ilhan
2008 Jun 27 1:33 PM
2008 Jun 27 1:34 PM
Hi,
A search help is an object of the ABAP Dictionary with which input helps
(F4 helps) can be defined.
There are the following types of search helps:
o Elementary search helps implement a search path for determining the
possible entries.
o Collective search helps contain several elementary search helps. A
collective search help therefore provides several alternative search
paths for possible entries.
o Append search helps can be used to enhance collective search helps
delivered by SAP with customer-specific search paths without
requiring a modification.
The three components of the input help process described by a search
help are the outer interface, the online behavior and the method of data
collection.
The outer interface is defined by specifying the interface parameters.
They define the context information to be used in the input help process
and the attributes to be sent to the screen by the input help.
The search help attachment defines the field contents for parametrizing
an import parameter and the fields of the input template in which the
contents of the export parameters should be returned.
The dialog behavior and data collection are defined differently for
elementary search helps and collective search helps.
The behavior of a search help can be made more flexible than usual with
search help exits.
2008 Jun 27 1:35 PM
2008 Jun 27 1:38 PM
hiii
use following code to get f4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
*"Subroutine Call to get file selection.................................
PERFORM f10_matnr .
use call function F4IF_INT_TABLE_VALUE_REQUEST...for getting F4 help
regards
twinkal
2008 Jun 27 1:42 PM
Hello Ilhan,
Actually there are two types of search help..
1.Elementary search help
2.Collective search help
So,it would not be possible to send it in as text so i am sending you the link to them ...
Check this out to get a clear idea of search help & how to create it..
[http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm]
2008 Jun 27 2:10 PM
Hi..check my code
INITIALIZATION.
SELECT * INTO CORRESPONDING FIELDS OF TABLE so_setheader
FROM setheader
WHERE setclass = '0000'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_kost-low.
* F4 uitvoeren
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'setname'
dynprofield = 'so_kost'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = so_setheader.
AT SELECTION-SCREEN ON so_kost.
READ TABLE so_setheader INTO wa_so_setheader WITH KEY setname = so_kost-low.
IF sy-subrc NE 0.
so_kost = space.
MESSAGE e333(s1) WITH 'Does not exist!'.
STOP.
ENDIF.
Adibo.
2008 Jun 27 2:11 PM
2008 Jun 27 2:14 PM