CNV_CDMC_CA_GET_CUS_SAP_DOMAIN 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 CNV_CDMC_CA_GET_CUS_SAP_DOMAIN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNV_CDMC_CA_FUNCTIONS
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CNV_CDMC_CA_GET_CUS_SAP_DOMAIN' "FM to get Customer and SAP Domains from remote system.
EXPORTING
iv_proj_id = " cnvcdmcca_objs-proj_id CDMC - Project ID
iv_language = " sy-langu R/3 System, current language
IMPORTING
iv_sysid = " sy-sysid R/3 System, name of R/3 System
* TABLES
* et_sap_domains = " dd01l Domains
* et_customer_domains = " dd01l Domains
* et_dom_fixed_values = " dd07v Generated Table for View DD07V
EXCEPTIONS
RESOURCE_FAILURE = 1 " Resource Failed
SYSTEM_FAILURE = 2 " System Failed
COMMUNICATION_FAILURE = 3 " Communication Failed
. " CNV_CDMC_CA_GET_CUS_SAP_DOMAIN
The ABAP code below is a full code listing to execute function module CNV_CDMC_CA_GET_CUS_SAP_DOMAIN 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_iv_sysid | TYPE SY-SYSID , |
| it_et_sap_domains | TYPE STANDARD TABLE OF DD01L,"TABLES PARAM |
| wa_et_sap_domains | LIKE LINE OF it_et_sap_domains , |
| it_et_customer_domains | TYPE STANDARD TABLE OF DD01L,"TABLES PARAM |
| wa_et_customer_domains | LIKE LINE OF it_et_customer_domains , |
| it_et_dom_fixed_values | TYPE STANDARD TABLE OF DD07V,"TABLES PARAM |
| wa_et_dom_fixed_values | LIKE LINE OF it_et_dom_fixed_values . |
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_iv_sysid | TYPE SY-SYSID , |
| ld_iv_proj_id | TYPE CNVCDMCCA_OBJS-PROJ_ID , |
| it_et_sap_domains | TYPE STANDARD TABLE OF DD01L , |
| wa_et_sap_domains | LIKE LINE OF it_et_sap_domains, |
| ld_iv_language | TYPE SY-LANGU , |
| it_et_customer_domains | TYPE STANDARD TABLE OF DD01L , |
| wa_et_customer_domains | LIKE LINE OF it_et_customer_domains, |
| it_et_dom_fixed_values | TYPE STANDARD TABLE OF DD07V , |
| wa_et_dom_fixed_values | LIKE LINE OF it_et_dom_fixed_values. |
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 CNV_CDMC_CA_GET_CUS_SAP_DOMAIN or its description.
CNV_CDMC_CA_GET_CUS_SAP_DOMAIN - FM to get Customer and SAP Domains from remote system. CNV_CDMC_CA_GET_CUST_OBJS - CDMC -Customer Objects Collection CNV_CDMC_CA_DEACTIVATE_STATS - CDMC : Deactivate Statisitics Collection on all the Productive Systems CNV_CDMC_CA_CHECK_JOB_STATUS - CDMC : Check for status of statistics collection jobs CNV_CDMC_CA_ACTIVITY_MULTITASK - CDMC: Schedules multiple jobs in the Statistics system CNV_CDMC_CA_ACTIVATE_STATS - CDMC : Activate Statisitics Collection on all the Productive Systems