PSCD_TOTALS SAP (E-Invoice Totals) Structure details
Description: E-Invoice Totals
Structure field list including key, data, relationships and ABAP select examples
PSCD_TOTALS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "E-Invoice Totals" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_PSCD_TOTALS TYPE PSCD_TOTALS.
The PSCD_TOTALS table consists of various fields, each holding specific information or linking keys about E-Invoice Totals data available in SAP. These include DISCOUNTTOTALSAMOUNT (Amount in Local Currency), CHARGESTOTALSAMOUNT (Amount in Local Currency), TAXTOTALSAMOUNT (Amount in Local Currency), PREPAIDAMOUNT (Amount in Local Currency).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PSCD_TOTALS structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
LINEITEMTOTALSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISCOUNTTOTALSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHARGESTOTALSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
TAXTOTALSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
PREPAIDAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
COMMISSIONAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
GROSSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
VATTOTALSAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
NETAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
ROUNDINGAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
VATPERCENT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
VATBASEAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
VATAMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
FOR_CURRENCY | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
FOR_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
EXCH_RATE | Exchange rate | KURSF | DEC | 9(5) | EXCRT | KURSF | |||
EXCH_DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TAX_AMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
TAX_DESC | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
DISC_CODE | Charge and Discount Key | CHGKEY_KK | CHAR | 8 | |||||
DISC_DESC | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
DISC_PERCENT | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
DISC_BASE | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISC_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISC_QUANTITY | Actual Invoiced Quantity | FKIMG | QUAN | 13(3) | MENG13 | ||||
DISC_UNIT_OF_MEASURE | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DISC_VAT_PERCENT | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
DISC_VAST_BASE_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISC_VAT_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHRG_CODE | Charge and Discount Key | CHGKEY_KK | CHAR | 8 | |||||
CHRG_DESCRIPTION | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
CHRG_PERCENT | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
CHRG_BASE | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHRG_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHRG_QUANTITY | Actual Invoiced Quantity | FKIMG | QUAN | 13(3) | MENG13 | ||||
CHRG_UNIT_OF_MEASURE | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
CHRG_VAT_PERCENT | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
CHRG_VAT_BASE_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISC_RATE_PER_UNIT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHRG_RATE_PER_UNIT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
DISC_CALC_SEQUENCE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
CHRG_VAT_AMT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CHRG_CALC_SEQUENCE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
AP_CURRENCY | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
AP_INTEGER_VALUE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
AP_DECIMAL_VALUE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
AP_MODULUS_CODE | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PSCD_TOTAL_DISP | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
PSCD_EINVO_FOOTER | Character Field 39 | CHAR_39 | CHAR | 39 | CHAR39 | ||||
PSCD_EINVO_FOOTER_DISP | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure PSCD_TOTALS using ABAP code?
As PSCD_TOTALS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on PSCD_TOTALS as there is no data to select.How to access SAP table PSCD_TOTALS
Within an ECC or HANA version of SAP you can also view further information about PSCD_TOTALS and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects