FAP_TSI_INVC_entry
FAP_TSI_INVC_entry is a CDS View in SAP S/4HANA. It reads from 5 data sources (bkpf, TSI_INV_ALL_entry, v_tsi_bsegs, v_tsi_contact, v_tsi_paid_amt) and exposes 51 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| bkpf | bkpf | inner |
| TSI_INV_ALL_entry | bsik | from |
| v_tsi_bsegs | bsis | inner |
| v_tsi_contact | contact | left_outer |
| v_tsi_paid_amt | ostd | left_outer |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_FAP_TSI_INVC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| bukrs | TSI_INV_ALL_entry | bukrs | Value | |
| belnr | TSI_INV_ALL_entry | belnr | SD Document | |
| gjahr | TSI_INV_ALL_entry | gjahr | Settlement Year | |
| kbuzei | TSI_INV_ALL_entry | buzei | Posting View Item | |
| lifnr | TSI_INV_ALL_entry | lifnr | Vendor no. | |
| name1 | TSI_INV_ALL_entry | name1 | PA text | |
| aedat | bkpf | aedat | Obsolete | |
| reason | ||||
| STATUSINDICATOR | ||||
| PONUMBER | ||||
| bldat | TSI_INV_ALL_entry | h_bldat | Document Date | |
| ISOVERDUE | ||||
| sgtxt | TSI_INV_ALL_entry | sgtxt | Text | |
| xblnr | bkpf | xblnr | Reference | |
| wrbtr | TSI_INV_ALL_entry | wrbtr | Gross Amount | |
| waers | TSI_INV_ALL_entry | h_waers | Currency | |
| dmbtr | TSI_INV_ALL_entry | dmbtr | Loc. amount | |
| LOCALCURRENCY | bkpf | hwaer | Local Currency | |
| AMOUNTPAID | v_tsi_paid_amt | paid_amt_dc | ||
| CURRENCYPAID | TSI_INV_ALL_entry | h_waers | Currency | |
| CURRENCYOSTD | bkpf | hwaer | Local Currency | |
| AMOUNTCRDT | v_tsi_paid_amt | paid_amt_lc | ||
| CURRENCYCRDT | bkpf | hwaer | Local Currency | |
| resdi | v_tsi_paid_amt | resdi | ||
| SEARCHTERM | ||||
| SEARCHTYPE | ||||
| kostl | v_tsi_bsegs | kostl | Substitute CC | |
| budat | TSI_INV_ALL_entry | h_budat | Posting Date | |
| name_first | v_tsi_contact | name_first | First Name | |
| name_last | v_tsi_contact | name_last | Last Name | |
| bname | v_tsi_contact | bname | User name | |
| country | v_tsi_contact | country | Venue: Ctry/Reg | |
| city1 | v_tsi_contact | city1 | City | |
| street | v_tsi_contact | street | Street Code | |
| fax_number | v_tsi_contact | fax_number | Fax Number | |
| fax_extens | v_tsi_contact | fax_extens | Extension | |
| tel_number | v_tsi_contact | tel_number | Telephone | |
| tel_extens | v_tsi_contact | tel_extens | Extension | |
| title | v_tsi_contact | title | View Title | |
| smtp_addr | v_tsi_contact | smtp_addr | E-Mail Address | |
| persnumber | v_tsi_contact | persnumber | Person Number | |
| addrnumber | v_tsi_contact | addrnumber | Address Number | |
| usnam | bkpf | usnam | User Name | |
| busab | TSI_INV_ALL_entry | busab | Dunning Clerk | |
| zlspr | TSI_INV_ALL_entry | zlspr | Pymt Lock Rsn | |
| batch_no | TSI_INV_ALL_entry | batch_no | Batch Number | |
| poken | TSI_INV_ALL_entry | poken | Payt Exception | |
| kbegru | TSI_INV_ALL_entry | kbegru | Authorization | |
| sbegru | v_tsi_bsegs | sbegru | Authorization | |
| tbrgru | TSI_INV_ALL_entry | tbrgru | Authorization | |
| gsber | v_tsi_bsegs | gsber | Business Area |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view FAP_TSI_INVC_entry.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: V_FAP_TSI_INVC
CREATE VIEW FAP_TSI_INVC_entry AS
SELECT
bsik.bukrs AS bukrs,
bsik.belnr AS belnr,
bsik.gjahr AS gjahr,
bsik.buzei AS kbuzei,
bsik.lifnr AS lifnr,
bsik.name1 AS name1,
bkpf.aedat AS aedat,
'' AS reason,
cast(bsik.status as abap.char(1)) AS STATUSINDICATOR,
'' AS PONUMBER,
bsik.h_bldat AS bldat,
'' AS ISOVERDUE,
bsik.sgtxt AS sgtxt,
bkpf.xblnr AS xblnr,
bsik.wrbtr AS wrbtr,
bsik.h_waers AS waers,
bsik.dmbtr AS dmbtr,
bkpf.hwaer AS LOCALCURRENCY,
ostd.paid_amt_dc AS AMOUNTPAID,
bsik.h_waers AS CURRENCYPAID,
bkpf.hwaer AS CURRENCYOSTD,
ostd.paid_amt_lc AS AMOUNTCRDT,
bkpf.hwaer AS CURRENCYCRDT,
ostd.resdi AS resdi,
'' AS SEARCHTERM,
'' AS SEARCHTYPE,
bsis.kostl AS kostl,
bsik.h_budat AS budat,
contact.name_first AS name_first,
contact.name_last AS name_last,
contact.bname AS bname,
contact.country AS country,
contact.city1 AS city1,
contact.street AS street,
contact.fax_number AS fax_number,
contact.fax_extens AS fax_extens,
contact.tel_number AS tel_number,
contact.tel_extens AS tel_extens,
contact.title AS title,
contact.smtp_addr AS smtp_addr,
contact.persnumber AS persnumber,
contact.addrnumber AS addrnumber,
bkpf.usnam AS usnam,
bsik.busab AS busab,
bsik.zlspr AS zlspr,
bsik.batch_no AS batch_no,
bsik.poken AS poken,
bsik.kbegru AS kbegru,
bsis.sbegru AS sbegru,
bsik.tbrgru AS tbrgru,
bsis.gsber AS gsber
FROM TSI_INV_ALL_entry AS bsik
INNER JOIN v_tsi_bsegs AS bsis ON /* join condition not captured in parsed metadata */
INNER JOIN bkpf ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_tsi_paid_amt AS ostd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_tsi_contact AS contact ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA