HIMA SAP (PM order history - materials) Table details
Dictionary Type: Table
Description: PM order history - materials
Description: PM order history - materials
Table field list including key, data, relationships and ABAP select examples
HIMA is a standard SAP Table which is used to store PM order history - materials data and is available within R/3 SAP systems depending on the version and release level.
The HIMA table consists of various fields, each holding specific information or linking keys about PM order history - materials data available in SAP. These include AUFNR (Order number historical), VORNR (Operation/Activity Number), RSPOS (Item Number of Reservation/Dependent Requirement), MATNR (Material 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. .
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 HIMA 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
AUFNR | Order number historical | AUFNR_H | CHAR | 12 | HIKO | ALPHA | AUFNR_H | ANR | |
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
POSNR | BOM item number | APOSN | CHAR | 4 | NUMCV | SPOSN | |||
POSTP | Item Category (Bill of Material) | POSTP | CHAR | 1 | T418 | POSTP | |||
POTX1 | BOM Item Text (Line 1) | POTX1 | CHAR | 40 | TEXT40 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCHA | CHARG | CHA | ||
BDMNG | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
ENMNG | Quantity Withdrawn | ENMNG | QUAN | 13(3) | MENG13 | ||||
ENWRT | Value Withdrawn | ENWRT | CURR | 13(2) | VWERT13 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
LIFZT | Delivery time in days | LIFZT | DEC | 3 | DEC3 | ||||
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
GPREIS | Total Price in Local Currency | PPGXXX | CURR | 15(2) | WERTV8 | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
SAKNR | G/L Account Number | SAKNR | CHAR | 10 | SKA1 | ALPHA | SAKNR | SAK | C_SAKNR |
Key field | Non-key field |
How do I retrieve data from SAP table HIMA using ABAP code
The following ABAP code Example will allow you to do a basic selection on HIMA to SELECT all data from the tableDATA: WA_HIMA TYPE HIMA.
SELECT SINGLE *
FROM HIMA
INTO CORRESPONDING FIELDS OF WA_HIMA
WHERE...
How to access SAP table HIMA
Within an ECC or HANA version of SAP you can also view further information about HIMA 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