SAP Function Modules

Share |

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

Pattern for FM ACTION_CODE_TO_SCREEN_NO - ACTION CODE TO SCREEN NO
Associated Function Group: EXAMPLE_ENTRY_SCREEN
Released Date: Not Released
CALL FUNCTION 'ACTION_CODE_TO_SCREEN_NO' "To convert the action code to screen number
  EXPORTING
    action_code =               " c             Action code as specified in the HTML page
  IMPORTING
    screen_no =                 " sydynnr       ABAP program, number of current screen
    program_name =              " syrepid       ABAP program, current main program
    repository_id =             " char30        Repository id for the document
    object_desc =               " obj_desc      Object Description
  EXCEPTIONS
    ACTION_CODE_NOT_FOUND = 1   "               The given action code is not found
    REPOSITORY_OBJECT_NOT_FOUND = 2  "          The repository object is not found
    .  "  ACTION_CODE_TO_SCREEN_NO

SAP Documentation for FM ACTION_CODE_TO_SCREEN_NO


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 |