GRAC_EAM_OPEN_POPUP 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 GRAC_EAM_OPEN_POPUP into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GRAC_EAM_POPUP
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'GRAC_EAM_OPEN_POPUP' "Open remote popup in logon pad
EXPORTING
client = " sy-mandt Client
user = " sy-uname User
message = " char128 Message
* message_len = 0 " sy-index Loop Index
* cut_blanks = ' ' " sy-langu Language Key of Current Text Environment
EXCEPTIONS
USER_NOT_FOUND = 1 " User not found
. " GRAC_EAM_OPEN_POPUP
The ABAP code below is a full code listing to execute function module GRAC_EAM_OPEN_POPUP 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).
DATA(ld_client) = 'Check type of data required'.
DATA(ld_user) = 'some text here'.
DATA(ld_message) = 'some text here'.
DATA(ld_message_len) = '123 '.
DATA(ld_cut_blanks) = 'Check type of data required'. . CALL FUNCTION 'GRAC_EAM_OPEN_POPUP' EXPORTING client = ld_client user = ld_user message = ld_message * message_len = ld_message_len * cut_blanks = ld_cut_blanks EXCEPTIONS USER_NOT_FOUND = 1 . " GRAC_EAM_OPEN_POPUP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
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_client | TYPE SY-MANDT , |
| ld_user | TYPE SY-UNAME , |
| ld_message | TYPE CHAR128 , |
| ld_message_len | TYPE SY-INDEX , |
| ld_cut_blanks | TYPE SY-LANGU . |
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 GRAC_EAM_OPEN_POPUP or its description.
GRAC_EAM_OPEN_POPUP - Open remote popup in logon pad GRAC_DETOUR_SODVIOL_NO_ROLOWN - Chained SOD voilation detour with No Role Owner Detour GRAC_DATA_SOURCE_TYPE_EXIT - AC field search help exit GRAC_CUST_USER - AC field search help exit GRAC_CUA_PARENT_EXIT - Function Module exit for cua GRAC_CUA_CHILD_EXIT - Function Module exit for cua