SAP Function Modules

Share |

ACTION_CODE_TO_REP_OBJ SAP Function module - To convert the action code to screen number

Pattern for FM ACTION_CODE_TO_REP_OBJ - ACTION CODE TO REP OBJ
Associated Function Group: EXAMPLE_ENTRY_SCREEN
Released Date: Not Released
CALL FUNCTION 'ACTION_CODE_TO_REP_OBJ' "To convert the action code to screen number
  EXPORTING
    action_code =               " c             Action code as specified in the HTML page
  IMPORTING
    repository_id =             " char30        Repository id for the document
  EXCEPTIONS
    ACTION_CODE_NOT_FOUND = 1   "               The ACTION code is not found
    .  "  ACTION_CODE_TO_REP_OBJ

SAP Documentation for FM ACTION_CODE_TO_REP_OBJ


FUNCTIONALITY

This function module is used to select the screen number and the program to which the screen belongs to, for the given action code .

EXAMPLE


HINTS
The action code is normally used in the Index HTML page of the program 'SAPLEXAMPLE_ENTRY_SCREEN'. The web object repository name of the index HTML page is 'BIBS_INDEX'.
Documentation extract taken from SAP system, Copyright (c) SAP AG






Share |