PSMATRUE SAP (Sub-quantity of IMSEG for material withdrawals (PS module)) Structure details

Dictionary Type: Structure
Description: Sub-quantity of IMSEG for material withdrawals (PS module)




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




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

PSMATRUE 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 "Sub-quantity of IMSEG for material withdrawals (PS module)" 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_PSMATRUE TYPE PSMATRUE.

The PSMATRUE table consists of various fields, each holding specific information or linking keys about Sub-quantity of IMSEG for material withdrawals (PS module) data available in SAP. These include WERKS (Plant), LGORT (Storage Location), CHARGE (Batch Number), BEWART (Movement Type (Inventory Management)).. 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)


SAP PSMATRUE 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
MATERIALNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARGEBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BEWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
INSMKStock Type MB_INSMKCHAR1MB_INSMK
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KONTOLIEFAVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KONTOKUNDEAccount Number of Customer EKUNNCHAR10Assigned to domainALPHAKUNNRKUN
KUNDEAUFTRSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KUNDEPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
SOLLHABENDebit/Credit Indicator SHKZGCHAR1SHKZG
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
DMBTRField of length 16 CHAR16CHAR16CHAR16
BEWERTARTValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
ERFMGCharacter field length 26 CHAR26CHAR26CHAR26
ERFMEUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
ENDLIEFER'Delivery Completed' Indicator ELIKZCHAR1XFELD
POSITEXTItem Text SGTXTCHAR50TEXT50
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFTRAGNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
RSARTRecord type RSARTCHAR1RSART
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
BDTERRequirement Date for the Component BDTERDATS8DATUM
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
KZEAR_OLDFinal Issue for This Reservation KZEARCHAR1XFELD
MHDATSLED/Best-Before Date or Date of Production TMHHDDATS8DATUM
KZBEWMovement Indicator KZBEWCHAR1KZBEW
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
GRUNDReason for manual valuation of net assets GRUNDCHAR3Assigned to domainGRUND
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
POSIDWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
AUFPSOrder Item Number CO_POSNRNUMC4CO_POSNR
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
RSHKZDebit/Credit Indicator SHKZGCHAR1SHKZG
BDMNGCharacter field length 26 CHAR26CHAR26CHAR26
ENMNGCharacter field length 26 CHAR26CHAR26CHAR26
QPLOSInspection Lot Number QPLOSNUMC12Assigned to domainQPLOSQLSQALS
POSNRDelivery Item POSNR_VLNUMC6Assigned to domainPOSNR

Key field Non-key field



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

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

How to access SAP table PSMATRUE

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