SAP OIRC_PRC_EXEC_PC Function Module for SSR Pricing - Execute process control









OIRC_PRC_EXEC_PC is a standard oirc prc exec pc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SSR Pricing - Execute process control 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 oirc prc exec pc FM, simply by entering the name OIRC_PRC_EXEC_PC into the relevant SAP transaction such as SE37 or SE38.

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



Function OIRC_PRC_EXEC_PC 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 'OIRC_PRC_EXEC_PC'"SSR Pricing - Execute process control
EXPORTING
I_PROC = "Process ID
I_RNBT = "Retail network business type
* I_CE_PARAMETERS = "Customer Enhancements Parameter structure (IS-OIL SSR)

TABLES
T_PRUPLD = "SSR Pricing - Upload structure
* T_CE_TABLE9 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE10 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE1 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE2 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE3 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE4 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE5 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE6 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE7 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE8 = "Customer enhancement table structure (IS-OIL SSR)

EXCEPTIONS
PROCESS_NOT_EXIST = 1 ROUTINE_NOT_FOUND = 2 BT_MISSMATCH = 3 PROCESS_CONTROL_ERROR = 4 RECORD_PROCESS_ERROR = 5 UNKNOWN_ERROR = 6 MAIN_PROCESS_NOT_FOUND = 7
.



IMPORTING Parameters details for OIRC_PRC_EXEC_PC

I_PROC - Process ID

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

I_RNBT - Retail network business type

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

I_CE_PARAMETERS - Customer Enhancements Parameter structure (IS-OIL SSR)

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

TABLES Parameters details for OIRC_PRC_EXEC_PC

T_PRUPLD - SSR Pricing - Upload structure

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

T_CE_TABLE9 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE9
Optional: Yes
Call by Reference: Yes

T_CE_TABLE10 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE10
Optional: Yes
Call by Reference: Yes

T_CE_TABLE1 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE1
Optional: Yes
Call by Reference: Yes

T_CE_TABLE2 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE2
Optional: Yes
Call by Reference: Yes

T_CE_TABLE3 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE3
Optional: Yes
Call by Reference: Yes

T_CE_TABLE4 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE4
Optional: Yes
Call by Reference: Yes

T_CE_TABLE5 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE5
Optional: Yes
Call by Reference: Yes

T_CE_TABLE6 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE6
Optional: Yes
Call by Reference: Yes

T_CE_TABLE7 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE7
Optional: Yes
Call by Reference: Yes

T_CE_TABLE8 - Customer enhancement table structure (IS-OIL SSR)

Data type: OIRA_CE_TABLE_STRUCTURE8
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PROCESS_NOT_EXIST - Process not found

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

ROUTINE_NOT_FOUND - Prerequisites routine not found.

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

BT_MISSMATCH - Business type does not match process definition

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

PROCESS_CONTROL_ERROR - Internal process control error

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

RECORD_PROCESS_ERROR - Records not processed after loop end

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

UNKNOWN_ERROR - Process control unknown error

Data type:
Optional: No
Call by Reference: Yes

MAIN_PROCESS_NOT_FOUND - Main process not found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIRC_PRC_EXEC_PC 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_proc  TYPE OIRA_PROC, "   
lt_t_prupld  TYPE STANDARD TABLE OF ROIRC_PRUPLD, "   
lv_process_not_exist  TYPE ROIRC_PRUPLD, "   
lt_t_ce_table9  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE9, "   
lt_t_ce_table10  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE10, "   
lv_i_rnbt  TYPE OIRA_RNBT, "   
lt_t_ce_table1  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE1, "   
lv_routine_not_found  TYPE OIRA_CE_TABLE_STRUCTURE1, "   
lt_t_ce_table2  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE2, "   
lv_bt_missmatch  TYPE OIRA_CE_TABLE_STRUCTURE2, "   
lv_i_ce_parameters  TYPE OIRA_CE_PARAMETERS, "   
lt_t_ce_table3  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE3, "   
lv_process_control_error  TYPE OIRA_CE_TABLE_STRUCTURE3, "   
lt_t_ce_table4  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE4, "   
lv_record_process_error  TYPE OIRA_CE_TABLE_STRUCTURE4, "   
lt_t_ce_table5  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE5, "   
lv_unknown_error  TYPE OIRA_CE_TABLE_STRUCTURE5, "   
lt_t_ce_table6  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE6, "   
lv_main_process_not_found  TYPE OIRA_CE_TABLE_STRUCTURE6, "   
lt_t_ce_table7  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE7, "   
lt_t_ce_table8  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE8. "   

  CALL FUNCTION 'OIRC_PRC_EXEC_PC'  "SSR Pricing - Execute process control
    EXPORTING
         I_PROC = lv_i_proc
         I_RNBT = lv_i_rnbt
         I_CE_PARAMETERS = lv_i_ce_parameters
    TABLES
         T_PRUPLD = lt_t_prupld
         T_CE_TABLE9 = lt_t_ce_table9
         T_CE_TABLE10 = lt_t_ce_table10
         T_CE_TABLE1 = lt_t_ce_table1
         T_CE_TABLE2 = lt_t_ce_table2
         T_CE_TABLE3 = lt_t_ce_table3
         T_CE_TABLE4 = lt_t_ce_table4
         T_CE_TABLE5 = lt_t_ce_table5
         T_CE_TABLE6 = lt_t_ce_table6
         T_CE_TABLE7 = lt_t_ce_table7
         T_CE_TABLE8 = lt_t_ce_table8
    EXCEPTIONS
        PROCESS_NOT_EXIST = 1
        ROUTINE_NOT_FOUND = 2
        BT_MISSMATCH = 3
        PROCESS_CONTROL_ERROR = 4
        RECORD_PROCESS_ERROR = 5
        UNKNOWN_ERROR = 6
        MAIN_PROCESS_NOT_FOUND = 7
. " OIRC_PRC_EXEC_PC




ABAP code using 7.40 inline data declarations to call FM OIRC_PRC_EXEC_PC

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



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!