P5342 SAP (Infotype 5342: Field) Structure details
Description: Infotype 5342: Field
Structure field list including key, data, relationships and ABAP select examples
P5342 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 5342: Field" 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_P5342 TYPE P5342.
The P5342 table consists of various fields, each holding specific information or linking keys about Infotype 5342: Field 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: Cannot Be Enhanced
SAP P5342 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PLVAR | Plan Version | PLVAR | CHAR | 2 | T778P | PLVAR | POP | ||
OTYPE | Object Type | OTYPE | CHAR | 2 | T778O | OTYPE | POT | ||
OBJID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
INFTY | Infotype | INFOTYP | CHAR | 4 | T778T | INFOTYP | HRBAS00INFTY | ||
SUBTY | Subtype | SUBTYP | CHAR | 4 | T778U | SUBTYP | |||
ISTAT | Planning Status | ISTAT_D | CHAR | 1 | T778S | ISTAT | PST | ||
PRIOX | Priority | PRIOX | CHAR | 2 | CHAR2 | ||||
BEGDA | Start Date | BEGDATUM | DATS | 8 | DATUM | BEG | |||
ENDDA | End Date | ENDDATUM | DATS | 8 | DATUM | END | |||
VARYF | Variation Field for File PLOG | VARYF | CHAR | 10 | CHAR10 | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed on | AEDTM | DATS | 8 | DATUM | ||||
UNAME | User Name | USRNAME | CHAR | 12 | CHAR12 | ||||
REASN | Reason | REASN | CHAR | 2 | CHAR2 | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXNR | Text Module for Infotype | ITXNR | NUMC | 8 | NUM08 | ||||
FIELDID | Data source field ID | GRFN_AMFIELDID | NUMC | 8 | NUMC8 | ||||
PARENTFIELDID | Data source Parent Field ID | GRFN_AMPARENTFIELDID | NUMC | 8 | NUMC8 | ||||
SOURCETABNAME | Source Table Name | GRFN_SOURCETABNAME | CHAR | 30 | TABNAME | ||||
SOURCEFIELDNAME | Source Field Name | GRFN_SOURCEFIELDNAME | CHAR | 61 | CHAR61 | ||||
FIELDTYPE | Field Type | GRFN_FIELDTYPE | CHAR | 7 | Assigned to domain | GRFN_FIELDTYPE | |||
CURORUOM | Amount or quantity | GRFN_AMCURORUOM | CHAR | 2 | GRFN_AMCURORUOM | ||||
CONVEXIT | Identifies a convexit field of a table | GRFN_CONVEXIT | CHAR | 1 | GRFN_BOOLEAN | ||||
REFFIELDID | Data source Reference Field ID | GRFN_AMREFFIELDID | NUMC | 8 | NUMC8 | ||||
MAINTABLE | Define Number of Table Level | GRFN_MAINTABLE | NUMC | 1 | |||||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
ISADDJOIN | Is Additional Join | GRFN_ISADDJOIN | CHAR | 1 | BOOLE | ||||
INPUTCCIFIELDID | CCI Input Field ID | GRFN_AMINPUTCCIFIELDID | CHAR | 61 | CHAR61 | ||||
OUTPUTCCIFIELDID | CCI Output Field ID | GRFN_AMOUTPUTCCIFIELDID | CHAR | 61 | CHAR61 | ||||
JOINFIELDID | Data source Join Field ID | GRFN_AMJOINFIELDID | NUMC | 8 | NUMC8 |
Key field | Non-key field |
How do I retrieve data from SAP structure P5342 using ABAP code?
As P5342 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 P5342 as there is no data to select.How to access SAP table P5342
Within an ECC or HANA version of SAP you can also view further information about P5342 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects