LTX_CREATE_SAPGUI_SHORTCUT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name LTX_CREATE_SAPGUI_SHORTCUT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
IC_LTX
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LTX_CREATE_SAPGUI_SHORTCUT' "Get the SAP shortcut string for the given parameters
* EXPORTING
* i_transaction = " tcode Transaktionscode evtl mit führendem *
* i_report = " programm Report
* i_system_command = " char40 Systemkommando
* i_parameter = " text255 Transaktionsparameter
* i_saplogon_id = " char50 Name eines Eintrags im SAP Logon
* i_sysid = SY-SYSID " sysysid System-ID des Zielsystems
* i_guiparm = " char80 Spezifikation des Zielsystems
* i_client = SY-MANDT " symandt Mandant des Zielsystems
* i_user = SY-UNAME " syuname Anmeldename des Benutzers
* i_language = SY-LANGU " sylangu Sprache
* i_windowsize = 'Normal window' " char40 Fenstergröße (Maximiert oder Normal)
* i_title = " char80 Titel
* i_custom = " text255 freier Text, wird hinten angefügt
IMPORTING
shortcut_table = " soli_tab Shortcut als Tabelle
shortcut_string = " string Shortcut als String
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1 " The combination of parameters is invalid
. " LTX_CREATE_SAPGUI_SHORTCUT
The ABAP code below is a full code listing to execute function module LTX_CREATE_SAPGUI_SHORTCUT including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_shortcut_table | TYPE SOLI_TAB , |
| ld_shortcut_string | TYPE STRING . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_shortcut_table | TYPE SOLI_TAB , |
| ld_i_transaction | TYPE TCODE , |
| ld_shortcut_string | TYPE STRING , |
| ld_i_report | TYPE PROGRAMM , |
| ld_i_system_command | TYPE CHAR40 , |
| ld_i_parameter | TYPE TEXT255 , |
| ld_i_saplogon_id | TYPE CHAR50 , |
| ld_i_sysid | TYPE SYSYSID , |
| ld_i_guiparm | TYPE CHAR80 , |
| ld_i_client | TYPE SYMANDT , |
| ld_i_user | TYPE SYUNAME , |
| ld_i_language | TYPE SYLANGU , |
| ld_i_windowsize | TYPE CHAR40 , |
| ld_i_title | TYPE CHAR80 , |
| ld_i_custom | TYPE TEXT255 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name LTX_CREATE_SAPGUI_SHORTCUT or its description.
LTX_CREATE_SAPGUI_SHORTCUT - Get the SAP shortcut string for the given parameters LTSNR_INITIAL_CHECK - LTSK_TASK_TIME_WINDOW - Increase the priorities of tasks LTSK_TASK_SYNCHRONIZE - Synchronizes tasks according to LSD in background and foreground modes LTSK_TASK_SYNCHRO - Synchronize tasks according to the Latest Starting Date (LSD) LTSK_TASK_STATUS_CHECK - Checks task status for a specified method