SAP CBRC_SOORD_PL_DATA_READ Function Module for
CBRC_SOORD_PL_DATA_READ is a standard cbrc soord pl data read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 cbrc soord pl data read FM, simply by entering the name CBRC_SOORD_PL_DATA_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBRC_SO
Program Name: SAPLCBRC_SO
Main Program: SAPLCBRC_SO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBRC_SOORD_PL_DATA_READ 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 'CBRC_SOORD_PL_DATA_READ'".
EXPORTING
I_REG = "Regulatory list
* I_SCEN = "Scenario
I_VALFR = "Start Date of Current Tracking Period
* I_VALFR_TIME = "Time of data entry
I_VALTO = "End Date of Current Tracking Period
* I_VALTO_TIME = "
IMPORTING
E_VBUK_TAB = "Sales Document: Header Status and Administrative Data
E_FLG_ERROR = "Error Indicator
E_VBUP_TAB = "Sales Document: Item Status
E_VBAK_TAB = "Sales Document: Header Data
E_VBAP_TAB = "Sales Document: Item Data
E_VBEP_TAB = "Sales Document: Schedule Line Data
E_LIKP_TAB = "SD Document: Delivery Header Data
E_LIPS_TAB = "SD Document: Delivery: Item Data
E_VBPA_TAB = "Sales Document: Partner
E_ERROR_TAB = "Message Table for Application Log
IMPORTING Parameters details for CBRC_SOORD_PL_DATA_READ
I_REG - Regulatory list
Data type: ESESLSTIDOptional: No
Call by Reference: Yes
I_SCEN - Scenario
Data type: CCRCE_SCENOptional: Yes
Call by Reference: Yes
I_VALFR - Start Date of Current Tracking Period
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_VALFR_TIME - Time of data entry
Data type: CPUTMOptional: Yes
Call by Reference: Yes
I_VALTO - End Date of Current Tracking Period
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_VALTO_TIME -
Data type: CPUTMOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for CBRC_SOORD_PL_DATA_READ
E_VBUK_TAB - Sales Document: Header Status and Administrative Data
Data type: CCRCTT_VBUKOptional: No
Call by Reference: Yes
E_FLG_ERROR - Error Indicator
Data type: ESEBOOLEOptional: No
Call by Reference: Yes
E_VBUP_TAB - Sales Document: Item Status
Data type: CCRCTT_VBUPOptional: No
Call by Reference: Yes
E_VBAK_TAB - Sales Document: Header Data
Data type: CCRCTT_VBAKOptional: No
Call by Reference: Yes
E_VBAP_TAB - Sales Document: Item Data
Data type: CCRCTT_VBAPOptional: No
Call by Reference: Yes
E_VBEP_TAB - Sales Document: Schedule Line Data
Data type: CCRCTT_VBEPOptional: No
Call by Reference: Yes
E_LIKP_TAB - SD Document: Delivery Header Data
Data type: CCRCTT_LIKPOptional: No
Call by Reference: Yes
E_LIPS_TAB - SD Document: Delivery: Item Data
Data type: CCRCTT_LIPSOptional: No
Call by Reference: Yes
E_VBPA_TAB - Sales Document: Partner
Data type: CCRCTT_VBPAOptional: No
Call by Reference: Yes
E_ERROR_TAB - Message Table for Application Log
Data type: CCRCTT_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CBRC_SOORD_PL_DATA_READ 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_i_reg | TYPE ESESLSTID, " | |||
| lv_e_vbuk_tab | TYPE CCRCTT_VBUK, " | |||
| lv_e_flg_error | TYPE ESEBOOLE, " | |||
| lv_i_scen | TYPE CCRCE_SCEN, " | |||
| lv_e_vbup_tab | TYPE CCRCTT_VBUP, " | |||
| lv_i_valfr | TYPE SY-DATUM, " | |||
| lv_e_vbak_tab | TYPE CCRCTT_VBAK, " | |||
| lv_e_vbap_tab | TYPE CCRCTT_VBAP, " | |||
| lv_i_valfr_time | TYPE CPUTM, " | |||
| lv_i_valto | TYPE SY-DATUM, " | |||
| lv_e_vbep_tab | TYPE CCRCTT_VBEP, " | |||
| lv_e_likp_tab | TYPE CCRCTT_LIKP, " | |||
| lv_i_valto_time | TYPE CPUTM, " | |||
| lv_e_lips_tab | TYPE CCRCTT_LIPS, " | |||
| lv_e_vbpa_tab | TYPE CCRCTT_VBPA, " | |||
| lv_e_error_tab | TYPE CCRCTT_MSG. " |
|   CALL FUNCTION 'CBRC_SOORD_PL_DATA_READ' " |
| EXPORTING | ||
| I_REG | = lv_i_reg | |
| I_SCEN | = lv_i_scen | |
| I_VALFR | = lv_i_valfr | |
| I_VALFR_TIME | = lv_i_valfr_time | |
| I_VALTO | = lv_i_valto | |
| I_VALTO_TIME | = lv_i_valto_time | |
| IMPORTING | ||
| E_VBUK_TAB | = lv_e_vbuk_tab | |
| E_FLG_ERROR | = lv_e_flg_error | |
| E_VBUP_TAB | = lv_e_vbup_tab | |
| E_VBAK_TAB | = lv_e_vbak_tab | |
| E_VBAP_TAB | = lv_e_vbap_tab | |
| E_VBEP_TAB | = lv_e_vbep_tab | |
| E_LIKP_TAB | = lv_e_likp_tab | |
| E_LIPS_TAB | = lv_e_lips_tab | |
| E_VBPA_TAB | = lv_e_vbpa_tab | |
| E_ERROR_TAB | = lv_e_error_tab | |
| . " CBRC_SOORD_PL_DATA_READ | ||
ABAP code using 7.40 inline data declarations to call FM CBRC_SOORD_PL_DATA_READ
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 DATUM FROM SY INTO @DATA(ld_i_valfr). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_valto). | ||||
Search for further information about these or an SAP related objects