SAP HRCM_BTDB_READ_OBJECT_DB_BUF Function Module for









HRCM_BTDB_READ_OBJECT_DB_BUF is a standard hrcm btdb read object db buf SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 hrcm btdb read object db buf FM, simply by entering the name HRCM_BTDB_READ_OBJECT_DB_BUF into the relevant SAP transaction such as SE37 or SE38.

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



Function HRCM_BTDB_READ_OBJECT_DB_BUF 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 'HRCM_BTDB_READ_OBJECT_DB_BUF'"
EXPORTING
PLVAR = "
* CHK_OBJECT_IN_BUFFER = ' ' "
* CHK_ADMIN_IN_BUFFER = ' ' "
OTYPE = "
* OBJID = "
* REALO = "
* BEGDA = '18000101' "
* ENDDA = '99991231' "
* ISTAT = '1' "
* BUDGET_ADMIN = ' ' "
* LAST_BUDGET_ADMIN = ' ' "

IMPORTING
OBEG = "
OEND = "
OSTAT = "
SHORT = "
STEXT = "
VDATA_1500 = "
BUDGET_BEGDA = "
BUDGET_ENDDA = "

EXCEPTIONS
BUDGET_ADMIN_ERROR = 1 OBJECT_NOT_FOUND = 2
.



IMPORTING Parameters details for HRCM_BTDB_READ_OBJECT_DB_BUF

PLVAR -

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

CHK_OBJECT_IN_BUFFER -

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

CHK_ADMIN_IN_BUFFER -

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

OTYPE -

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

OBJID -

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

REALO -

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

BEGDA -

Data type: HRP1000-BEGDA
Default: '18000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ENDDA -

Data type: HRP1000-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ISTAT -

Data type: HRP1000-ISTAT
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUDGET_ADMIN -

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

LAST_BUDGET_ADMIN -

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

EXPORTING Parameters details for HRCM_BTDB_READ_OBJECT_DB_BUF

OBEG -

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

OEND -

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

OSTAT -

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

SHORT -

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

STEXT -

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

VDATA_1500 -

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

BUDGET_BEGDA -

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

BUDGET_ENDDA -

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

EXCEPTIONS details

BUDGET_ADMIN_ERROR -

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

OBJECT_NOT_FOUND -

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

Copy and paste ABAP code example for HRCM_BTDB_READ_OBJECT_DB_BUF 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_obeg  TYPE HRP1000-BEGDA, "   
lv_plvar  TYPE HRP1000-PLVAR, "   
lv_budget_admin_error  TYPE HRP1000, "   
lv_chk_object_in_buffer  TYPE PLOG-HISTO, "   SPACE
lv_chk_admin_in_buffer  TYPE PLOG-HISTO, "   SPACE
lv_oend  TYPE HRP1000-ENDDA, "   
lv_otype  TYPE HRP1000-OTYPE, "   
lv_object_not_found  TYPE HRP1000, "   
lv_objid  TYPE HRP1000-OBJID, "   
lv_ostat  TYPE HRP1000-ISTAT, "   
lv_realo  TYPE OBJEC-REALO, "   
lv_short  TYPE HRP1000-SHORT, "   
lv_begda  TYPE HRP1000-BEGDA, "   '18000101'
lv_stext  TYPE HRP1000-STEXT, "   
lv_endda  TYPE HRP1000-ENDDA, "   '99991231'
lv_vdata_1500  TYPE HRI1500, "   
lv_istat  TYPE HRP1000-ISTAT, "   '1'
lv_budget_begda  TYPE HRP1000-BEGDA, "   
lv_budget_admin  TYPE PLOG-HISTO, "   SPACE
lv_budget_endda  TYPE HRP1000-ENDDA, "   
lv_last_budget_admin  TYPE PLOG-HISTO. "   SPACE

  CALL FUNCTION 'HRCM_BTDB_READ_OBJECT_DB_BUF'  "
    EXPORTING
         PLVAR = lv_plvar
         CHK_OBJECT_IN_BUFFER = lv_chk_object_in_buffer
         CHK_ADMIN_IN_BUFFER = lv_chk_admin_in_buffer
         OTYPE = lv_otype
         OBJID = lv_objid
         REALO = lv_realo
         BEGDA = lv_begda
         ENDDA = lv_endda
         ISTAT = lv_istat
         BUDGET_ADMIN = lv_budget_admin
         LAST_BUDGET_ADMIN = lv_last_budget_admin
    IMPORTING
         OBEG = lv_obeg
         OEND = lv_oend
         OSTAT = lv_ostat
         SHORT = lv_short
         STEXT = lv_stext
         VDATA_1500 = lv_vdata_1500
         BUDGET_BEGDA = lv_budget_begda
         BUDGET_ENDDA = lv_budget_endda
    EXCEPTIONS
        BUDGET_ADMIN_ERROR = 1
        OBJECT_NOT_FOUND = 2
. " HRCM_BTDB_READ_OBJECT_DB_BUF




ABAP code using 7.40 inline data declarations to call FM HRCM_BTDB_READ_OBJECT_DB_BUF

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 BEGDA FROM HRP1000 INTO @DATA(ld_obeg).
 
"SELECT single PLVAR FROM HRP1000 INTO @DATA(ld_plvar).
 
 
"SELECT single HISTO FROM PLOG INTO @DATA(ld_chk_object_in_buffer).
DATA(ld_chk_object_in_buffer) = ' '.
 
"SELECT single HISTO FROM PLOG INTO @DATA(ld_chk_admin_in_buffer).
DATA(ld_chk_admin_in_buffer) = ' '.
 
"SELECT single ENDDA FROM HRP1000 INTO @DATA(ld_oend).
 
"SELECT single OTYPE FROM HRP1000 INTO @DATA(ld_otype).
 
 
"SELECT single OBJID FROM HRP1000 INTO @DATA(ld_objid).
 
"SELECT single ISTAT FROM HRP1000 INTO @DATA(ld_ostat).
 
"SELECT single REALO FROM OBJEC INTO @DATA(ld_realo).
 
"SELECT single SHORT FROM HRP1000 INTO @DATA(ld_short).
 
"SELECT single BEGDA FROM HRP1000 INTO @DATA(ld_begda).
DATA(ld_begda) = '18000101'.
 
"SELECT single STEXT FROM HRP1000 INTO @DATA(ld_stext).
 
"SELECT single ENDDA FROM HRP1000 INTO @DATA(ld_endda).
DATA(ld_endda) = '99991231'.
 
 
"SELECT single ISTAT FROM HRP1000 INTO @DATA(ld_istat).
DATA(ld_istat) = '1'.
 
"SELECT single BEGDA FROM HRP1000 INTO @DATA(ld_budget_begda).
 
"SELECT single HISTO FROM PLOG INTO @DATA(ld_budget_admin).
DATA(ld_budget_admin) = ' '.
 
"SELECT single ENDDA FROM HRP1000 INTO @DATA(ld_budget_endda).
 
"SELECT single HISTO FROM PLOG INTO @DATA(ld_last_budget_admin).
DATA(ld_last_budget_admin) = ' '.
 


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!