PAYHREF SAP (Payment program - data on payment (references)) Structure details

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




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




Structure field list including key, data, relationships and ABAP select examples

PAYHREF 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 (references)" 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_PAYHREF TYPE PAYHREF.

The PAYHREF table consists of various fields, each holding specific information or linking keys about Payment program - data on payment (references) data available in SAP. These include ORG1R (Reference for Organization), ORG2T (Type of organization for which the payment is made), ORG2R (Reference to the Organization for Which the Payment is Made), GPA1T (Business Partner Category).. 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 PAYHREF 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
ORG1TType of Organization ORG1T_PAYCHAR2ORGTP_PAY
ORG1RReference for Organization ORG1R_PAYCHAR8CHAR8
ORG2TType of organization for which the payment is made ORG2T_PAYCHAR2ORGTP_PAY
ORG2RReference to the Organization for Which the Payment is Made ORG2R_PAYCHAR8CHAR8
GPA1TBusiness Partner Category GPA1T_PAYCHAR2GPATP_PAY
GPA1RBusiness Partner Reference GPA1R_PAYCHAR12CHAR12
ACC1TContract Account Category ACC1T_PAYCHAR2ACCTP_PAY
ACC1RReference to Contract Account ACC1R_PAYCHAR18CHAR18
DOC1TPayment document category DOC1T_PAYCHAR2DOCTP_PAY
DOC1RReference to Payment Document DOC1R_PAYCHAR24CHAR24
MASTTMaster record type for payment items MASTT_KKCHAR2MASTT_KK
MASTRMaster Record Reference for Payment Item MASTR_KKCHAR20MASTR_KK

Key field Non-key field



How do I retrieve data from SAP structure PAYHREF using ABAP code?

As PAYHREF 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 PAYHREF as there is no data to select.

How to access SAP table PAYHREF

Within an ECC or HANA version of SAP you can also view further information about PAYHREF 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!