PAYHDOC SAP (Payment program - data on payment (payment data)) Structure details

Dictionary Type: Structure
Description: Payment program - data on payment (payment data)




ABAP Code to SELECT data from PAYHDOC
Related tables to PAYHDOC
Access table PAYHDOC




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
BBUKRCompany Code in Payment Document BUKRS_PAYCHAR4T001BUKRS
BGSBRBusiness area in payment document GSBER_PAYCHAR4TGSBGSBER
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
RBETRAmount in Local Currency RBETRCURR13(2) WRTV7
RWBTRAmount Paid in the Payment Currency RWBTRCURR13(2) WRTV7
RSKONTotal Cash Discount for the Payment Trans. (Local Currency) RSKONCURR13(2) WRTV7
RWSKTTotal Cash Discount for the Pmnt Transactn in Pmnt Currency RWSKTCURR13(2) WRTV7
ZALDTPosting date of the payment document DZALDT_ZHLDATS8DATUM
DIFFBDifference Amount in Clearing Processing DIFFB_KKCURR13(2) WRTV7
AUSFDDue date of the paid items AUSFDDATS8DATUM
VALUTValue date VALUTDATS8DATUM
RZAWEPayment Method PYMET_KKCHAR1TFK042ZPYMET_KK
UZAWEPayment Method Supplement UZAWECHAR2T042FUZAWE
AVISGReason for Printing Payment Advice AVISGCHAR1AVISG
RPOSTNumber of Items Paid RPOSTDEC5PACK3
RTEXTNumber of Text Lines for the Items Paid RTEXT_DDEC5PACK3
PYGRPGrouping field for automatic payments PYGRP_KKCHAR10CHAR10
PAYGRGenerated grouping field in payments PAYGR_PAYCHAR50CHAR50
XNOLCPayment Program: Local Currency Amounts Incomplete XNOLC_KKCHAR1XFELD
PDKEYNumber of Payment Specification PDKEY_KKNUMC12PDKEY_KK80B
PDREFReference Number of Payment Specification PDREF_KKCHAR16PDREF_KK
PPKEYIdentification of Promise to Pay PPKEY_KKCHAR12ALPHAPPKEY_KK8P2P
PRDATPayment Date Promised PRODT_KKDATS8DATUM

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 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!