SAP /BKC/RFC_INSERT_TEVEN_DATA Function Module for C&T! - Insert of time events (tables TEVEN + TEVEN_MORE)









/BKC/RFC_INSERT_TEVEN_DATA is a standard /bkc/rfc insert teven data 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 time events (tables TEVEN + TEVEN_MORE) 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 teven data FM, simply by entering the name /BKC/RFC_INSERT_TEVEN_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: /BKC/SOL21
Program Name: /BKC/SAPLSOL21
Main Program: /BKC/SAPLSOL21
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function /BKC/RFC_INSERT_TEVEN_DATA 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_TEVEN_DATA'"C&T! - Insert of time events (tables TEVEN + TEVEN_MORE)
EXPORTING
* CALLER_IS_UNICODE = "Background processing, program running in the background
* IF_VERSN = '01' "Version of cluster data
* XBUFSIZE_TEVEN = 512 "C&T! - Size of binary buffer
* XBUFSIZE_TEVEN_MORE = 2048 "C&T! - Size of binary buffer
* XBUFNAME_TEVEN = "Table name
* XBUFNAME_TEVEN_MORE = "Table name

TABLES
* I_TEVEN = "Time events
* TEVEN_XBUFFER16384 = "C&T! - Binary buffer with 2048 byte
* TEVEN_MORE_XBUFFER2048 = "C&T! - Binary buffer with 4096 byte
* TEVEN_MORE_XBUFFER4096 = "C&T! - Binary buffer with 8192 byte
* TEVEN_MORE_XBUFFER8192 = "C&T! - Binary buffer with 8192 byte
* TEVEN_MORE_XBUFFER16384 = "C&T! - Binary buffer with 16384 byte
* I_TEVEN_MORE = "Additional Data for Time Events
* I_TEVEN_EXTAB = "C&T! - Exchange table for PDSNR of table TEVEN
* SYS_FEHLER = "C&T! - Interface structure for error messages
* TEVEN_XBUFFER512 = "C&T! - Binary buffer with 512 byte
* TEVEN_XBUFFER1024 = "C&T! - Binary buffer with 2048 byte
* TEVEN_XBUFFER2048 = "C&T! - Binary buffer with 2048 byte
* TEVEN_XBUFFER4096 = "C&T! - Binary buffer with 4096 byte
* TEVEN_XBUFFER8192 = "C&T! - Binary buffer with 8192 byte

EXCEPTIONS
NUMBER_GET_NEXT_ERROR = 1
.



IMPORTING Parameters details for /BKC/RFC_INSERT_TEVEN_DATA

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_TEVEN - C&T! - Size of binary buffer

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

XBUFSIZE_TEVEN_MORE - C&T! - Size of binary buffer

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

XBUFNAME_TEVEN - Table name

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

XBUFNAME_TEVEN_MORE - Table name

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

TABLES Parameters details for /BKC/RFC_INSERT_TEVEN_DATA

I_TEVEN - Time events

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

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

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

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

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

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

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

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

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

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

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

I_TEVEN_MORE - Additional Data for Time Events

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

I_TEVEN_EXTAB - C&T! - Exchange table for PDSNR of table TEVEN

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

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

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

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

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

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

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

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

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

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

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

EXCEPTIONS details

NUMBER_GET_NEXT_ERROR -

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

Copy and paste ABAP code example for /BKC/RFC_INSERT_TEVEN_DATA 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:
lt_i_teven  TYPE STANDARD TABLE OF TEVEN, "   
lv_caller_is_unicode  TYPE SY-BATCH, "   
lv_number_get_next_error  TYPE SY, "   
lt_teven_xbuffer16384  TYPE STANDARD TABLE OF /BKC/S21_XBUF16384, "   
lt_teven_more_xbuffer2048  TYPE STANDARD TABLE OF /BKC/S21_XBUF2048, "   
lt_teven_more_xbuffer4096  TYPE STANDARD TABLE OF /BKC/S21_XBUF4096, "   
lt_teven_more_xbuffer8192  TYPE STANDARD TABLE OF /BKC/S21_XBUF8192, "   
lt_teven_more_xbuffer16384  TYPE STANDARD TABLE OF /BKC/S21_XBUF16384, "   
lv_if_versn  TYPE PVRSN, "   '01'
lt_i_teven_more  TYPE STANDARD TABLE OF TEVEN_MORE, "   
lt_i_teven_extab  TYPE STANDARD TABLE OF /BKC/S21_TEVEN_EXTAB, "   
lv_xbufsize_teven  TYPE /BKC/S21_XBUFSIZE, "   512
lt_sys_fehler  TYPE STANDARD TABLE OF /BKC/S21_SYSTEMFEHLER, "   
lv_xbufsize_teven_more  TYPE /BKC/S21_XBUFSIZE, "   2048
lv_xbufname_teven  TYPE TABNAME, "   
lt_teven_xbuffer512  TYPE STANDARD TABLE OF /BKC/S21_XBUF512, "   
lt_teven_xbuffer1024  TYPE STANDARD TABLE OF /BKC/S21_XBUF1024, "   
lv_xbufname_teven_more  TYPE TABNAME, "   
lt_teven_xbuffer2048  TYPE STANDARD TABLE OF /BKC/S21_XBUF2048, "   
lt_teven_xbuffer4096  TYPE STANDARD TABLE OF /BKC/S21_XBUF4096, "   
lt_teven_xbuffer8192  TYPE STANDARD TABLE OF /BKC/S21_XBUF8192. "   

  CALL FUNCTION '/BKC/RFC_INSERT_TEVEN_DATA'  "C&T! - Insert of time events (tables TEVEN + TEVEN_MORE)
    EXPORTING
         CALLER_IS_UNICODE = lv_caller_is_unicode
         IF_VERSN = lv_if_versn
         XBUFSIZE_TEVEN = lv_xbufsize_teven
         XBUFSIZE_TEVEN_MORE = lv_xbufsize_teven_more
         XBUFNAME_TEVEN = lv_xbufname_teven
         XBUFNAME_TEVEN_MORE = lv_xbufname_teven_more
    TABLES
         I_TEVEN = lt_i_teven
         TEVEN_XBUFFER16384 = lt_teven_xbuffer16384
         TEVEN_MORE_XBUFFER2048 = lt_teven_more_xbuffer2048
         TEVEN_MORE_XBUFFER4096 = lt_teven_more_xbuffer4096
         TEVEN_MORE_XBUFFER8192 = lt_teven_more_xbuffer8192
         TEVEN_MORE_XBUFFER16384 = lt_teven_more_xbuffer16384
         I_TEVEN_MORE = lt_i_teven_more
         I_TEVEN_EXTAB = lt_i_teven_extab
         SYS_FEHLER = lt_sys_fehler
         TEVEN_XBUFFER512 = lt_teven_xbuffer512
         TEVEN_XBUFFER1024 = lt_teven_xbuffer1024
         TEVEN_XBUFFER2048 = lt_teven_xbuffer2048
         TEVEN_XBUFFER4096 = lt_teven_xbuffer4096
         TEVEN_XBUFFER8192 = lt_teven_xbuffer8192
    EXCEPTIONS
        NUMBER_GET_NEXT_ERROR = 1
. " /BKC/RFC_INSERT_TEVEN_DATA




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

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 BATCH FROM SY INTO @DATA(ld_caller_is_unicode).
 
 
 
 
 
 
 
DATA(ld_if_versn) = '01'.
 
 
 
DATA(ld_xbufsize_teven) = 512.
 
 
DATA(ld_xbufsize_teven_more) = 2048.
 
 
 
 
 
 
 
 


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!