PAYP SAP (Payment program - data on paid item) Structure details

Dictionary Type: Structure
Description: Payment program - data on paid item




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




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

PAYP 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 paid item" 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_PAYP TYPE PAYP.

The PAYP table consists of various fields, each holding specific information or linking keys about Payment program - data on paid item data available in SAP. These include LAUFD (Date ID), LAUFI (Identification for the payment run), ORIGN (Source of the payment data), XVORL (Indicator: Only Proposal Run?).. 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 PAYP 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
MANDTClient MANDTCLNT3T000MANDT
LAUFDDate ID LAUFD_KKDATS8DATUM
LAUFIIdentification for the payment run LAUFI_PAYCHAR5LAUFI_PAY
ORIGNSource of the payment data ORIGN_PAYCHAR1LAUFK_F110
XVORLIndicator: Only Proposal Run? XVORLCHAR1XFELD
PAYNOSequential payment number PAYNO_PAYINT410INT4_NOS
SUBNOAdditional distinguishing criterion from payments SUBNO_PAYCHAR6CHAR6
DOC2TCategory for paid document DOC2T_PAYCHAR2DOCTP_PAY
DOC2RReference to Paid Document DOC2R_PAYCHAR24CHAR24
GPA2TCategory of business partner making a payment GPA2T_PAYCHAR2GPATP_PAY
GPA2RReference to Business Partner Giving Payment Instruction GPA2R_PAYCHAR12CHAR12
ACC1TContract Account Category ACC1T_PAYCHAR2ACCTP_PAY
ACC1RReference to Contract Account ACC1R_PAYCHAR18CHAR18
VOR1TActivity type VOR1T_PAYCHAR2VORTP_PAY
VOR1RReference to Main Transaction VOR1R_PAYCHAR4CHAR4
VOR2TActivity type VOR1T_PAYCHAR2VORTP_PAY
VOR2RReference to Main Transaction VOR1R_PAYCHAR4CHAR4
TXT1TLong text type TXT1T_PAYCHAR2CHAR02
TXT1RLong text reference TXT1R_PAYCHAR30CHAR30
SUBAPSubapplication in Contract Accounts Receivable and Payable SUBAP_KKCHAR1SUBAP_KK8SA
ADRNRAddress number AD_ADDRNUMCHAR10ADRCALPHAAD_ADDRNUMADR
NAME1Name 1 AD_NAME1CHAR40TEXT40
LAND1Country Key LAND1CHAR3T005LAND1LND
REGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
ORT01City AD_CITY1CHAR40TEXT40CLCITYNAME
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
FAEDTDue Date of Payment FAEDT_F110DATS8DATUM
SKTPAAccepted cash discount rate SKTPA_KKDEC5(3) PRZ23
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
BETRWAmount in Transaction Currency with +/- Sign BETRW_KKCURR13(2) WRTV7
AUGBHClearing amount in local currency with +/- sign AUGBH_KKCURR13(2) WRTV7
AUGBWClearing Amount in Transaction Currency (With +/- Sign) AUGBW_KKCURR13(2) WRTV7
ASKTHProportional cash discount in local currency ASKTH_KKCURR13(2) WRTV7
ASKTWProportional cash discount in transaction currency ASKTW_KKCURR13(2) WRTV7
POKENItem indicator in payment program POKEN_PAYNUMC3TFKPKPOKEN_PAY
ZLSPRLock Reason for Automatic Payment SPZAH_KKCHAR1TFK008SPZAH_KK
CLRLOClearing Lock Reason CLRLO_KKCHAR1Assigned to domainSPPOS_KK
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
C4EYECheck Reason for Workflows Acc. to Dual Control Principle C4EYE_KKCHAR2Assigned to domainC4EYE_KK
OPTXTItem Text SGTXTCHAR50TEXT50
REF1TReference information type REFIT_PAYCHAR2REFIT_PAY
REF1RReference information REFIN_PAYCHAR40CHAR40
REF2TReference information type REFIT_PAYCHAR2REFIT_PAY
REF2RReference information REFIN_PAYCHAR40CHAR40
REF3TReference information type REFIT_PAYCHAR2REFIT_PAY
REF3RReference information REFIN_PAYCHAR40CHAR40
VTREFReference Specifications from Contract VTREF_KKCHAR20ALPHAVTREF_KKVTZ
VTRE2Reference Specifications from Contract VTREF_KKCHAR20ALPHAVTREF_KKVTZ
LZBKZState Central Bank Indicator LZBKZCHAR3T015LLZBKZ
LANDLSupplying Country LANDLCHAR3T005LAND1
STCD1Tax Number 1 STCD1CHAR16STCD1
AQSBWProportional Withholding Tax Amount In Transaction Currency AQSBW_KKCURR13(2) WRTV7
AQSBHProportional Withholding Tax Amount In Local Currency AQSBH_KKCURR13(2) WRTV7
QSSKZWithholding Tax Code QSSKZCHAR2Assigned to domainQSSKZ
STAKZType of statistical item STAKZ_KKCHAR1STAKZ_KK

Key field Non-key field



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

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

How to access SAP table PAYP

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