SAP CACSSD_LOSA_PRICING_VAL_RFC Function Module for Logical Service Tool to use the pricing engine for valuation data
CACSSD_LOSA_PRICING_VAL_RFC is a standard cacssd losa pricing val rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Logical Service Tool to use the pricing engine for valuation data 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 cacssd losa pricing val rfc FM, simply by entering the name CACSSD_LOSA_PRICING_VAL_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACSSD_LOSA_PRICING_RFC
Program Name: SAPLCACSSD_LOSA_PRICING_RFC
Main Program: SAPLCACSSD_LOSA_PRICING_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CACSSD_LOSA_PRICING_VAL_RFC 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 'CACSSD_LOSA_PRICING_VAL_RFC'"Logical Service Tool to use the pricing engine for valuation data.
EXPORTING
I_CACSAPPL = "
I_OBJ_TYPE = "Type of Calculating Object
I_OBJ_ID = "Calculating Object Identification
I_OBJ_METHOD = "Processing Method for Objects in a Generation Class
I_TECH_TIME = "
I_BUSI_TIME = "
TABLES
T_DOCVAM = "
T_DOCHDM = "Commission Document Header (Meta Object)
IMPORTING Parameters details for CACSSD_LOSA_PRICING_VAL_RFC
I_CACSAPPL -
Data type: CACSAPPLOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJ_TYPE - Type of Calculating Object
Data type: TCACS_LOS_OBJECT-OBJ_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJ_ID - Calculating Object Identification
Data type: TCACS_LOS_OBJECT-OBJ_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJ_METHOD - Processing Method for Objects in a Generation Class
Data type: TCACS_LOS_CONNEC-OBJ_METHODOptional: No
Call by Reference: No ( called with pass by value option)
I_TECH_TIME -
Data type: CACS_TECHTIME_BOptional: No
Call by Reference: No ( called with pass by value option)
I_BUSI_TIME -
Data type: CACS_BUSITIME_BOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CACSSD_LOSA_PRICING_VAL_RFC
T_DOCVAM -
Data type: CACS00_S_DOCVAMOptional: No
Call by Reference: No ( called with pass by value option)
T_DOCHDM - Commission Document Header (Meta Object)
Data type: CACS00_S_DOCHDMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CACSSD_LOSA_PRICING_VAL_RFC 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_docvam | TYPE STANDARD TABLE OF CACS00_S_DOCVAM, " | |||
| 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 'CACSSD_LOSA_PRICING_VAL_RFC' "Logical Service Tool to use the pricing engine for valuation data |
| 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_DOCVAM | = lt_t_docvam | |
| T_DOCHDM | = lt_t_dochdm | |
| . " CACSSD_LOSA_PRICING_VAL_RFC | ||
ABAP code using 7.40 inline data declarations to call FM CACSSD_LOSA_PRICING_VAL_RFC
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