SNC_GET_MY_INFO 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 SNC_GET_MY_INFO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SNCA
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'SNC_GET_MY_INFO' "
IMPORTING
pname_appl = " rfcdessecu-pname_appl
snc_qop_min = " rfcdessecu-snc_qop
snc_qop_max = " rfcdessecu-snc_qop
snc_qop_use = " rfcdessecu-snc_qop
pname_user = " usracl-pname
pname_cpic = " usracl-pname
gui_conn_type = " snc_fields-gui_conn Connection Type (D)irect/(R)FC
login_type = " snc_fields-login_type Logon Method (SL,SD,SN,NN,ND)
rc = " sy-subrc Return Code
EXCEPTIONS
INTERNAL_ERROR = 1 " Internal Error
SNC_NOT_ACTIVE = 2 "
. " SNC_GET_MY_INFO
The ABAP code below is a full code listing to execute function module SNC_GET_MY_INFO 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_pname_appl | TYPE RFCDESSECU-PNAME_APPL , |
| ld_snc_qop_min | TYPE RFCDESSECU-SNC_QOP , |
| ld_snc_qop_max | TYPE RFCDESSECU-SNC_QOP , |
| ld_snc_qop_use | TYPE RFCDESSECU-SNC_QOP , |
| ld_pname_user | TYPE USRACL-PNAME , |
| ld_pname_cpic | TYPE USRACL-PNAME , |
| ld_gui_conn_type | TYPE SNC_FIELDS-GUI_CONN , |
| ld_login_type | TYPE SNC_FIELDS-LOGIN_TYPE , |
| ld_rc | TYPE SY-SUBRC . |
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_pname_appl | TYPE RFCDESSECU-PNAME_APPL , |
| ld_snc_qop_min | TYPE RFCDESSECU-SNC_QOP , |
| ld_snc_qop_max | TYPE RFCDESSECU-SNC_QOP , |
| ld_snc_qop_use | TYPE RFCDESSECU-SNC_QOP , |
| ld_pname_user | TYPE USRACL-PNAME , |
| ld_pname_cpic | TYPE USRACL-PNAME , |
| ld_gui_conn_type | TYPE SNC_FIELDS-GUI_CONN , |
| ld_login_type | TYPE SNC_FIELDS-LOGIN_TYPE , |
| ld_rc | TYPE SY-SUBRC . |
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 SNC_GET_MY_INFO or its description.