STPZ7 SAP (Conversion:) Structure details

Dictionary Type: Structure
Description: Conversion:




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




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

STPZ7 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 "Conversion:" 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_STPZ7 TYPE STPZ7.

The STPZ7 table consists of various fields, each holding specific information or linking keys about Conversion: data available in SAP. These include MANDT (Client), REL_TYP (Business Partner Relationship Category), KARDINAL (Cardinality of BP Relationship Category), TYPE_P1 (Category of Business Partner 1).. 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: Not classified


SAP STPZ7 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
REL_TYPBusiness Partner Relationship Category BP_REL_TYP_OLDCHAR4Assigned to domainBP_REL_TYP
KARDINALCardinality of BP Relationship Category BP_KARDINCHAR2BP_KARDIN
TYPE_P1Category of Business Partner 1 BP_TYPE_P1CHAR1BP_TYPE
TYPE_P2Category of Business Partner 2 BP_TYPE_P2CHAR1BP_TYPE
COMPNYCCompany Code Relevance Indicator BP_COMPNYCCHAR1XFELD
RELTYPBusiness Partner Relationship Category BU_RELTYPCHAR6TBZ9BU_RELTYP
ORDER_CHANGEChange Sequence BU_ORDERCHAR1BU_ORDER
REL_MAINBusiness Partner: Leading Relationship Category BU_REL_MAINCHAR1XFELD
REL_GRPBusiness Partner: Convert to Group BU_REL_GRPCHAR1XFELD
RLTP1Business partner role (business partner 1) BU_RLTP1CHAR6Assigned to domainBU_RLTYP
RLTP2Business partner role (business partner 1) BU_RLTP1CHAR6Assigned to domainBU_RLTYP
TIMDPTime Constraint BU_TIMDEPCHAR1BU_TIMDEP
XDIRECTIONOne-Way Business Partner Relationship Category BU_XDIRECTCHAR1XFELD
XRFBusiness partner role definition instead of BP relationship BU_XRFCHAR1XFELD
DFTYPDifferentiation Type BU_DFTYPCHAR2Assigned to domainBU_DFTYP
VERTCheckbox XFELDCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table STPZ7

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