SAP Reports / Programs | Basis Components | Basis Components | F1 Help(BC-DOC-HLP) SAP BC

RSHELP01 SAP ABAP Report - POV and POH programming demonstration







RSHELP01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The example program shows the use of the user-programmed F1 and F4 help, which is saved in the flow logic of the initial screen at the events PROCESS ON HELP-REQUEST (POH) or PROCESS ON VALUE-REQUEST (POV)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSHELP01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSHELP01. "Basic submit
SUBMIT RSHELP01 AND RETURN. "Return to original report after report execution complete
SUBMIT RSHELP01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: POV and POH programming demonstration
Text Symbol: 002 = Table with Dictionary link
Text Symbol: 003 = Fields with Dictionary link
Text Symbol: 004 = Example of user F1 help


INCLUDES used within this REPORT RSHELP01

INCLUDE LSHL2MAC.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HELP_VALUES_GET_EXTEND CALL FUNCTION 'HELP_VALUES_GET_EXTEND' EXPORTING DISPLAY = ' ' DYNAME = SY-CPROG DYNUMB = SY-DYNNR FIELDNAME = 'OBJECTNAME' TABNAME = TABELLE SHRINK = 'X' TABLES GETFIELDS = GETFIELDS UPDFIELDS = UPDFIELDS.

HELP_VALUES_GET_WITH_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_NAME' EXPORTING SELECTFIELD = 'TCODE' TABLENAME = 'TSTCT' TITEL = TEXT-002 IMPORTING IND = IND TABLES FULL_TABLE = ITSTC EXCEPTIONS NO_TABLEFIELDS_IN_DICTIONARY = 1 NO_TABLESTRUCTURE_GIVEN = 2 MORE_THEN_ONE_SELECTFIELD = 3 NO_SELECTFIELD = 4 OTHERS = 5.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = SY-CPROG DYNUMB = SY-DYNNR TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 UNDEFIND_ERROR = 7 OTHERS = 8.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING SELECTFIELD = 'FUNCNAME' TITEL = TEXT-003 IMPORTING IND = IND TABLES FIELDS = FI FULL_TABLE = INT_FUNCS EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = SY-CPROG DYNUMB = SY-DYNNR TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 UNDEFIND_ERROR = 7 OTHERS = 8.

HELP_DOCU_SHOW_FOR_FIELD CALL FUNCTION 'HELP_DOCU_SHOW_FOR_FIELD' EXPORTING FIELDNAME = 'OBJECTNAME' TABNAME = 'OBJSUB' KEYWORD = TEXT-004 EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSHELP01 or its description.