SAP PHIN_MSG table for internal message handling in Takeover/Handover Table data and field list

PHIN_MSG is a standard SAP Table which is used to store table for internal message handling in Takeover/Handover data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The PHIN_MSG table consists of various fields, each holding specific information or linking keys about table for internal message handling in Takeover/Handover data available in SAP. These include PHIN_GUID (Generic Key for Takeover/Handover), TL_KEY (Key (Numc 8) for Table PHINT), MSGID (Message Class), MSGNO (Message Number)... 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. .

PHIN_MSG table Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP PHIN_MSG table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the PHIN_MSG table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
PHIN_GUIDGeneric Key for Takeover/Handover PHIN_D_PHINGUIDCHAR32SDOK_DOCID
TL_KEYKey (Numc 8) for Table PHINT PHIN_D_GUIDNUMC8PHIN_DOM_GUID
MSGIDMessage Class SYMSGIDCHAR20Assigned to domainARBGB
MSGNOMessage Number SYMSGNONUMC3SYMSGNO
TIMESTAMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
CONTEXTMessage Variable SYMSGVCHAR50SYCHAR50
VBKZTakeover / Handover Update Indicator PHIN_VBKZCHAR1PHIN_VBKZ
PHIN_VIEWPHIN_MSG_VIEW PHIN_MSG_VIEWCHAR2PHIN_MSG_VIEW
FUNCTIONPHIN_MSG_FUNCTION PHIN_MSG_FUNCTIONCHAR2PHIN_MSG_FUNCTION
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
CAT_ERRORPHIN_MSG_CAT PHIN_MSG_CATCHAR1PHIN_MSG_CAT

Key field Non-key field



How do I retrieve data from SAP table PHIN_MSG using ABAP code

The following ABAP code Example will allow you to do a basic selection on PHIN_MSG to SELECT all data from the table
DATA: WA_PHIN_MSG TYPE PHIN_MSG.

SELECT SINGLE *
FROM PHIN_MSG
INTO CORRESPONDING FIELDS OF WA_PHIN_MSG
WHERE...

How to access SAP table PHIN_MSG

Within an ECC or HANA version of SAP you can also view further information about PHIN_MSG and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).