TPHCNV SAP (Data for Product Hierarchy Conversion) Table details
Description: Data for Product Hierarchy Conversion
Table field list including key, data, relationships and ABAP select examples
TPHCNV is a standard SAP Table which is used to store Data for Product Hierarchy Conversion data and is available within R/3 SAP systems depending on the version and release level.
The TPHCNV table consists of various fields, each holding specific information or linking keys about Data for Product Hierarchy Conversion data available in SAP. These include PHMASKE (Mask for the product hierarchy conversion), LNGPHMASKE (Portion of the PHMASKE field used), PHSEPERAT (Separator in the product hierarchy template (left to right)), LNGPHSEP (Portion of PHSEPARAT field used).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP TPHCNV table 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 |
PHCONVID | Key to access in table TPRODHCNV | PHCONVID | CHAR | 8 | PHCONVID | ||||
PHMASKE | Mask for the product hierarchy conversion | PHMASKE | CHAR | 26 | CHAR26 | ||||
LNGPHMASKE | Portion of the PHMASKE field used | LNGPHMASKE | INT2 | 5 | INT2 | ||||
PHSEPERAT | Separator in the product hierarchy template (left to right) | PHSEPERAT | CHAR | 8 | CHAR8 | ||||
LNGPHSEP | Portion of PHSEPARAT field used | LNGPHSEP | INT2 | 5 | INT2 | ||||
LNGPHEFF | The number of relevant positions in the product hierarchy | LNGPHEFF | INT2 | 5 | INT2 | ||||
PHTEXTCON | Texts are linked together to form product hierarchy point | PHTEXTCON | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP table TPHCNV using ABAP code
The following ABAP code Example will allow you to do a basic selection on TPHCNV to SELECT all data from the tableDATA: WA_TPHCNV TYPE TPHCNV.
SELECT SINGLE *
FROM TPHCNV
INTO CORRESPONDING FIELDS OF WA_TPHCNV
WHERE...
How to access SAP table TPHCNV
Within an ECC or HANA version of SAP you can also view further information about TPHCNV 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