PAYHDOC SAP (Payment program - data on payment (payment data)) Structure details
Description: Payment program - data on payment (payment data)
Structure field list including key, data, relationships and ABAP select examples
PAYHDOC 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 "Payment program - data on payment (payment data)" 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_PAYHDOC TYPE PAYHDOC.
The PAYHDOC table consists of various fields, each holding specific information or linking keys about Payment program - data on payment (payment data) data available in SAP. These include BGSBR (Business area in payment document), WAERS (Currency Key), RBETR (Amount in Local Currency), RWBTR (Amount Paid in the Payment 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: Cannot Be Enhanced
SAP PAYHDOC 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 |
BBUKR | Company Code in Payment Document | BUKRS_PAY | CHAR | 4 | T001 | BUKRS | |||
BGSBR | Business area in payment document | GSBER_PAY | CHAR | 4 | TGSB | GSBER | |||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
RBETR | Amount in Local Currency | RBETR | CURR | 13(2) | WRTV7 | ||||
RWBTR | Amount Paid in the Payment Currency | RWBTR | CURR | 13(2) | WRTV7 | ||||
RSKON | Total Cash Discount for the Payment Trans. (Local Currency) | RSKON | CURR | 13(2) | WRTV7 | ||||
RWSKT | Total Cash Discount for the Pmnt Transactn in Pmnt Currency | RWSKT | CURR | 13(2) | WRTV7 | ||||
ZALDT | Posting date of the payment document | DZALDT_ZHL | DATS | 8 | DATUM | ||||
DIFFB | Difference Amount in Clearing Processing | DIFFB_KK | CURR | 13(2) | WRTV7 | ||||
AUSFD | Due date of the paid items | AUSFD | DATS | 8 | DATUM | ||||
VALUT | Value date | VALUT | DATS | 8 | DATUM | ||||
RZAWE | Payment Method | PYMET_KK | CHAR | 1 | TFK042Z | PYMET_KK | |||
UZAWE | Payment Method Supplement | UZAWE | CHAR | 2 | T042F | UZAWE | |||
AVISG | Reason for Printing Payment Advice | AVISG | CHAR | 1 | AVISG | ||||
RPOST | Number of Items Paid | RPOST | DEC | 5 | PACK3 | ||||
RTEXT | Number of Text Lines for the Items Paid | RTEXT_D | DEC | 5 | PACK3 | ||||
PYGRP | Grouping field for automatic payments | PYGRP_KK | CHAR | 10 | CHAR10 | ||||
PAYGR | Generated grouping field in payments | PAYGR_PAY | CHAR | 50 | CHAR50 | ||||
XNOLC | Payment Program: Local Currency Amounts Incomplete | XNOLC_KK | CHAR | 1 | XFELD | ||||
PDKEY | Number of Payment Specification | PDKEY_KK | NUMC | 12 | PDKEY_KK | 80B | |||
PDREF | Reference Number of Payment Specification | PDREF_KK | CHAR | 16 | PDREF_KK | ||||
PPKEY | Identification of Promise to Pay | PPKEY_KK | CHAR | 12 | ALPHA | PPKEY_KK | 8P2P | ||
PRDAT | Payment Date Promised | PRODT_KK | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure PAYHDOC using ABAP code?
As PAYHDOC 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 PAYHDOC as there is no data to select.How to access SAP table PAYHDOC
Within an ECC or HANA version of SAP you can also view further information about PAYHDOC 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