SAP CMS_MIG_CML_COLLATERAL_GET Function Module for Darlehen RFC: Sicherheit Detaildaten
CMS_MIG_CML_COLLATERAL_GET is a standard cms mig cml collateral get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Darlehen RFC: Sicherheit Detaildaten processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for cms mig cml collateral get FM, simply by entering the name CMS_MIG_CML_COLLATERAL_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CMS_MIG_CML
Program Name: SAPLCMS_MIG_CML
Main Program: SAPLCMS_MIG_CML
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CMS_MIG_CML_COLLATERAL_GET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CMS_MIG_CML_COLLATERAL_GET'"Darlehen RFC: Sicherheit Detaildaten.
EXPORTING
COLLATERALID = "Collateral reference number
IMPORTING
ERROR = "
TABLES
* ET_EXPIRYDATA = "
* ET_PARTNER = "
* ET_ARRANGEMENT = "BAPI Reference Structure For Special Arrangement (VDSONSI)
* ET_POLICY = "
* ET_LOAN = "
* ET_STOCK = "
* ET_USERFIELDS = "
* E_RETURN = "
IMPORTING Parameters details for CMS_MIG_CML_COLLATERAL_GET
COLLATERALID - Collateral reference number
Data type: RSICHEROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CMS_MIG_CML_COLLATERAL_GET
ERROR -
Data type: BAPILOAN_COMMON-ERROROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CMS_MIG_CML_COLLATERAL_GET
ET_EXPIRYDATA -
Data type: BAPICOLL_EXPIRYDATAOptional: Yes
Call by Reference: Yes
ET_PARTNER -
Data type: BAPIREL_BPOBJOptional: Yes
Call by Reference: Yes
ET_ARRANGEMENT - BAPI Reference Structure For Special Arrangement (VDSONSI)
Data type: BAPICOLL_ARRANGEMENTOptional: Yes
Call by Reference: Yes
ET_POLICY -
Data type: BAPICOLL_POLICYOptional: Yes
Call by Reference: Yes
ET_LOAN -
Data type: BAPICOLL_LOANOptional: Yes
Call by Reference: Yes
ET_STOCK -
Data type: BAPICOLL_STOCKOptional: Yes
Call by Reference: Yes
ET_USERFIELDS -
Data type: BAPILOAN_USERFIELDSOptional: Yes
Call by Reference: Yes
E_RETURN -
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CMS_MIG_CML_COLLATERAL_GET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_error | TYPE BAPILOAN_COMMON-ERROR, " | |||
| lv_collateralid | TYPE RSICHER, " | |||
| lt_et_expirydata | TYPE STANDARD TABLE OF BAPICOLL_EXPIRYDATA, " | |||
| lt_et_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ, " | |||
| lt_et_arrangement | TYPE STANDARD TABLE OF BAPICOLL_ARRANGEMENT, " | |||
| lt_et_policy | TYPE STANDARD TABLE OF BAPICOLL_POLICY, " | |||
| lt_et_loan | TYPE STANDARD TABLE OF BAPICOLL_LOAN, " | |||
| lt_et_stock | TYPE STANDARD TABLE OF BAPICOLL_STOCK, " | |||
| lt_et_userfields | TYPE STANDARD TABLE OF BAPILOAN_USERFIELDS, " | |||
| lt_e_return | TYPE STANDARD TABLE OF BAPIRET2. " |
|   CALL FUNCTION 'CMS_MIG_CML_COLLATERAL_GET' "Darlehen RFC: Sicherheit Detaildaten |
| EXPORTING | ||
| COLLATERALID | = lv_collateralid | |
| IMPORTING | ||
| ERROR | = lv_error | |
| TABLES | ||
| ET_EXPIRYDATA | = lt_et_expirydata | |
| ET_PARTNER | = lt_et_partner | |
| ET_ARRANGEMENT | = lt_et_arrangement | |
| ET_POLICY | = lt_et_policy | |
| ET_LOAN | = lt_et_loan | |
| ET_STOCK | = lt_et_stock | |
| ET_USERFIELDS | = lt_et_userfields | |
| E_RETURN | = lt_e_return | |
| . " CMS_MIG_CML_COLLATERAL_GET | ||
ABAP code using 7.40 inline data declarations to call FM CMS_MIG_CML_COLLATERAL_GET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single ERROR FROM BAPILOAN_COMMON INTO @DATA(ld_error). | ||||
Search for further information about these or an SAP related objects