Fonction SAP BANK_API_CHDOC_READ -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_LOCAL_TIME BANK_DTE_CD_FLAG C 1 CON_TRUE X
I_SELECTION_TIMESTAMP_FROM BANK_DTE_TMPSM_LONG_UTC_TIMEST P 11 X
I_TAB_OBJECTID BANK_TAB_CD_OBJECTID h 106

Paramètre Reférence Type Long. Description
E_TAB_CHDOCREAD BANK_TAB_CD_CHDOC h 1072
E_TAB_OBJECTID BANK_TAB_CD_OBJECTID h 106
E_TAS_TABLEFIELDS BANK_TAS_CD_TABLEFIELDS h 165

Exception Description
INTERNAL_ERROR Internal Error
NOT_QUALIFIED
NO_CHANGE_DOCUMENT_FOUND
TIME_ZONE_CONVERSION_ERROR

Functionality
This function module reads change document headers and items and formatsthe old and the new values according to their category in key form. Ifapplicable, the units and currencies are added to the value fields.
Specify the change document object and the required object value of thischange document object in the internal table of parameterI_TAB_OBJECTID per line. You must at least enter one changedocument object in one line. Otherwise the system will trigger exceptionNOT_QUALIFIED.
You can define the start time of the selection using parametersI_SELECTION_DATE_FROM and I_SELECTION_TIME_FROM.
The system supplies the change documents as internal table in parameterE_TAB_CHDOCREAD. In addition, the names of the attributes forwhich the change documents are provided are supplied in parameterE_TAS_TABLEFIELDS.
If the system cannot select any change documents for the parametersspecified, it reports exception NO_CHANGE_DOCUMENT_FOUND.