SAP /PM0/ABT_CM_GET_BASIC_DATA Function Module for Determine Basic Data for Claim/Benefit Processing in FS-CM
/PM0/ABT_CM_GET_BASIC_DATA is a standard /pm0/abt cm get basic data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Basic Data for Claim/Benefit Processing in FS-CM 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 /pm0/abt cm get basic data FM, simply by entering the name /PM0/ABT_CM_GET_BASIC_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: /PM0/ABT_CM_CM2FSPM
Program Name: /PM0/SAPLABT_CM_CM2FSPM
Main Program: /PM0/SAPLABT_CM_CM2FSPM
Appliation area:
Release date: 26-Sep-2017
Mode(Normal, Remote etc): Remote-Enabled + BasXML supported
Update:

Function /PM0/ABT_CM_GET_BASIC_DATA 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 '/PM0/ABT_CM_GET_BASIC_DATA'"Determine Basic Data for Claim/Benefit Processing in FS-CM.
EXPORTING
IV_POLPR_NR = "Contract Number
IV_LOSSDATE_DT = "Date of Loss
IMPORTING
EV_POLICY_NR = "Policy Number
EV_LOB_CD = "Line of Business
EV_EXTERNAL_PRODUCT = "External Product
ET_BENPROF_CD = "Benefit Processing Profiles
EV_PRT_CD = "Pro Rata Temporis Variant
EV_LAST_AMENDMENT_TS = "Processing Time Stamp
EV_LAST_AMENDMENT_DT = "Effective Start Date for Journal Entry
TABLES
* EXTENSIONIN = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* EXTENSIONOUT = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN = "Return Parameter(s)
IMPORTING Parameters details for /PM0/ABT_CM_GET_BASIC_DATA
IV_POLPR_NR - Contract Number
Data type: /PM0/ABD_APPLNR_TTOptional: No
Call by Reference: No ( called with pass by value option)
IV_LOSSDATE_DT - Date of Loss
Data type: /PM0/ABD_LOSSDATE_DTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /PM0/ABT_CM_GET_BASIC_DATA
EV_POLICY_NR - Policy Number
Data type: /PM0/ABD_POLICYNR_TTOptional: No
Call by Reference: No ( called with pass by value option)
EV_LOB_CD - Line of Business
Data type: /PM0/ABD_LOB_CDOptional: No
Call by Reference: No ( called with pass by value option)
EV_EXTERNAL_PRODUCT - External Product
Data type: /PM0/ABR_EXTERNAL_PRODUCTOptional: No
Call by Reference: No ( called with pass by value option)
ET_BENPROF_CD - Benefit Processing Profiles
Data type: /PM0/ABD_CM_BENPROFIL_TOptional: No
Call by Reference: No ( called with pass by value option)
EV_PRT_CD - Pro Rata Temporis Variant
Data type: /PM0/ABD_PRT_CDOptional: No
Call by Reference: No ( called with pass by value option)
EV_LAST_AMENDMENT_TS - Processing Time Stamp
Data type: /PM0/ABJ_MOD_TSOptional: No
Call by Reference: No ( called with pass by value option)
EV_LAST_AMENDMENT_DT - Effective Start Date for Journal Entry
Data type: /PM0/ABJ_VALIDFROM_DTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /PM0/ABT_CM_GET_BASIC_DATA
EXTENSIONIN - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONOUT - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /PM0/ABT_CM_GET_BASIC_DATA 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: | ||||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_iv_polpr_nr | TYPE /PM0/ABD_APPLNR_TT, " | |||
| lv_ev_policy_nr | TYPE /PM0/ABD_POLICYNR_TT, " | |||
| lv_ev_lob_cd | TYPE /PM0/ABD_LOB_CD, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_iv_lossdate_dt | TYPE /PM0/ABD_LOSSDATE_DT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_ev_external_product | TYPE /PM0/ABR_EXTERNAL_PRODUCT, " | |||
| lv_et_benprof_cd | TYPE /PM0/ABD_CM_BENPROFIL_T, " | |||
| lv_ev_prt_cd | TYPE /PM0/ABD_PRT_CD, " | |||
| lv_ev_last_amendment_ts | TYPE /PM0/ABJ_MOD_TS, " | |||
| lv_ev_last_amendment_dt | TYPE /PM0/ABJ_VALIDFROM_DT. " |
|   CALL FUNCTION '/PM0/ABT_CM_GET_BASIC_DATA' "Determine Basic Data for Claim/Benefit Processing in FS-CM |
| EXPORTING | ||
| IV_POLPR_NR | = lv_iv_polpr_nr | |
| IV_LOSSDATE_DT | = lv_iv_lossdate_dt | |
| IMPORTING | ||
| EV_POLICY_NR | = lv_ev_policy_nr | |
| EV_LOB_CD | = lv_ev_lob_cd | |
| EV_EXTERNAL_PRODUCT | = lv_ev_external_product | |
| ET_BENPROF_CD | = lv_et_benprof_cd | |
| EV_PRT_CD | = lv_ev_prt_cd | |
| EV_LAST_AMENDMENT_TS | = lv_ev_last_amendment_ts | |
| EV_LAST_AMENDMENT_DT | = lv_ev_last_amendment_dt | |
| TABLES | ||
| EXTENSIONIN | = lt_extensionin | |
| EXTENSIONOUT | = lt_extensionout | |
| RETURN | = lt_return | |
| . " /PM0/ABT_CM_GET_BASIC_DATA | ||
ABAP code using 7.40 inline data declarations to call FM /PM0/ABT_CM_GET_BASIC_DATA
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.Search for further information about these or an SAP related objects