SAP ABAP Class CL_RSAN_MDL_DT_CRM_RFC (RFC Wrapper for cl_rsan_mdl_dt_crm)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-EI-APD (Application Component) Analysis Process Designer
     RSAN_MDL (Package) APD - Tool - Object Model
Properties
Class CL_RSAN_MDL_DT_CRM_RFC  
Short Description RFC Wrapper for cl_rsan_mdl_dt_crm    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSAN_MDL   APD - Tool - Object Model 
Created 20030211   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RSAN_MDL_DT_CRM_RFC has no forward declaration.
Interfaces
Class CL_RSAN_MDL_DT_CRM_RFC has no interface implemented.
Friends
Class CL_RSAN_MDL_DT_CRM_RFC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 _C_PROTOCOL_21C Constant Private Type reference (TYPE) STRING 'ATTRIBUTES_WRITE-CRM.30A.01-BWC.21C.01' Communication Log Inventory in 2.1C 20030211
2 _C_PROTOCOL_30B Constant Private Type reference (TYPE) STRING 'ATTRIBUTES_WRITE-CRM.31A.01-BWC.30B.01' Communication Log Inventory in 3.0B 20030211
3 _C_PROTOCOL_310 Constant Private Type reference (TYPE) STRING 'ATTRIBUTES_WRITE-CRM.400.01-BWC.310.01' Communication Log Inventory in 3.10 20030211
4 _GS_CRM_CACHE Static Attribute Private Type reference (TYPE) _YS_CRM_CACHE Cache for CRM Metadata 20030211
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_NAME_FOR_CURRENCY Static method Public Method Build the Field Name for the Currency Key Field 20030226
2 BUILD_NAME_FOR_UNIT Static method Public Method Build the Field Name for the Unit Field 20030226
3 GET_TARGET_DETAIL Static method Public Method Read Target Details from CRM System 20030211
4 GET_TARGET_LIST Static method Public Method Read Target List from CRM System 20030211
5 RESET_CACHE Static method Public Method Reset Cached Metadata 20030327
6 TG_ADD_BPARTNER Static method Public Method Add Business Partner to a Target Group 20031021
7 TG_CHECK_CRM Static method Public Method Check If System Is CRM System 20031030
8 TG_COMMIT_TRANSACTION Static method Public Method Commit Transaction 20031017
9 TG_CREATE_PROFILESET Static method Public Method Create Profile Set in CRM 20031017
10 TG_CREATE_TARGET_GROUP Static method Public Method Create Target Group in CRM 20031017
11 TG_F4_PROFILESET Static method Public Method Get Profile Sets for F4-Help 20031017
12 TG_GET_BP_NUMBERS Static method Public Method Gets GUID for a Business Partner from CRM 20031022
13 TG_GET_PROFILESET_DETAIL Static method Public Method Get Details for a Specific Profile Set 20031017
14 TG_GET_SEGMENTIDS Static method Public Method Get Available Segment IDs 20031017
15 TG_GET_TARGETGROUP_DETAIL Static method Public Method Get Details for a Specific Target Group 20031017
16 WRITE_AFTER Static method Public Method Transfer of Data Packages to CRM System Finished 20030211
17 WRITE_BEFORE Static method Public Method Start Writing to CRM System 20030211
18 WRITE_DATA_PACKAGE Static method Public Method Transfer a Data Package to the CRM System 20030211
19 _BAPIRET2_REMOTE_CONVERT Static method Private Method Convert BAPIRET2 Message from Remote System -> Local Message 20030211
20 _BAPIRET2_T_REMOTE_CONVERT Static method Private Method Convert BAPIRET2 Message from Remote System -> Local Message 20030211
21 _GET_DESTINATION Static method Private Method Derive RFC Destination from Logical System 20031030
22 _GET_PROT_ID Static method Private Method Get RFC Communication Log 20030211
23 _TG_GET_DESTINATION Static method Private Method Derive RFC Destination from Logical System 20031030
Events
Class CL_RSAN_MDL_DT_CRM_RFC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 _YS_CRM_CACHE Private See coding 20030211 BEGIN OF _ys_crm_cache, * Cache for destination destination_cached TYPE as4flag, destination TYPE rodchabgen-rlogsys, rfc_dest TYPE rfcdest, destination_prot_id TYPE string, t_destination_target_list TYPE rsan_mdl_t_dtcrm_target_list, * Cache for target within destination target_cached TYPE as4flag, target TYPE string, t_target_keys TYPE rsan_mdl_t_dtcrm_attr_list, t_target_attributes TYPE rsan_mdl_t_dtcrm_attr_list, END OF _ys_crm_cache
Method Signatures

Method BUILD_NAME_FOR_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) STRING 20030226
2 Returning R_CURRENCY_NAME Value transfer Type reference (TYPE) STRING 20030226

Method BUILD_NAME_FOR_CURRENCY on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method BUILD_NAME_FOR_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) STRING 20030226
2 Returning R_UNIT_NAME Value transfer Type reference (TYPE) STRING 20030226

Method BUILD_NAME_FOR_UNIT on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method GET_TARGET_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTRIBUTES Call by reference Type reference (TYPE) RSAN_MDL_T_DTCRM_ATTR_LIST ET_ATTRIBUTES 20030211
2 Exporting ET_KEYS Call by reference Type reference (TYPE) RSAN_MDL_T_DTCRM_ATTR_LIST ET_KEYS 20030211
3 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20030211
4 Importing I_TARGET Call by reference Type reference (TYPE) STRING CRM Target 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method GET_TARGET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TARGETS Call by reference Type reference (TYPE) RSAN_MDL_T_DTCRM_TARGET_LIST ET_TARGETS 20030211
2 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method RESET_CACHE Signature

Method RESET_CACHE on class CL_RSAN_MDL_DT_CRM_RFC has no parameter.
Method RESET_CACHE on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_ADD_BPARTNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Importing I_BPARTNER_TABLE Call by reference Type reference (TYPE) RSAN_MDL_T_DT_CRM_TG_BPARTNER 20031021
4 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031021
5 Importing I_TARGETGROUP_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_TG_GUID Guid for Target Group 20031021

Method TG_ADD_BPARTNER on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_CHECK_CRM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FAILED Value transfer Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031030
2 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031030

Method TG_CHECK_CRM on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_COMMIT_TRANSACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017
4 Importing I_WAIT Call by reference Type reference (TYPE) BAPITA-WAIT optional: Verwendung des Kommandos 'COMMIT AND WAIT' 20031017

Method TG_COMMIT_TRANSACTION on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_CREATE_PROFILESET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_PROFILESET_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_GUID GUID for Profile Set 20031017
4 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017
5 Importing I_PROFILESET_DESCR Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_TEXT Description for Profile Set 20031017
6 Importing I_SEGMENT_ID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_SEGM_ID Segment ID for Profile Set 20031017

Method TG_CREATE_PROFILESET on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_CREATE_TARGET_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_TARGET_GROUP_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_TG_GUID GUID for Target Group 20031017
4 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017
5 Importing I_PROFILESET_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_GUID GUID for Profile Group 20031017
6 Importing I_SEGMENT_ID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_SEGM_ID Segment ID for Profile Group 20031017
7 Importing I_TARGET_GROUP_DESCR Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_TG_TEXT Description for Target Group 20031017

Method TG_CREATE_TARGET_GROUP on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_F4_PROFILESET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_PROFILESET_DESCR Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_TEXT Description for Profile Set 20031017
4 Exporting E_PROFILESET_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_GUID GUID for Profile Set 20031017
5 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017

Method TG_F4_PROFILESET on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_GET_BP_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return Table 20031022
2 Exporting E_BUPA_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_TG_BPARTNERGUID Businesspartner GUID 20031022
3 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
4 Importing I_BUPA_NUMBER Call by reference Type reference (TYPE) BU_PARTNER Businesspartnernumber 20031022
5 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031022

Method TG_GET_BP_NUMBERS on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_GET_PROFILESET_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_HEADERDATA_OF_PFSET Call by reference Type reference (TYPE) RSAN_MDL_S_DT_CRM_PFSET_HEADER Table of Headerdata for a specific Profileset 20031020
4 Exporting E_PROFILESET_DETAILS Call by reference Type reference (TYPE) RSAN_MDL_S_DT_CRM_PFSET_DETAIL Structure for Profileset Details 20031017
5 Exporting E_TARGETGROUPS_OF_PFSET Call by reference Type reference (TYPE) RSAN_MDL_T_DT_CRM_TG_F4_LIST Table for Target Group Details of specific Profile Set 20031017
6 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017
7 Importing I_PROFILESET_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_PFSET_GUID GUID for Profile Set 20031017

Method TG_GET_PROFILESET_DETAIL on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_GET_SEGMENTIDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_SEGMENTIDS Call by reference Type reference (TYPE) RSAN_MDL_T_DT_CRM_SEGID_DETAIL Available Segment ID's 20031017
4 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017

Method TG_GET_SEGMENTIDS on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method TG_GET_TARGETGROUP_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return table if error occured 20031021
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031022
3 Exporting E_STATUS_INACTIVE Call by reference Type reference (TYPE) C Return Parameter of Target Group Status 20031021
4 Exporting E_TARGETGROUP_DETAILS Call by reference Type reference (TYPE) RSAN_MDL_S_DT_CRM_TG_DETAILS Structure for Target Group Details 20031017
5 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031017
6 Importing I_TARGETGROUP_GUID Call by reference Type reference (TYPE) RSAN_WB_DT_CRM_TG_GUID Guid for Target Group 20031017

Method TG_GET_TARGETGROUP_DETAIL on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method WRITE_AFTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211
2 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20030211
3 Importing I_TARGET Call by reference Type reference (TYPE) STRING CRM Target 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method WRITE_BEFORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211
2 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20030211
3 Importing I_TARGET Call by reference Type reference (TYPE) STRING CRM Target 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method WRITE_DATA_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211
2 Importing IT_DATA Call by reference Type reference (TYPE) RSAN_MDL_T_DTCRM_ATTR_VALUES IT_DATA 20030211
3 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20030211
4 Importing I_TARGET Call by reference Type reference (TYPE) STRING CRM Target 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method _BAPIRET2_REMOTE_CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG X=Message E/A/X occured, ' '=Message I/S/W 20030211
3 Importing IS_REMOTE_RETURN Call by reference Type reference (TYPE) BAPIRET2 Returnparameter 20030211

Method _BAPIRET2_REMOTE_CONVERT on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method _BAPIRET2_T_REMOTE_CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211
2 Exporting E_FAILED Call by reference Type reference (TYPE) AS4FLAG X=Message E/A/X occured, ' '=Message I/S/W 20030211
3 Importing IT_REMOTE_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20030211

Method _BAPIRET2_T_REMOTE_CONVERT on class CL_RSAN_MDL_DT_CRM_RFC has no exception.

Method _GET_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RFC_DEST Call by reference Type reference (TYPE) RFCDEST RFC Destination 20031030
2 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031030
# Exception Resumable Description Created on
1 FAILED Failed (Message Raising) 20031030

Method _GET_PROT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RFC_DEST Call by reference Type reference (TYPE) RFCDEST RFC Destination 20030211
2 Returning R_PROT_ID Value transfer Type reference (TYPE) STRING R_PROT_ID 20030211
# Exception Resumable Description Created on
1 FAILED FAILED 20030211

Method _TG_GET_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Value transfer Type reference (TYPE) BAPIRET2_T Returntabelle 20031030
2 Exporting E_FAILED Value transfer Type reference (TYPE) AS4FLAG 'X'=Abort execution 20031030
3 Exporting E_RFC_DEST Call by reference Type reference (TYPE) RFCDEST RFC Destination 20031030
4 Importing I_DESTINATION Call by reference Type reference (TYPE) RODCHABGEN-RLOGSYS Logisches System des Empfängers 20031030

Method _TG_GET_DESTINATION on class CL_RSAN_MDL_DT_CRM_RFC has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 400