SAP BANK_OBJ_CHDOC_READ Function Module for









BANK_OBJ_CHDOC_READ is a standard bank obj chdoc read 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 bank obj chdoc read FM, simply by entering the name BANK_OBJ_CHDOC_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function BANK_OBJ_CHDOC_READ 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 'BANK_OBJ_CHDOC_READ'"
EXPORTING
I_TAB_OBJECTID = "
* I_SELECTION_TIMESTAMP_FROM = "
* I_SELECTION_TIMESTAMP_TO = "
* I_MAX_COUNTER = 0 "

IMPORTING
E_TAB_CHDOCREAD = "

EXCEPTIONS
NOT_QUALIFIED = 1 NO_CHANGE_DOCUMENT_FOUND = 2 TIME_ZONE_CONVERSION_ERROR = 3 INTERNAL_ERROR = 4
.



IMPORTING Parameters details for BANK_OBJ_CHDOC_READ

I_TAB_OBJECTID -

Data type: BANK_TAB_CD_OBJECTID
Optional: No
Call by Reference: Yes

I_SELECTION_TIMESTAMP_FROM -

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

I_SELECTION_TIMESTAMP_TO -

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

I_MAX_COUNTER -

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

EXPORTING Parameters details for BANK_OBJ_CHDOC_READ

E_TAB_CHDOCREAD -

Data type: BANK_TAB_CD_CHDOC
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_QUALIFIED -

Data type:
Optional: No
Call by Reference: Yes

NO_CHANGE_DOCUMENT_FOUND -

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

TIME_ZONE_CONVERSION_ERROR -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for BANK_OBJ_CHDOC_READ 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_not_qualified  TYPE STRING, "   
lv_i_tab_objectid  TYPE BANK_TAB_CD_OBJECTID, "   
lv_e_tab_chdocread  TYPE BANK_TAB_CD_CHDOC, "   
lv_no_change_document_found  TYPE BANK_TAB_CD_CHDOC, "   
lv_i_selection_timestamp_from  TYPE BANK_DTE_TMPSM_LONG_UTC_TIMEST, "   
lv_i_selection_timestamp_to  TYPE BANK_DTE_TMPSM_LONG_UTC_TIMEST, "   
lv_time_zone_conversion_error  TYPE BANK_DTE_TMPSM_LONG_UTC_TIMEST, "   
lv_i_max_counter  TYPE CDV_DTE_MAXCOUNT, "   0
lv_internal_error  TYPE CDV_DTE_MAXCOUNT. "   

  CALL FUNCTION 'BANK_OBJ_CHDOC_READ'  "
    EXPORTING
         I_TAB_OBJECTID = lv_i_tab_objectid
         I_SELECTION_TIMESTAMP_FROM = lv_i_selection_timestamp_from
         I_SELECTION_TIMESTAMP_TO = lv_i_selection_timestamp_to
         I_MAX_COUNTER = lv_i_max_counter
    IMPORTING
         E_TAB_CHDOCREAD = lv_e_tab_chdocread
    EXCEPTIONS
        NOT_QUALIFIED = 1
        NO_CHANGE_DOCUMENT_FOUND = 2
        TIME_ZONE_CONVERSION_ERROR = 3
        INTERNAL_ERROR = 4
. " BANK_OBJ_CHDOC_READ




ABAP code using 7.40 inline data declarations to call FM BANK_OBJ_CHDOC_READ

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.

 
 
 
 
 
 
 
 
 


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!