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

Parameter Reference Type Length Default Optional Text
ACTION_CODE C C 0 Action code as specified in the HTML page

Parameter Reference Type Length Text
OBJECT_DESC OBJ_DESC C 20 Object Description
PROGRAM_NAME SYREPID C 40 ABAP program, current main program
REPOSITORY_ID CHAR30 C 30 Repository id for the document
SCREEN_NO SYDYNNR C 4 ABAP program, number of current screen

Exception Text
ACTION_CODE_NOT_FOUND The given action code is not found
REPOSITORY_OBJECT_NOT_FOUND The repository object is not found

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

Notes
The action code is normally used in the Index HTML page of the program'SAPLEXAMPLE_ENTRY_SCREEN'. The web object repository name of the indexHTML page is 'BIBS_INDEX'.