SAP CACS_LIABILITY_LOSOF_GET Function Module for NOTRANSL: Haftung: Funktionsparameter(LOS) zur Haftungsart lesen
CACS_LIABILITY_LOSOF_GET is a standard cacs liability losof 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 NOTRANSL: Haftung: Funktionsparameter(LOS) zur Haftungsart lesen 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 cacs liability losof get FM, simply by entering the name CACS_LIABILITY_LOSOF_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_LIABILITY_RULE_DBIF
Program Name: SAPLCACS_LIABILITY_RULE_DBIF
Main Program: SAPLCACS_LIABILITY_RULE_DBIF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CACS_LIABILITY_LOSOF_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 'CACS_LIABILITY_LOSOF_GET'"NOTRANSL: Haftung: Funktionsparameter(LOS) zur Haftungsart lesen.
EXPORTING
ID_APPL = "Commission Application Identification
ID_BUSITIME = "Effective Validity (Time Stamp YYYY.MM.DD hh:mm:ss)
ID_TECHTIME = "Technical Validity (Time Stamp: YYYY.MM.DD hh:mm:ss)
ID_RESP_RULE_ID = "Liability Type
ID_METHOD = "Assigned Method for Object Type Class for Logical Service
IMPORTING
ES_LOSOF = "OTC 03 (Liability), Object-Specific Parameters
EXCEPTIONS
CX_CACS_LIABILITY = 1
IMPORTING Parameters details for CACS_LIABILITY_LOSOF_GET
ID_APPL - Commission Application Identification
Data type: CACSAPPLOptional: No
Call by Reference: Yes
ID_BUSITIME - Effective Validity (Time Stamp YYYY.MM.DD hh:mm:ss)
Data type: CACSBUSITIMEOptional: No
Call by Reference: Yes
ID_TECHTIME - Technical Validity (Time Stamp: YYYY.MM.DD hh:mm:ss)
Data type: CACSTECHTIMEOptional: No
Call by Reference: Yes
ID_RESP_RULE_ID - Liability Type
Data type: CACSRESPRULEOptional: No
Call by Reference: Yes
ID_METHOD - Assigned Method for Object Type Class for Logical Service
Data type: CACS_LOS_METHOptional: No
Call by Reference: Yes
EXPORTING Parameters details for CACS_LIABILITY_LOSOF_GET
ES_LOSOF - OTC 03 (Liability), Object-Specific Parameters
Data type: CACS_S_OTC03_OFOptional: No
Call by Reference: Yes
EXCEPTIONS details
CX_CACS_LIABILITY - Exceptions Liability
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CACS_LIABILITY_LOSOF_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_id_appl | TYPE CACSAPPL, " | |||
| lv_es_losof | TYPE CACS_S_OTC03_OF, " | |||
| lv_cx_cacs_liability | TYPE CACS_S_OTC03_OF, " | |||
| lv_id_busitime | TYPE CACSBUSITIME, " | |||
| lv_id_techtime | TYPE CACSTECHTIME, " | |||
| lv_id_resp_rule_id | TYPE CACSRESPRULE, " | |||
| lv_id_method | TYPE CACS_LOS_METH. " |
|   CALL FUNCTION 'CACS_LIABILITY_LOSOF_GET' "NOTRANSL: Haftung: Funktionsparameter(LOS) zur Haftungsart lesen |
| EXPORTING | ||
| ID_APPL | = lv_id_appl | |
| ID_BUSITIME | = lv_id_busitime | |
| ID_TECHTIME | = lv_id_techtime | |
| ID_RESP_RULE_ID | = lv_id_resp_rule_id | |
| ID_METHOD | = lv_id_method | |
| IMPORTING | ||
| ES_LOSOF | = lv_es_losof | |
| EXCEPTIONS | ||
| CX_CACS_LIABILITY = 1 | ||
| . " CACS_LIABILITY_LOSOF_GET | ||
ABAP code using 7.40 inline data declarations to call FM CACS_LIABILITY_LOSOF_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.Search for further information about these or an SAP related objects