P5020 SAP (Infotype 5020: Category Assignment) Structure details

Dictionary Type: Structure
Description: Infotype 5020: Category Assignment




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




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

P5020 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 "Infotype 5020: Category Assignment" 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_P5020 TYPE P5020.

The P5020 table consists of various fields, each holding specific information or linking keys about Infotype 5020: Category Assignment data available in SAP. These include MANDT (Client), PLVAR (Plan Version), OTYPE (Object Type), OBJID (Object ID).. 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 P5020 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
PLVARPlan Version PLVARCHAR2T778PPLVARPOP
OTYPEObject Type OTYPECHAR2T778OOTYPEPOT
OBJIDObject ID OBJEKTIDNUMC8NUM08PON
INFTYInfotype INFOTYPCHAR4T778TINFOTYPHRBAS00INFTY
SUBTYSubtype SUBTYPCHAR4T778USUBTYP
ISTATPlanning Status ISTAT_DCHAR1T778SISTATPST
PRIOXPriority PRIOXCHAR2CHAR2
BEGDAStart Date BEGDATUMDATS8DATUMBEG
ENDDAEnd Date ENDDATUMDATS8DATUMEND
VARYFVariation Field for File PLOG VARYFCHAR10CHAR10
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged on AEDTMDATS8DATUM
UNAMEUser Name USRNAMECHAR12CHAR12
REASNReason REASNCHAR2CHAR2
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXNRText Module for Infotype ITXNRNUMC8NUM08
CAT_GROUP_IDAppraisal Category Group ID HAP_CAT_GROUP_IDNUMC8Assigned to domainHAP_CAT_GROUP_ID
CATEGORY_IDAppraisal Category ID HAP_CATEGORY_IDNUMC8Assigned to domainHAP_CATEGORY_ID
CHANGE_DATELast Changed on HAP_CHANGE_DATEDATS8
CHANGE_TIMELast Change Time HAP_CHANGE_TIMETIMS6
CHANGE_USERLast Changed by User HAP_CHANGE_USERCHAR12UNAME
ATTRIBUTEFurther Attributes HAP_C_ATTRIBUTECHAR10CHAR10

Key field Non-key field



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

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

How to access SAP table P5020

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