PAPARTNER SAP (SD partner that can be used in CO-PA) Structure details

Dictionary Type: Structure
Description: SD partner that can be used in CO-PA




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




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

PAPARTNER 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 "SD partner that can be used in CO-PA" 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_PAPARTNER TYPE PAPARTNER.

The PAPARTNER table consists of various fields, each holding specific information or linking keys about SD partner that can be used in CO-PA data available in SAP. These include KUNWE (Ship-to party), KUNRE (Bill-to party), KUNRG (Payer), SPDNR (Forwarding agent).. 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 PAPARTNER 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
KUNWEShip-to party KUNWECHAR10KNA1ALPHAKUNNR
KUNREBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
KUNRGPayer KUNRGCHAR10KNA1ALPHAKUNNR
SPDNRForwarding agent SPDNRCHAR10LFA1ALPHALIFNR
VRTNRSales employee VRTNRNUMC8PERNRPREMV
PDUMMYDummy function in length 1 DUMMYCHAR1DUMMY
.INCLU--AP 0
HIE01Customer hierarchy Level 1 HIEZU01CHAR10KNA1ALPHAKUNNR
HIE02Customer hierarchy Level 2 HIEZU02CHAR10KNA1ALPHAKUNNR
HIE03Customer hierarchy Level 3 HIEZU03CHAR10KNA1ALPHAKUNNR
HIE04Customer hierarchy Level 4 HIEZU04CHAR10KNA1ALPHAKUNNR
HIE05Customer hierarchy Level 5 HIEZU05CHAR10KNA1ALPHAKUNNR
HIE06Customer hierarchy Level 6 HIEZU06CHAR10KNA1ALPHAKUNNR
HIE07Customer hierarchy Level 7 HIEZU07CHAR10KNA1ALPHAKUNNR
HIE08Customer hierarchy Level 8 HIEZU08CHAR10KNA1ALPHAKUNNR
HIE09Customer hierarchy Level 9 HIEZU09CHAR10KNA1ALPHAKUNNR
HIE10Customer hierarchy Level 10 HIEZU10CHAR10KNA1ALPHAKUNNR

Key field Non-key field



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

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

How to access SAP table PAPARTNER

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