SCRMRF_GET_REFERENCE 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 SCRMRF_GET_REFERENCE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SCRMFR
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'SCRMRF_GET_REFERENCE' "
EXPORTING
im_swcomp = " crm_comps Release Status of Software Components in System
* im_sel_conds = " crm_field_selection_conditions Check Results Management: Selection Criteria for Fields
* im_keys = " crm_check_result_key Check Results Management: Key of Check Results
* im_env_info = " crmchkenvx Check Results Management: Environment Info
IMPORTING
ex_reference = " crm_reference
ex_refres = " crm_check_result_fa Reference Results Table
ex_ref_t100 = " crm_reft100
ex_swcomps = " crm_comps Installed Software Components
ex_expvers = " crm_expvrs Single-Character Flag
ex_envinfo = " crm_chkenve Environment test information
. " SCRMRF_GET_REFERENCE
The ABAP code below is a full code listing to execute function module SCRMRF_GET_REFERENCE 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_ex_reference | TYPE CRM_REFERENCE , |
| ld_ex_refres | TYPE CRM_CHECK_RESULT_FA , |
| ld_ex_ref_t100 | TYPE CRM_REFT100 , |
| ld_ex_swcomps | TYPE CRM_COMPS , |
| ld_ex_expvers | TYPE CRM_EXPVRS , |
| ld_ex_envinfo | TYPE CRM_CHKENVE . |
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_ex_reference | TYPE CRM_REFERENCE , |
| ld_im_swcomp | TYPE CRM_COMPS , |
| ld_ex_refres | TYPE CRM_CHECK_RESULT_FA , |
| ld_im_sel_conds | TYPE CRM_FIELD_SELECTION_CONDITIONS , |
| ld_ex_ref_t100 | TYPE CRM_REFT100 , |
| ld_im_keys | TYPE CRM_CHECK_RESULT_KEY , |
| ld_ex_swcomps | TYPE CRM_COMPS , |
| ld_im_env_info | TYPE CRMCHKENVX , |
| ld_ex_expvers | TYPE CRM_EXPVRS , |
| ld_ex_envinfo | TYPE CRM_CHKENVE . |
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 SCRMRF_GET_REFERENCE or its description.