SAP /BKC/RFC_PD_INSERT_OBJECTS Function Module for C&T! - Insert of PD objects









/BKC/RFC_PD_INSERT_OBJECTS is a standard /bkc/rfc pd insert objects 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 PD objects 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 pd insert objects FM, simply by entering the name /BKC/RFC_PD_INSERT_OBJECTS 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_PD_INSERT_OBJECTS 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_PD_INSERT_OBJECTS'"C&T! - Insert of PD objects
EXPORTING
* PLVAR = "Plan version
* CALLER_IS_UNICODE = "Background processing, program running in the background
* IF_VERSN = '01' "Version of cluster data
* XBUFNAME = "Table name
* XBUFSIZE = 1024 "C&T! - Size of binary buffer
* P_USREX = "Background processing, program running in the background
* P_USRMOD = "C&T! - Modifier for user exits
* P_APPERA = "Background processing, program running in the background
* OTYPE = "Obj. type
* OBJCH = "Background processing, program running in the background
* P_DELOBJ = "Background processing, program running in the background
* P_INFTY = "Background processing, program running in the background
* P_T527X = "Background processing, program running in the background
* P_T528BT = "Background processing, program running in the background
* P_T528C = "Background processing, program running in the background
* P_T513 = "Background processing, program running in the background

IMPORTING
RC = "Return value, return value according to ABAP instructions

TABLES
* T_HRP1000 = "DB table for infotype 1000
* XBUFFER4096 = "C&T! - Binary buffer with 4096 byte
* XBUFFER8192 = "C&T! - Binary buffer with 8192 byte
* XBUFFER16384 = "C&T! - Binary buffer with 16384 byte
* SYS_FEHLER = "C&T! - Interface structure for error messages
* T_PDEXTAB = "C&T! - Structure for the exchange of PD object ID's
* XBUFFER32 = "C&T! - Binary buffer with 32 byte
* XBUFFER64 = "C&T! - Binary buffer with 64 byte
* XBUFFER128 = "C&T! - Binary buffer with 128 bytes
* XBUFFER256 = "C&T! - Binary buffer with 256 byte
* XBUFFER512 = "C&T! - Binary buffer with 512 byte
* XBUFFER1024 = "C&T! - Binary buffer with 1024 byte
* XBUFFER2048 = "C&T! - Binary buffer with 2048 byte
.



IMPORTING Parameters details for /BKC/RFC_PD_INSERT_OBJECTS

PLVAR - Plan version

Data type: PLVAR
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-BATCH
Optional: Yes
Call by Reference: No ( called with pass by value option)

IF_VERSN - Version of cluster data

Data type: PVRSN
Default: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

XBUFNAME - Table name

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

XBUFSIZE - C&T! - Size of binary buffer

Data type: /BKC/S21_XBUFSIZE
Default: 1024
Optional: Yes
Call by Reference: No ( called with pass by value option)

P_USREX - Background processing, program running in the background

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

P_USRMOD - C&T! - Modifier for user exits

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

P_APPERA - Background processing, program running in the background

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

OTYPE - Obj. type

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

OBJCH - Background processing, program running in the background

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

P_DELOBJ - Background processing, program running in the background

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

P_INFTY - Background processing, program running in the background

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

P_T527X - Background processing, program running in the background

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

P_T528BT - Background processing, program running in the background

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

P_T528C - Background processing, program running in the background

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

P_T513 - Background processing, program running in the background

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

EXPORTING Parameters details for /BKC/RFC_PD_INSERT_OBJECTS

RC - Return value, return value according to ABAP instructions

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

TABLES Parameters details for /BKC/RFC_PD_INSERT_OBJECTS

T_HRP1000 - DB table for infotype 1000

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

XBUFFER4096 - C&T! - Binary buffer with 4096 byte

Data type: /BKC/S21_XBUF4096
Optional: Yes
Call by Reference: Yes

XBUFFER8192 - C&T! - Binary buffer with 8192 byte

Data type: /BKC/S21_XBUF8192
Optional: Yes
Call by Reference: Yes

XBUFFER16384 - C&T! - Binary buffer with 16384 byte

Data type: /BKC/S21_XBUF16384
Optional: Yes
Call by Reference: Yes

SYS_FEHLER - C&T! - Interface structure for error messages

Data type: /BKC/S21_SYSTEMFEHLER
Optional: Yes
Call by Reference: Yes

T_PDEXTAB - C&T! - Structure for the exchange of PD object ID's

Data type: /BKC/S21_PDEXTAB
Optional: Yes
Call by Reference: Yes

XBUFFER32 - C&T! - Binary buffer with 32 byte

Data type: /BKC/S21_XBUF32
Optional: Yes
Call by Reference: Yes

XBUFFER64 - C&T! - Binary buffer with 64 byte

Data type: /BKC/S21_XBUF64
Optional: Yes
Call by Reference: Yes

XBUFFER128 - C&T! - Binary buffer with 128 bytes

Data type: /BKC/S21_XBUF128
Optional: Yes
Call by Reference: Yes

XBUFFER256 - C&T! - Binary buffer with 256 byte

Data type: /BKC/S21_XBUF256
Optional: Yes
Call by Reference: Yes

XBUFFER512 - C&T! - Binary buffer with 512 byte

Data type: /BKC/S21_XBUF512
Optional: Yes
Call by Reference: Yes

XBUFFER1024 - C&T! - Binary buffer with 1024 byte

Data type: /BKC/S21_XBUF1024
Optional: Yes
Call by Reference: Yes

XBUFFER2048 - C&T! - Binary buffer with 2048 byte

Data type: /BKC/S21_XBUF2048
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for /BKC/RFC_PD_INSERT_OBJECTS 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_plvar  TYPE PLVAR, "   
lt_t_hrp1000  TYPE STANDARD TABLE OF HRP1000, "   
lt_xbuffer4096  TYPE STANDARD TABLE OF /BKC/S21_XBUF4096, "   
lv_caller_is_unicode  TYPE SY-BATCH, "   
lv_if_versn  TYPE PVRSN, "   '01'
lt_xbuffer8192  TYPE STANDARD TABLE OF /BKC/S21_XBUF8192, "   
lv_xbufname  TYPE TABNAME, "   
lt_xbuffer16384  TYPE STANDARD TABLE OF /BKC/S21_XBUF16384, "   
lv_xbufsize  TYPE /BKC/S21_XBUFSIZE, "   1024
lt_sys_fehler  TYPE STANDARD TABLE OF /BKC/S21_SYSTEMFEHLER, "   
lv_p_usrex  TYPE SY-BATCH, "   
lv_p_usrmod  TYPE /BKC/S21_USREX_MODIF, "   
lv_p_appera  TYPE SY-BATCH, "   
lv_otype  TYPE OTYPE, "   
lt_t_pdextab  TYPE STANDARD TABLE OF /BKC/S21_PDEXTAB, "   
lv_objch  TYPE SY-BATCH, "   
lt_xbuffer32  TYPE STANDARD TABLE OF /BKC/S21_XBUF32, "   
lv_p_delobj  TYPE SY-BATCH, "   
lt_xbuffer64  TYPE STANDARD TABLE OF /BKC/S21_XBUF64, "   
lv_p_infty  TYPE SY-BATCH, "   
lt_xbuffer128  TYPE STANDARD TABLE OF /BKC/S21_XBUF128, "   
lv_p_t527x  TYPE SY-BATCH, "   
lt_xbuffer256  TYPE STANDARD TABLE OF /BKC/S21_XBUF256, "   
lv_p_t528bt  TYPE SY-BATCH, "   
lt_xbuffer512  TYPE STANDARD TABLE OF /BKC/S21_XBUF512, "   
lv_p_t528c  TYPE SY-BATCH, "   
lt_xbuffer1024  TYPE STANDARD TABLE OF /BKC/S21_XBUF1024, "   
lv_p_t513  TYPE SY-BATCH, "   
lt_xbuffer2048  TYPE STANDARD TABLE OF /BKC/S21_XBUF2048. "   

  CALL FUNCTION '/BKC/RFC_PD_INSERT_OBJECTS'  "C&T! - Insert of PD objects
    EXPORTING
         PLVAR = lv_plvar
         CALLER_IS_UNICODE = lv_caller_is_unicode
         IF_VERSN = lv_if_versn
         XBUFNAME = lv_xbufname
         XBUFSIZE = lv_xbufsize
         P_USREX = lv_p_usrex
         P_USRMOD = lv_p_usrmod
         P_APPERA = lv_p_appera
         OTYPE = lv_otype
         OBJCH = lv_objch
         P_DELOBJ = lv_p_delobj
         P_INFTY = lv_p_infty
         P_T527X = lv_p_t527x
         P_T528BT = lv_p_t528bt
         P_T528C = lv_p_t528c
         P_T513 = lv_p_t513
    IMPORTING
         RC = lv_rc
    TABLES
         T_HRP1000 = lt_t_hrp1000
         XBUFFER4096 = lt_xbuffer4096
         XBUFFER8192 = lt_xbuffer8192
         XBUFFER16384 = lt_xbuffer16384
         SYS_FEHLER = lt_sys_fehler
         T_PDEXTAB = lt_t_pdextab
         XBUFFER32 = lt_xbuffer32
         XBUFFER64 = lt_xbuffer64
         XBUFFER128 = lt_xbuffer128
         XBUFFER256 = lt_xbuffer256
         XBUFFER512 = lt_xbuffer512
         XBUFFER1024 = lt_xbuffer1024
         XBUFFER2048 = lt_xbuffer2048
. " /BKC/RFC_PD_INSERT_OBJECTS




ABAP code using 7.40 inline data declarations to call FM /BKC/RFC_PD_INSERT_OBJECTS

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).
 
 
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_caller_is_unicode).
 
DATA(ld_if_versn) = '01'.
 
 
 
 
DATA(ld_xbufsize) = 1024.
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_usrex).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_appera).
 
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_objch).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_delobj).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_infty).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_t527x).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_t528bt).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_t528c).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_p_t513).
 
 


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!