BANK_API_CHDOC_DISPLAY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BANK_API_CHDOC_DISPLAY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BANK_API_CHDOC_DISPLAY
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BANK_API_CHDOC_DISPLAY' "
EXPORTING
* i_tab_objectid = " bank_tab_cd_objectid Internal Table of Change Document Object IDs
* i_tab_chdocread = " bank_tab_cd_chdoc
* i_tab_chdocprepare = " bank_tab_cd_chdoc
* i_str_attribut = " bank_str_cd_attribut Description of an Attribute
* i_selection_timestamp_from = " bank_dte_tmpsm_long_utc_timest
* i_selection_timestamp_to = " bank_dte_tmpsm_long_utc_timest
* i_selection_date_from = " bank_dte_cd_date_from Please do not use any longer
* i_selection_time_from = " bank_dte_cd_time_from Please do not use any longer
* i_sortsequence = " bank_dte_cd_sortsequence Sort sequence
* i_flg_selectionscreen = CON_TRUE " bank_dte_cd_flag
* i_flg_prepare_at_once = CON_TRUE " bank_dte_cd_flag
i_applicationid = " repid ABAP Program Name
* i_objectclass_for_customizing = " cdobjectcl
* i_header_description = " bank_str_cd_header_description ALV Header Description
* i_local_time = CON_TRUE " bank_dte_cd_flag
* i_rif_cdv_collect = " if_cdv_collect
* i_flg_emsg = CO_MSG_EMSG_ON " emsg_usage_flag
IMPORTING
e_str_exit_command = " bank_str_cd_excm Pushbutton Pressed by User Upon Completion
* CHANGING
* c_tab_chdocread = " bank_tab_cd_chdoc
* c_tab_chdocprepare = " bank_tab_cd_chdoc
* c_tab_prepared_chdocs = " cdv_tab_chdoc_prepared
EXCEPTIONS
NOT_QUALIFIED = 1 "
NO_CHANGE_DOCUMENT_FOUND = 2 "
INTERNAL_ERROR = 3 " Internal Error
SYSTEM_ERROR = 4 " System Error
. " BANK_API_CHDOC_DISPLAY
The ABAP code below is a full code listing to execute function module BANK_API_CHDOC_DISPLAY including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_str_exit_command | TYPE BANK_STR_CD_EXCM . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_tab_chdocread | TYPE BANK_TAB_CD_CHDOC , |
| ld_e_str_exit_command | TYPE BANK_STR_CD_EXCM , |
| ld_i_tab_objectid | TYPE BANK_TAB_CD_OBJECTID , |
| ld_c_tab_chdocprepare | TYPE BANK_TAB_CD_CHDOC , |
| ld_i_tab_chdocread | TYPE BANK_TAB_CD_CHDOC , |
| ld_c_tab_prepared_chdocs | TYPE CDV_TAB_CHDOC_PREPARED , |
| ld_i_tab_chdocprepare | TYPE BANK_TAB_CD_CHDOC , |
| ld_i_str_attribut | TYPE BANK_STR_CD_ATTRIBUT , |
| ld_i_selection_timestamp_from | TYPE BANK_DTE_TMPSM_LONG_UTC_TIMEST , |
| ld_i_selection_timestamp_to | TYPE BANK_DTE_TMPSM_LONG_UTC_TIMEST , |
| ld_i_selection_date_from | TYPE BANK_DTE_CD_DATE_FROM , |
| ld_i_selection_time_from | TYPE BANK_DTE_CD_TIME_FROM , |
| ld_i_sortsequence | TYPE BANK_DTE_CD_SORTSEQUENCE , |
| ld_i_flg_selectionscreen | TYPE BANK_DTE_CD_FLAG , |
| ld_i_flg_prepare_at_once | TYPE BANK_DTE_CD_FLAG , |
| ld_i_applicationid | TYPE REPID , |
| ld_i_objectclass_for_customizing | TYPE CDOBJECTCL , |
| ld_i_header_description | TYPE BANK_STR_CD_HEADER_DESCRIPTION , |
| ld_i_local_time | TYPE BANK_DTE_CD_FLAG , |
| ld_i_rif_cdv_collect | TYPE IF_CDV_COLLECT , |
| ld_i_flg_emsg | TYPE EMSG_USAGE_FLAG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BANK_API_CHDOC_DISPLAY or its description.