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









/BKC/RFC_INSERT_PD_OBJECTS is a standard /bkc/rfc insert pd 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 insert pd objects FM, simply by entering the name /BKC/RFC_INSERT_PD_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_INSERT_PD_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_INSERT_PD_OBJECTS'"C&T! - Insert of PD objects
EXPORTING
* PLVAR = "Plan version
* COMPRESS = "Background processing, program running in the background
* DELREL = "Background processing, program running in the background
* STRUC_NAME = "Table name
* CALLER_IS_UNICODE = "Background processing, program running in the background
* IF_VERSN = '01' "Version of cluster data
* XBUFSIZE = 1024 "C&T! - Size of binary buffer
* XBUFNAME = "Table name

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

TABLES
* HRP1000_GTAB = "C&T! - Transfer structure of extended table HRP1000
* XBUFFER4096 = "C&T! - Binary buffer with 4096 byte
* XBUFFER8192 = "C&T! - Binary buffer with 8192 byte
* XBUFFER16384 = "C&T! - Binary buffer with 16384 byte
* PDEXTAB = "C&T! - Structure for the exchange of PD object ID's
* SYS_FEHLER = "C&T! - Structure for transfer of error messages
* XBUFFER32 = "C&T! - Binary buffer with 1024 byte
* XBUFFER64 = "C&T! - Structure for the exchange of PD object ID's
* 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_INSERT_PD_OBJECTS

PLVAR - Plan version

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

COMPRESS - Background processing, program running in the background

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

DELREL - Background processing, program running in the background

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

STRUC_NAME - Table name

Data type: TABNAME
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)

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)

XBUFNAME - Table name

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

EXPORTING Parameters details for /BKC/RFC_INSERT_PD_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_INSERT_PD_OBJECTS

HRP1000_GTAB - C&T! - Transfer structure of extended table HRP1000

Data type: /BKC/S21_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

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

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

SYS_FEHLER - C&T! - Structure for transfer of error messages

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

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

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

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

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_INSERT_PD_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 PLOG-PLVAR, "   
lt_hrp1000_gtab  TYPE STANDARD TABLE OF /BKC/S21_HRP1000, "   
lt_xbuffer4096  TYPE STANDARD TABLE OF /BKC/S21_XBUF4096, "   
lt_xbuffer8192  TYPE STANDARD TABLE OF /BKC/S21_XBUF8192, "   
lt_xbuffer16384  TYPE STANDARD TABLE OF /BKC/S21_XBUF16384, "   
lt_pdextab  TYPE STANDARD TABLE OF /BKC/S21_PDEXTAB, "   
lv_compress  TYPE SY-BATCH, "   
lt_sys_fehler  TYPE STANDARD TABLE OF /BKC/S21_SYSTEMFEHLER, "   
lv_delrel  TYPE SY-BATCH, "   
lt_xbuffer32  TYPE STANDARD TABLE OF /BKC/S21_XBUF32, "   
lt_xbuffer64  TYPE STANDARD TABLE OF /BKC/S21_XBUF64, "   
lv_struc_name  TYPE TABNAME, "   
lt_xbuffer128  TYPE STANDARD TABLE OF /BKC/S21_XBUF128, "   
lv_caller_is_unicode  TYPE SY-BATCH, "   
lv_if_versn  TYPE PVRSN, "   '01'
lt_xbuffer256  TYPE STANDARD TABLE OF /BKC/S21_XBUF256, "   
lv_xbufsize  TYPE /BKC/S21_XBUFSIZE, "   1024
lt_xbuffer512  TYPE STANDARD TABLE OF /BKC/S21_XBUF512, "   
lv_xbufname  TYPE TABNAME, "   
lt_xbuffer1024  TYPE STANDARD TABLE OF /BKC/S21_XBUF1024, "   
lt_xbuffer2048  TYPE STANDARD TABLE OF /BKC/S21_XBUF2048. "   

  CALL FUNCTION '/BKC/RFC_INSERT_PD_OBJECTS'  "C&T! - Insert of PD objects
    EXPORTING
         PLVAR = lv_plvar
         COMPRESS = lv_compress
         DELREL = lv_delrel
         STRUC_NAME = lv_struc_name
         CALLER_IS_UNICODE = lv_caller_is_unicode
         IF_VERSN = lv_if_versn
         XBUFSIZE = lv_xbufsize
         XBUFNAME = lv_xbufname
    IMPORTING
         RC = lv_rc
    TABLES
         HRP1000_GTAB = lt_hrp1000_gtab
         XBUFFER4096 = lt_xbuffer4096
         XBUFFER8192 = lt_xbuffer8192
         XBUFFER16384 = lt_xbuffer16384
         PDEXTAB = lt_pdextab
         SYS_FEHLER = lt_sys_fehler
         XBUFFER32 = lt_xbuffer32
         XBUFFER64 = lt_xbuffer64
         XBUFFER128 = lt_xbuffer128
         XBUFFER256 = lt_xbuffer256
         XBUFFER512 = lt_xbuffer512
         XBUFFER1024 = lt_xbuffer1024
         XBUFFER2048 = lt_xbuffer2048
. " /BKC/RFC_INSERT_PD_OBJECTS




ABAP code using 7.40 inline data declarations to call FM /BKC/RFC_INSERT_PD_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 PLVAR FROM PLOG INTO @DATA(ld_plvar).
 
 
 
 
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_compress).
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_delrel).
 
 
 
 
 
"SELECT single BATCH FROM SY INTO @DATA(ld_caller_is_unicode).
 
DATA(ld_if_versn) = '01'.
 
 
DATA(ld_xbufsize) = 1024.
 
 
 
 
 


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!