HIMA SAP (PM order history - materials) Table details

Dictionary Type: Table
Description: PM order history - materials




ABAP Code to SELECT data from HIMA
Related tables to HIMA
Access table HIMA




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
MANDTClient MANDTCLNT3T000MANDT
AUFNROrder number historical AUFNR_HCHAR12HIKOALPHAAUFNR_HANR
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
POSNRBOM item number APOSNCHAR4NUMCVSPOSN
POSTPItem Category (Bill of Material) POSTPCHAR1T418POSTP
POTX1BOM Item Text (Line 1) POTX1CHAR40TEXT40
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
BDMNGRequirement Quantity BDMNGQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
ENMNGQuantity Withdrawn ENMNGQUAN13(3) MENG13
ENWRTValue Withdrawn ENWRTCURR13(2) VWERT13
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
EKGRPPurchasing Group EKGRPCHAR3T024EKGRPEKG
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
LIFZTDelivery time in days LIFZTDEC3DEC3
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
GPREISTotal Price in Local Currency PPGXXXCURR15(2) WERTV8
PEINHPrice Unit PEINHDEC5PACK3
SAKNRG/L Account Number SAKNRCHAR10SKA1ALPHASAKNRSAKC_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 table
DATA: 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 as

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!