SAP CACSBR_LOSA_BR_REM Function Module for Formula Editor: LOS Function (Remuneration)









CACSBR_LOSA_BR_REM is a standard cacsbr losa br rem SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Formula Editor: LOS Function (Remuneration) 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 cacsbr losa br rem FM, simply by entering the name CACSBR_LOSA_BR_REM into the relevant SAP transaction such as SE37 or SE38.

Function Group: CACSBR_BUSS_RULE_LOS
Program Name: SAPLCACSBR_BUSS_RULE_LOS
Main Program: SAPLCACSBR_BUSS_RULE_LOS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CACSBR_LOSA_BR_REM 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 'CACSBR_LOSA_BR_REM'"Formula Editor: LOS Function (Remuneration)
EXPORTING
I_CACSAPPL = "Commission Application (ICM)
I_OBJ_TYPE = "Object Type Class (OTC) for Logical Service
I_OBJ_ID = "Calculating Object Identification
I_OBJ_METHOD = "Assigned Method for Object Type Class for Logical Service
I_TECH_TIME = "Technically Valid From
I_BUSI_TIME = "Effective from

TABLES
T_DOCREM = "Commission Document, Remuneration and Liability(Meta Object)
T_DOCHDM = "Commission Document Header (Meta Object)
.



IMPORTING Parameters details for CACSBR_LOSA_BR_REM

I_CACSAPPL - Commission Application (ICM)

Data type: CACSAPPL
Optional: No
Call by Reference: Yes

I_OBJ_TYPE - Object Type Class (OTC) for Logical Service

Data type: TCACS_LOS_OBJECT-OBJ_TYPE
Optional: No
Call by Reference: Yes

I_OBJ_ID - Calculating Object Identification

Data type: TCACS_LOS_OBJECT-OBJ_ID
Optional: No
Call by Reference: Yes

I_OBJ_METHOD - Assigned Method for Object Type Class for Logical Service

Data type: TCACS_LOS_CONNEC-OBJ_METHOD
Optional: No
Call by Reference: Yes

I_TECH_TIME - Technically Valid From

Data type: CACS_TECHTIME_B
Optional: No
Call by Reference: No ( called with pass by value option)

I_BUSI_TIME - Effective from

Data type: CACS_BUSITIME_B
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CACSBR_LOSA_BR_REM

T_DOCREM - Commission Document, Remuneration and Liability(Meta Object)

Data type: CACS00_S_DOCREM
Optional: No
Call by Reference: Yes

T_DOCHDM - Commission Document Header (Meta Object)

Data type: CACS00_S_DOCHDM
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CACSBR_LOSA_BR_REM 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_t_docrem  TYPE STANDARD TABLE OF CACS00_S_DOCREM, "   
lv_i_cacsappl  TYPE CACSAPPL, "   
lt_t_dochdm  TYPE STANDARD TABLE OF CACS00_S_DOCHDM, "   
lv_i_obj_type  TYPE TCACS_LOS_OBJECT-OBJ_TYPE, "   
lv_i_obj_id  TYPE TCACS_LOS_OBJECT-OBJ_ID, "   
lv_i_obj_method  TYPE TCACS_LOS_CONNEC-OBJ_METHOD, "   
lv_i_tech_time  TYPE CACS_TECHTIME_B, "   
lv_i_busi_time  TYPE CACS_BUSITIME_B. "   

  CALL FUNCTION 'CACSBR_LOSA_BR_REM'  "Formula Editor: LOS Function (Remuneration)
    EXPORTING
         I_CACSAPPL = lv_i_cacsappl
         I_OBJ_TYPE = lv_i_obj_type
         I_OBJ_ID = lv_i_obj_id
         I_OBJ_METHOD = lv_i_obj_method
         I_TECH_TIME = lv_i_tech_time
         I_BUSI_TIME = lv_i_busi_time
    TABLES
         T_DOCREM = lt_t_docrem
         T_DOCHDM = lt_t_dochdm
. " CACSBR_LOSA_BR_REM




ABAP code using 7.40 inline data declarations to call FM CACSBR_LOSA_BR_REM

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 OBJ_TYPE FROM TCACS_LOS_OBJECT INTO @DATA(ld_i_obj_type).
 
"SELECT single OBJ_ID FROM TCACS_LOS_OBJECT INTO @DATA(ld_i_obj_id).
 
"SELECT single OBJ_METHOD FROM TCACS_LOS_CONNEC INTO @DATA(ld_i_obj_method).
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!