‎2007 Jul 27 12:06 PM
‎2007 Jul 27 12:09 PM
for more details refer program :
DEMO_DYNPRO_F1_HELP
don't forget to reward
‎2007 Jul 27 12:09 PM
for more details refer program :
DEMO_DYNPRO_F1_HELP
don't forget to reward
‎2007 Jul 27 12:10 PM
hi
i know it
but it is not having more explaination abt it.
so only im asking to u all.
‎2007 Jul 27 12:16 PM
Hi,
Functionality
The function modules and the modules of the general help processor are stored in this module pool. This program collection or function group is always used when the F4 help is called ("Input options") and for documentation, and should be used if
- the corresponding field attributes for F4 are set in the Dictionary,
- domain fixed values, check tables and value tables or help views
exist,
- documentation exists for a Dictionary field (F1),
- the system help should be displayed (menu entries under Help),
- no separate F4 help was programmed for Process On Value Request
or Process On Help Request.
Start
The F4 help processor gets its starting information from the screen. (At least) the field name or table name of the Dictionary structure and the type of call are passed in structure PHELP, which represents the interface to the C base. There are the following types of call:
H: Help menu with the options Application help, R/3 library, Glossary, Dictionary, Release notes and Introduction to R/3. It also includes the background jobs and system status display menu options listed under "System". The R/3 library is currently only available under Windows or Windows NT.
😧 Documentation display with F1. Documentation for a Dictionary field, OK code field, function, menu option, report/module pool or message can be displayed.
V: Domain values. There is a check if fixed values are defined for the domain stored for the field for which F4 was requested. The values are then read from the database after defining the check table.
T: Table help. The check table is defined for a table field of the Dictionary and its values are read from the database.
M: Matchcode help. The generated access belonging to the matchcode ID is defined for a matchcode selection to be input by selecting the matchcode ID or "fast path" e.g. "=M.*", and the data is read from the database. The display uses Dictionary utilities.
Regards
‎2007 Jul 27 12:10 PM
HELP_OBJECT_SHOW_FOR_FIELD
This function module displays the data element documentation for components of any structure or database table from the ABAP Dictionary. You pass the name of the component and structure or table to the import parameters FIELD and TABLE.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = TEXT-002
CALLED_FOR_TAB = 'DEMOF1HELP'
CALLED_FOR_FIELD = 'FIELD1'.
Message was edited by:
vamsi reddy
‎2007 Jul 27 12:10 PM
hi
<b>HELP_OBJECT_SHOW_FOR_FIELD</b>
Displays the data element documentation for components of any structure or DB table from dictionary.
Takes input as Field and Table
This function module displays the data element documentation for components of any structure or database table from the ABAP Dictionary. You pass the name of the component and structure or table to the import parameters FIELD and TABLE.
MODULE F1_HELP_FIELD3 INPUT.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = TEXT-002
CALLED_FOR_TAB = 'DEMOF1HELP'
CALLED_FOR_FIELD = 'FIELD1'.
ENDMODULE.
regards
ravish
<b>plz dont forget to reward points if useful</b>
‎2007 Jul 27 12:11 PM
Hi,
By using two types of function modules to be called in SAP Script:
1) HELP_OBJECT_SHOW_FOR_FIELD
2) HELP_OBJECT_SHOW
you can u write programmatically value help to a field without using search help and match codes
please check out the program it might help you
REPORT DEMO_DYNPRO_F1_HELP.
DATA: TEXT(30),
VAR(4),
INT TYPE I,
LINKS TYPE TABLE OF TLINE,
FIELD3, FIELD4.
TABLES DEMOF1HELP.
TEXT = TEXT-001.
CALL SCREEN 100.
MODULE CANCEL INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE F1_HELP_FIELD2 INPUT.
INT = INT + 1.
CASE INT.
WHEN 1.
VAR = '0100'.
WHEN 2.
VAR = '0200'.
INT = 0.
ENDCASE.
ENDMODULE.
MODULE F1_HELP_FIELD3 INPUT.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = TEXT-002
CALLED_FOR_TAB = 'DEMOF1HELP'
CALLED_FOR_FIELD = 'FIELD1'.
ENDMODULE.
MODULE F1_HELP_FIELD4 INPUT.
CALL FUNCTION 'HELP_OBJECT_SHOW'
EXPORTING
DOKCLASS = 'TX'
DOKLANGU = SY-LANGU
DOKNAME = 'DEMO_FOR_F1_HELP'
DOKTITLE = TEXT-003
TABLES
LINKS = LINKS.
ENDMODULE.
The screen flow logic is as follows:
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
PROCESS ON HELP-REQUEST.
FIELD DEMOF1HELP-FIELD2 MODULE F1_HELP_FIELD2 WITH VAR.
FIELD FIELD3 MODULE F1_HELP_FIELD3.
FIELD FIELD4 MODULE F1_HELP_FIELD4.
for more information please check out the link below it will definitely help you
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbad0435c111d1829f0000e829fbfe/content.htm
*********please reward points if the information is helpful to you***********