Professional Documents
Culture Documents
What is SAP? ABAP HR FICO SD Video Payroll Quiz Java Testing Answers
First ,to begin with if you know nothing about Screen Flow logic and their uses in SAP ,we recommend you check our tutorial on Dialog Program Now , lets look into POH and POV in detail
3/18/13
To display field help documentation, you must code the following screen flow logic in the POH event: PROCESS ON HELP-REQUEST FIELD <f> [MODULE <mod>] WITH <num> If there is screen-specific data element documentation for the field <f>, you can display it by specifying its number <num>. The number <num> can be a literal or a variable. The variable must be declared and filled in the corresponding ABAP program. Note, the FIELD statement does not transfer the contents of the screen field <f> to the ABAP program in the PROCESS ON HELP-REQUEST event. It just shows help documentation. Thats it. The module <mod> is defined in the ABAP program like a normal PAI module. The processing logic of the module must ensure that adequate help is displayed for the field in question. Instead of calling an extra screen with text fields, you should use one of the following function modules to display a suitable SAPscript document 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. HELP_OBJECT_SHOW Use this function module to display any SAPscript document. You must pass the document class (for example, TX for general texts, DE for data element documentation) and the name of the document to the import parameters DOKCLASS and DOKNAME. For technical reasons, you must also pass an empty internal table with the line type TLINE to the tables parameter of the function module.
3/18/13
module in the import parameters TABNAME and FIELDNAME. The function module starts the ABAP Dictionary input help for this component.All of the relevant screen fields are read. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the users selection is returned to the corresponding field on the screen. If you specify the table parameter RETURN_TAB, the selection is returned into the table instead. MODULE VALUE_CARRIER INPUT. CALL FUNCTION F4IF_FIELD_VALUE_REQUEST EXPORTING TABNAME FIELDNAME DYNPPROG DYNPNR = DEMOF4HELP = CARRIER1 = PROGNAME = DYNNUM
DYNPROFIELD= CARRIER. ENDMODULE. F4IF_INT_TABLE_VALUE_REQUEST This function module displays a value list that you created in an ABAP program. The value list is passed to the function module as the table parameter VALUE_TAB. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the users selection is returned to the corresponding field on the screen. If you specify the table parameter RETURN_TAB, the selection is returned into the table instead. CALL FUNCTION F4IF_INT_TABLE_VALUE_REQUEST EXPORTING RETFIELD = CONNID DYNPPROG = PROGNAME DYNPNR = DYNNUM DYNPROFIELD = CONNECTION VALUE_ORG = S TABLES VALUE_TAB = VALUES_TAB. Thats all to POH and POV. Leave your comments in case of any doubts.
You might like:
www.saptraininghub.com/process-on-value-help/
3/5