PSCD_TOTALS SAP (E-Invoice Totals) Structure details

Dictionary Type: Structure
Description: E-Invoice Totals




ABAP Code to SELECT data from PSCD_TOTALS
Related tables to PSCD_TOTALS
Access table PSCD_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
LINEITEMTOTALSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
DISCOUNTTOTALSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
CHARGESTOTALSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
TAXTOTALSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
PREPAIDAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
COMMISSIONAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
GROSSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
VATTOTALSAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
NETAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
ROUNDINGAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
VATPERCENTAmount in Local Currency DMBTRCURR13(2) WERT7
VATBASEAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
VATAMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
FOR_CURRENCYLocal Currency HWAERCUKY5Assigned to domainWAERS
FOR_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
EXCH_RATEExchange rate KURSFDEC9(5) EXCRTKURSF
EXCH_DATEPosting Date in the Document BUDATDATS8DATUM
TAX_CODETax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
TAX_AMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
TAX_DESCDocument Header Text BKTXTCHAR25TEXT25
DISC_CODECharge and Discount Key CHGKEY_KKCHAR8
DISC_DESCDocument Header Text BKTXTCHAR25TEXT25
DISC_PERCENTRate (condition amount or percentage) KBETRCURR11(2) WERTV6
DISC_BASEAmount in Local Currency DMBTRCURR13(2) WERT7
DISC_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
DISC_QUANTITYActual Invoiced Quantity FKIMGQUAN13(3) MENG13
DISC_UNIT_OF_MEASURESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
DISC_VAT_PERCENTRate (condition amount or percentage) KBETRCURR11(2) WERTV6
DISC_VAST_BASE_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
DISC_VAT_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
CHRG_CODECharge and Discount Key CHGKEY_KKCHAR8
CHRG_DESCRIPTIONDocument Header Text BKTXTCHAR25TEXT25
CHRG_PERCENTRate (condition amount or percentage) KBETRCURR11(2) WERTV6
CHRG_BASEAmount in Local Currency DMBTRCURR13(2) WERT7
CHRG_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
CHRG_QUANTITYActual Invoiced Quantity FKIMGQUAN13(3) MENG13
CHRG_UNIT_OF_MEASURESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
CHRG_VAT_PERCENTRate (condition amount or percentage) KBETRCURR11(2) WERTV6
CHRG_VAT_BASE_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
DISC_RATE_PER_UNITAmount in Local Currency DMBTRCURR13(2) WERT7
CHRG_RATE_PER_UNITAmount in Local Currency DMBTRCURR13(2) WERT7
DISC_CALC_SEQUENCENatural Number INT4INT410INT4
CHRG_VAT_AMTAmount in Local Currency DMBTRCURR13(2) WERT7
CHRG_CALC_SEQUENCENatural Number INT4INT410INT4
AP_CURRENCYLocal Currency HWAERCUKY5Assigned to domainWAERS
AP_INTEGER_VALUENatural Number INT4INT410INT4
AP_DECIMAL_VALUENatural Number INT4INT410INT4
AP_MODULUS_CODEDocument Header Text BKTXTCHAR25TEXT25
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
PSCD_TOTAL_DISPSingle-Character Indicator CHAR1CHAR1CHAR1
PSCD_EINVO_FOOTERCharacter Field 39 CHAR_39CHAR39CHAR39
PSCD_EINVO_FOOTER_DISPSingle-Character Indicator CHAR1CHAR1CHAR1

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!