SAP /BKC/RFC_INSERT_PPOIX Function Module for C&T! - Insert of table PPOIX
/BKC/RFC_INSERT_PPOIX is a standard /bkc/rfc insert ppoix SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for C&T! - Insert of table PPOIX 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 /bkc/rfc insert ppoix FM, simply by entering the name /BKC/RFC_INSERT_PPOIX into the relevant SAP transaction such as SE37 or SE38.
Function Group: /BKC/SOL21
Program Name: /BKC/SAPLSOL21
Main Program: /BKC/SAPLSOL21
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /BKC/RFC_INSERT_PPOIX 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 '/BKC/RFC_INSERT_PPOIX'"C&T! - Insert of table PPOIX.
EXPORTING
* EVTYP = 'PP' "Run type
* CALLER_IS_UNICODE = "Background processing, program running in the background
* IF_VERSN = '01' "Version of cluster data
* XBUFSIZE = 256 "C&T! - Size of binary buffer
* XBUFNAME = "Table name
* P_USREX = "Background processing, program running in the background
* P_USRMOD = "C&T! - Modifier for user exits
* P_NRUNID = 'X' "Background processing, program running in the background
IMPORTING
RC = "Return value, return value according to ABAP instructions
TABLES
* RUNID_TAB = "C&T! - Structure for conversion of run ID's of FI postings
* PPOIX_TAB = "Index payroll result item -> document item
* XBUF256 = "C&T! - Binary buffer with 256 byte
* SYS_FEHLER = "C&T! - Interface structure for error messages
IMPORTING Parameters details for /BKC/RFC_INSERT_PPOIX
EVTYP - Run type
Data type: P_EVTYPDefault: 'PP'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALLER_IS_UNICODE - Background processing, program running in the background
Data type: SY-BATCHOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_VERSN - Version of cluster data
Data type: PVRSNDefault: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)
XBUFSIZE - C&T! - Size of binary buffer
Data type: /BKC/S21_XBUFSIZEDefault: 256
Optional: Yes
Call by Reference: No ( called with pass by value option)
XBUFNAME - Table name
Data type: TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
P_USREX - Background processing, program running in the background
Data type: SY-BATCHOptional: Yes
Call by Reference: No ( called with pass by value option)
P_USRMOD - C&T! - Modifier for user exits
Data type: /BKC/S21_USREX_MODIFOptional: Yes
Call by Reference: No ( called with pass by value option)
P_NRUNID - Background processing, program running in the background
Data type: SY-BATCHDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /BKC/RFC_INSERT_PPOIX
RC - Return value, return value according to ABAP instructions
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /BKC/RFC_INSERT_PPOIX
RUNID_TAB - C&T! - Structure for conversion of run ID's of FI postings
Data type: /BKC/S21_RUNID_TABOptional: Yes
Call by Reference: Yes
PPOIX_TAB - Index payroll result item -> document item
Data type: PPOIXOptional: Yes
Call by Reference: Yes
XBUF256 - C&T! - Binary buffer with 256 byte
Data type: /BKC/S21_XBUF256Optional: Yes
Call by Reference: Yes
SYS_FEHLER - C&T! - Interface structure for error messages
Data type: /BKC/S21_SYSTEMFEHLEROptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for /BKC/RFC_INSERT_PPOIX 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_rc | TYPE SY-SUBRC, " | |||
| lv_evtyp | TYPE P_EVTYP, " 'PP' | |||
| lt_runid_tab | TYPE STANDARD TABLE OF /BKC/S21_RUNID_TAB, " | |||
| lt_ppoix_tab | TYPE STANDARD TABLE OF PPOIX, " | |||
| lv_caller_is_unicode | TYPE SY-BATCH, " | |||
| lt_xbuf256 | TYPE STANDARD TABLE OF /BKC/S21_XBUF256, " | |||
| lv_if_versn | TYPE PVRSN, " '01' | |||
| lv_xbufsize | TYPE /BKC/S21_XBUFSIZE, " 256 | |||
| lt_sys_fehler | TYPE STANDARD TABLE OF /BKC/S21_SYSTEMFEHLER, " | |||
| lv_xbufname | TYPE TABNAME, " | |||
| lv_p_usrex | TYPE SY-BATCH, " | |||
| lv_p_usrmod | TYPE /BKC/S21_USREX_MODIF, " | |||
| lv_p_nrunid | TYPE SY-BATCH. " 'X' |
|   CALL FUNCTION '/BKC/RFC_INSERT_PPOIX' "C&T! - Insert of table PPOIX |
| EXPORTING | ||
| EVTYP | = lv_evtyp | |
| CALLER_IS_UNICODE | = lv_caller_is_unicode | |
| IF_VERSN | = lv_if_versn | |
| XBUFSIZE | = lv_xbufsize | |
| XBUFNAME | = lv_xbufname | |
| P_USREX | = lv_p_usrex | |
| P_USRMOD | = lv_p_usrmod | |
| P_NRUNID | = lv_p_nrunid | |
| IMPORTING | ||
| RC | = lv_rc | |
| TABLES | ||
| RUNID_TAB | = lt_runid_tab | |
| PPOIX_TAB | = lt_ppoix_tab | |
| XBUF256 | = lt_xbuf256 | |
| SYS_FEHLER | = lt_sys_fehler | |
| . " /BKC/RFC_INSERT_PPOIX | ||
ABAP code using 7.40 inline data declarations to call FM /BKC/RFC_INSERT_PPOIX
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 SUBRC FROM SY INTO @DATA(ld_rc). | ||||
| DATA(ld_evtyp) | = 'PP'. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_caller_is_unicode). | ||||
| DATA(ld_if_versn) | = '01'. | |||
| DATA(ld_xbufsize) | = 256. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_p_usrex). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_p_nrunid). | ||||
| DATA(ld_p_nrunid) | = 'X'. | |||
Search for further information about these or an SAP related objects