INV_DB_READ_CUSTOMIZING 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 INV_DB_READ_CUSTOMIZING into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EE_INVOICE_DB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'INV_DB_READ_CUSTOMIZING' "
* EXPORTING
* x_actual = SPACE " kennzx Ind.: Read Data from Database
* x_spras = SY-LANGU " sylangu Language Key
IMPORTING
yt_tinv_c_chgrpb = " ttinv_c_chgrpb Table Category for TINV_C_CHGRPB
yt_tinv_c_chgrphdb = " ttinv_c_chgrphdb Table Category for View VTINV_CHGRPHDB
yt_tinv_c_chgrpa = " ttinv_c_chgrpa Table Category for TINV_C_CHGRPA
yt_tinv_c_chgrphda = " ttinv_c_chgrphda Table Category for View VTINV_CHGRPHDA
yt_tinv_c_doctlinet = " ttinv_c_doctlinet Table Category for TINV_C_DOCTLINET
yt_tinv_c_doctype = " ttinv_c_doctype Table Category for TINV_C_DOCTYPE
yt_tinv_c_dtgrphd = " ttinv_c_dtgrphd Table Category for View VTINV_DTGRPHD
yt_tinv_c_dtgrp = " ttinv_c_dtgrp Table Category for TINV_C_DTGRP
yt_tinv_c_trgrphd = " ttinv_c_trgrphd Table Category for View VTINV_TRGRPHD
yt_tinv_c_trgrp = " ttinv_c_trgrp Table Category for TINV_C_TRGRP
yt_tinv_c_fm_chckb = " ttinv_c_fm_chckb Table Category for View VTINV_FM_CHCKB
yt_tinv_c_fm_chcka = " ttinv_c_fm_chcka Table Category for View VTINV_FM_CHCKA
yt_tinv_c_fm_data = " ttinv_c_fm_data Table Category for View VTINV_FM_DATA
yt_tinv_c_fm_ident = " ttinv_c_fm_ident Table Category for View VTINV_FM_IDENT
yt_tinv_c_fm_trans = " ttinv_c_fm_trans Table Category for View VTINV_FM_TRANS
yt_tinv_c_invtype = " ttinv_c_invtype Table Category for TINV_C_INVTYPE
yt_tinv_c_itypedoct = " ttinv_c_itypedoct Table Category for TINV_C_ITYPEDOCT
yt_tinv_c_linetype = " ttinv_c_linetype Table Category for TINV_C_LINETYPE
yt_tinv_c_proccntr = " ttinv_c_proccntr Table Category for TINV_C_PROCCNTR
yt_tinv_c_rel_lvl = " ttinv_c_rel_lvl Table Category for TINV_C_REL_LVL
yt_tinv_c_custact = " ttinv_c_custact Table Type for View VTINV_custact
yt_tinv_c_reftype = " tvtinv_reftype View for TINV_C_REFTYPE with TINV_C_REFTYPET
yt_tinv_c_adj_rsn = " ttinv_c_adj_rsn
yt_tinv_c_fm_cmpl = " ttinv_c_fm_cmpl
yt_tinv_c_cplgrp = " ttinv_c_cplgrp
yt_tinv_c_cplgrphd = " ttinv_c_cplgrphd
yt_tinv_c_proccntra = " ttinv_c_proccntra
yt_tinv_c_prodid = " ttinv_c_prodid
yt_tinv_c_cncl_rsn = " ttinv_c_cncl_rsn
yt_tinv_c_inchck = " tvtinv_c_inchck
yt_tinv_c_inchcka = " ttinv_c_inchcka
yt_tinv_c_inchckg = " ttinv_c_inchckg
yt_tinv_c_inchckp = " ttinv_c_inchckp
yt_tinv_c_inchcksid = " ttinv_c_inchcksid
yt_tinv_c_fm_actn = " ttinv_c_fm_actn
EXCEPTIONS
NOT_FOUND = 1 " Object Not Found
SYSTEM_ERROR = 2 " Other Error
NOT_QUALIFIED = 3 " Parameters not specified
. " INV_DB_READ_CUSTOMIZING
The ABAP code below is a full code listing to execute function module INV_DB_READ_CUSTOMIZING 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_yt_tinv_c_chgrpb | TYPE TTINV_C_CHGRPB , |
| ld_yt_tinv_c_chgrphdb | TYPE TTINV_C_CHGRPHDB , |
| ld_yt_tinv_c_chgrpa | TYPE TTINV_C_CHGRPA , |
| ld_yt_tinv_c_chgrphda | TYPE TTINV_C_CHGRPHDA , |
| ld_yt_tinv_c_doctlinet | TYPE TTINV_C_DOCTLINET , |
| ld_yt_tinv_c_doctype | TYPE TTINV_C_DOCTYPE , |
| ld_yt_tinv_c_dtgrphd | TYPE TTINV_C_DTGRPHD , |
| ld_yt_tinv_c_dtgrp | TYPE TTINV_C_DTGRP , |
| ld_yt_tinv_c_trgrphd | TYPE TTINV_C_TRGRPHD , |
| ld_yt_tinv_c_trgrp | TYPE TTINV_C_TRGRP , |
| ld_yt_tinv_c_fm_chckb | TYPE TTINV_C_FM_CHCKB , |
| ld_yt_tinv_c_fm_chcka | TYPE TTINV_C_FM_CHCKA , |
| ld_yt_tinv_c_fm_data | TYPE TTINV_C_FM_DATA , |
| ld_yt_tinv_c_fm_ident | TYPE TTINV_C_FM_IDENT , |
| ld_yt_tinv_c_fm_trans | TYPE TTINV_C_FM_TRANS , |
| ld_yt_tinv_c_invtype | TYPE TTINV_C_INVTYPE , |
| ld_yt_tinv_c_itypedoct | TYPE TTINV_C_ITYPEDOCT , |
| ld_yt_tinv_c_linetype | TYPE TTINV_C_LINETYPE , |
| ld_yt_tinv_c_proccntr | TYPE TTINV_C_PROCCNTR , |
| ld_yt_tinv_c_rel_lvl | TYPE TTINV_C_REL_LVL , |
| ld_yt_tinv_c_custact | TYPE TTINV_C_CUSTACT , |
| ld_yt_tinv_c_reftype | TYPE TVTINV_REFTYPE , |
| ld_yt_tinv_c_adj_rsn | TYPE TTINV_C_ADJ_RSN , |
| ld_yt_tinv_c_fm_cmpl | TYPE TTINV_C_FM_CMPL , |
| ld_yt_tinv_c_cplgrp | TYPE TTINV_C_CPLGRP , |
| ld_yt_tinv_c_cplgrphd | TYPE TTINV_C_CPLGRPHD , |
| ld_yt_tinv_c_proccntra | TYPE TTINV_C_PROCCNTRA , |
| ld_yt_tinv_c_prodid | TYPE TTINV_C_PRODID , |
| ld_yt_tinv_c_cncl_rsn | TYPE TTINV_C_CNCL_RSN , |
| ld_yt_tinv_c_inchck | TYPE TVTINV_C_INCHCK , |
| ld_yt_tinv_c_inchcka | TYPE TTINV_C_INCHCKA , |
| ld_yt_tinv_c_inchckg | TYPE TTINV_C_INCHCKG , |
| ld_yt_tinv_c_inchckp | TYPE TTINV_C_INCHCKP , |
| ld_yt_tinv_c_inchcksid | TYPE TTINV_C_INCHCKSID , |
| ld_yt_tinv_c_fm_actn | TYPE TTINV_C_FM_ACTN . |
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_yt_tinv_c_chgrpb | TYPE TTINV_C_CHGRPB , |
| ld_x_actual | TYPE KENNZX , |
| ld_yt_tinv_c_chgrphdb | TYPE TTINV_C_CHGRPHDB , |
| ld_x_spras | TYPE SYLANGU , |
| ld_yt_tinv_c_chgrpa | TYPE TTINV_C_CHGRPA , |
| ld_yt_tinv_c_chgrphda | TYPE TTINV_C_CHGRPHDA , |
| ld_yt_tinv_c_doctlinet | TYPE TTINV_C_DOCTLINET , |
| ld_yt_tinv_c_doctype | TYPE TTINV_C_DOCTYPE , |
| ld_yt_tinv_c_dtgrphd | TYPE TTINV_C_DTGRPHD , |
| ld_yt_tinv_c_dtgrp | TYPE TTINV_C_DTGRP , |
| ld_yt_tinv_c_trgrphd | TYPE TTINV_C_TRGRPHD , |
| ld_yt_tinv_c_trgrp | TYPE TTINV_C_TRGRP , |
| ld_yt_tinv_c_fm_chckb | TYPE TTINV_C_FM_CHCKB , |
| ld_yt_tinv_c_fm_chcka | TYPE TTINV_C_FM_CHCKA , |
| ld_yt_tinv_c_fm_data | TYPE TTINV_C_FM_DATA , |
| ld_yt_tinv_c_fm_ident | TYPE TTINV_C_FM_IDENT , |
| ld_yt_tinv_c_fm_trans | TYPE TTINV_C_FM_TRANS , |
| ld_yt_tinv_c_invtype | TYPE TTINV_C_INVTYPE , |
| ld_yt_tinv_c_itypedoct | TYPE TTINV_C_ITYPEDOCT , |
| ld_yt_tinv_c_linetype | TYPE TTINV_C_LINETYPE , |
| ld_yt_tinv_c_proccntr | TYPE TTINV_C_PROCCNTR , |
| ld_yt_tinv_c_rel_lvl | TYPE TTINV_C_REL_LVL , |
| ld_yt_tinv_c_custact | TYPE TTINV_C_CUSTACT , |
| ld_yt_tinv_c_reftype | TYPE TVTINV_REFTYPE , |
| ld_yt_tinv_c_adj_rsn | TYPE TTINV_C_ADJ_RSN , |
| ld_yt_tinv_c_fm_cmpl | TYPE TTINV_C_FM_CMPL , |
| ld_yt_tinv_c_cplgrp | TYPE TTINV_C_CPLGRP , |
| ld_yt_tinv_c_cplgrphd | TYPE TTINV_C_CPLGRPHD , |
| ld_yt_tinv_c_proccntra | TYPE TTINV_C_PROCCNTRA , |
| ld_yt_tinv_c_prodid | TYPE TTINV_C_PRODID , |
| ld_yt_tinv_c_cncl_rsn | TYPE TTINV_C_CNCL_RSN , |
| ld_yt_tinv_c_inchck | TYPE TVTINV_C_INCHCK , |
| ld_yt_tinv_c_inchcka | TYPE TTINV_C_INCHCKA , |
| ld_yt_tinv_c_inchckg | TYPE TTINV_C_INCHCKG , |
| ld_yt_tinv_c_inchckp | TYPE TTINV_C_INCHCKP , |
| ld_yt_tinv_c_inchcksid | TYPE TTINV_C_INCHCKSID , |
| ld_yt_tinv_c_fm_actn | TYPE TTINV_C_FM_ACTN . |
This function module reads all Customizing tables that are relevant for
the inbound bill checks.
...See here for full SAP fm documentation
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 INV_DB_READ_CUSTOMIZING or its description.
INV_DB_READ_CUSTOMIZING - INV_BW_THI - BI Extractor for Transfer Records for Third Party INV_BW_INVLINB_DELTA_WRITE - Update Delta Queue for Bill Lines (Posting-Relevant) INV_BW_INVLINB - Extractor for Bill Lines (Posting-Relevant) INV_BW_INVLINA_DELTA_WRITE - Update Delta Queue for Bill Lines (Payment Advice Note) INV_BW_INVLINA - Extractor for Bill Lines (Payment Advice Note)