Liquid UI - WS Reference Library

Get SAP program name


Purpose

The system variables like _program, _language and_dynpro are used to specify the name of the program,language of the program and dynpro number of the SAP program respectively. You can access any of these details using the system variables.


User Interface

In this scenario, you can easily find the dynpro, program and language of the SAP Easy Access screen in the console window.


You can see output similar to the name of the script file currently in process on cornelius output window.


Liquid UI Script

////////////////////////////// SAPLSMTR_NAVIGATION.E0100.sjs //////////////////////////////
println("name of the current screen is  >>"+_program+"."+_language+""+_dynpro); // display output on console window

Was this information helpful? Send Feedback