ROIGSM SAP (Internal Structure for material in Shipment) Structure details

Dictionary Type: Structure
Description: Internal Structure for material in Shipment




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




Structure field list including key, data, relationships and ABAP select examples

ROIGSM 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 "Internal Structure for material in Shipment" 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_ROIGSM TYPE ROIGSM.

The ROIGSM table consists of various fields, each holding specific information or linking keys about Internal Structure for material in Shipment data available in SAP. These include MANDT (Client), SHNUMBER (TD shipment number), MAT_ITM (TD material item sequence number), MATNR (Material loaded).. 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: Can be enhanced (character-type or numeric)


SAP ROIGSM 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
MANDTClient MANDTCLNT3T000MANDT
SHNUMBERTD shipment number OIG_SHNUMCHAR10OIGSALPHAOIG_SHNUMOIS
MAT_ITMTD material item sequence number OIG_MATITMNUMC3BUZEI
MATNRMaterial loaded OIG_MATNRCHAR18MARAMATN1MATNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCHBCHARGCHA
BWTARValuation Type BWTAR_DCHAR10T149DBWTARBWT
TRANSFTD transfer stock indicator OIG_TRANSFCHAR1XFELD
LABSTValuated Unrestricted-Use Stock LABSTQUAN13(3) MENG13V
GLQTYGain/loss quantity on a vehicle OIG_GLQTYFLTP16(16) OIB_ADQNT
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
QTY_ITMTD quantity item number of a shipment/transport OIG_QTYITMNUMC5OIG_POSN5
HPM_ITMSequence number for HPM segments OIG_HPMITMNUMC5OIG_POSN5
CRE_NAMEName of Person who Created the Object ERNAMCHAR12USNAM
CRE_DATEDate on Which Record Was Created ERDATDATS8DATUM
CRE_TIMETime, at Which Record Was Added ERZEITTIMS6UHRZT
CHA_NAMEName of Person Who Changed Object AENAMCHAR12USNAM
CHA_DATEChanged On AEDATDATS8DATUM
CHA_TIMETime of Change AEZEITTIMS6UHRZT
XLONGNegative stocks allowed in storage location XLONGCHAR1XFELD
XMCNGNegative stocks allowed in plant XMCNGCHAR1XFELD
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
BOMMTBOM text CSTEXTCHAR40TEXT40
ITSTDEDescription OIG_DESC40CHAR40TEXT40
BTCHDESBatch description OIG_BTCDESCHAR20TEXT20
OIHANTYPExcise Duty Handling Type OIH_HANTYPCHAR2OIH5OIH_HANTYP
HANTYPLTTD:handling type, bulk shipment load (taxed) OIG_HTLTCHAR2OIH5OIH_HANTYP
HANTYPLUTD: handling type, bulk shipment load (untaxed) OIG_HTLUCHAR2OIH5OIH_HANTYP
HANTYPGNTD handling type bulk shipment gain OIG_HTGNCHAR2OIH5OIH_HANTYP
HANTYPLSTD handling type bulk shipment loss OIG_HTLSCHAR2OIH5OIH_HANTYP
HANTYPRTTD handling type, bulk shipment return (taxed) OIG_HTRTCHAR2OIH5OIH_HANTYP
HANTYPRUTD handling type: bulk shipment return (untaxed) OIG_HTRUCHAR2OIH5OIH_HANTYP
N_SLCTD Fixed in-transit store locations per shipment OIG_N_SLCCHAR1OIG_N_SLC
INSLCIntransit storage location OIG_INSLCCHAR4Assigned to domainLGORT
N_BWTARTD Multiple valuation types on shipment OIG_NBWTARCHAR1CHAR1_X
BWTAR1Valuation Type BWTAR_DCHAR10T149DBWTARBWT
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
XCHPFBatch management requirement indicator XCHPFCHAR1XFELD
XCHARBatch management indicator (internal) XCHARCHAR1XFELD
BWTTYValuation Category BWTTY_DCHAR1T149CBWTTY
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
OIGROUPNAMTD product group OIG_PCGCHAR8TOIGAPALPHAOIG_PCGOI7
OITAXGRPExcise Duty Group OIH_TAXGRPCHAR2OIH2OIH_TAXGRP
CMETHQuantity Conversion Method OIB_CMETHCHAR1OIB_CMETH
UOMGRUnit of Mearsure Group (Oil, Natural Gas,...) OIB_UOMGRCHAR3OIB06OIB_UOMGR
UMRSLConversion Group (Oil, Natural Gas,..) OIB_UMRSLCHAR4OIB01OIB_UMRSL
UNALL_QTYUnallocated quantity at material level OIG_UALQTYFLTP16(16) OIB_ADQNT
LUNALL_QTYUnallocated quantity at material level OIG_UALQTYFLTP16(16) OIB_ADQNT
BAL_FLAGSelection/check field for screens OIG_CHECKCHAR1OIG_CHECK
UPDATEFLAGTransaction type TRTYPCHAR1TRTYP

Key field Non-key field



How do I retrieve data from SAP structure ROIGSM using ABAP code?

As ROIGSM 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 ROIGSM as there is no data to select.

How to access SAP table ROIGSM

Within an ECC or HANA version of SAP you can also view further information about ROIGSM 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!