P1240 SAP (Infotype 1240: Existence Dependency) Structure details
Description: Infotype 1240: Existence Dependency
Structure field list including key, data, relationships and ABAP select examples
P1240 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 1240: Existence Dependency" 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_P1240 TYPE P1240.
The P1240 table consists of various fields, each holding specific information or linking keys about Infotype 1240: Existence Dependency 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 P1240 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 | ||||
EXT_OTYPE | Object Type | OTYPE | CHAR | 2 | T778O | OTYPE | POT | ||
EXT_OBJID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
REL_PRIOX | Priority | PRIOX | CHAR | 2 | CHAR2 |
Key field | Non-key field |
How do I retrieve data from SAP structure P1240 using ABAP code?
As P1240 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 P1240 as there is no data to select.How to access SAP table P1240
Within an ECC or HANA version of SAP you can also view further information about P1240 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