PSMATRUE SAP (Sub-quantity of IMSEG for material withdrawals (PS module)) Structure details
Description: Sub-quantity of IMSEG for material withdrawals (PS module)
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 |
MATERIALNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CHARGE | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BEWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
INSMK | Stock Type | MB_INSMK | CHAR | 1 | MB_INSMK | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
KONTOLIEFA | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
KONTOKUNDE | Account Number of Customer | EKUNN | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
KUNDEAUFTR | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KUNDEPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
SOLLHABEN | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
DMBTR | Field of length 16 | CHAR16 | CHAR | 16 | CHAR16 | ||||
BEWERTART | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
ERFMG | Character field length 26 | CHAR26 | CHAR | 26 | CHAR26 | ||||
ERFME | Unit of Entry | ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ENDLIEFER | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
POSITEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
WEMPF | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
AUFTRAGNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
RSART | Record type | RSART | CHAR | 1 | RSART | ||||
KZEAR | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
VFDAT | Shelf Life Expiration or Best-Before Date | VFDAT | DATS | 8 | DATUM | ||||
BDTER | Requirement Date for the Component | BDTER | DATS | 8 | DATUM | ||||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
KZEAR_OLD | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
MHDAT | SLED/Best-Before Date or Date of Production | TMHHD | DATS | 8 | DATUM | ||||
KZBEW | Movement Indicator | KZBEW | CHAR | 1 | KZBEW | ||||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | Assigned to domain | LGTYP | LGT | H_T301 | |
LGPLA | Storage Bin | LGPLA | CHAR | 10 | Assigned to domain | LGPLA | LGP | LAG1 | |
GRUND | Reason for manual valuation of net assets | GRUND | CHAR | 3 | Assigned to domain | GRUND | |||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
POSID | WBS Element | PS_POSNR | NUMC | 8 | Assigned to domain | ABPSP | PS_POSNR | ||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
AUFPS | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
RSHKZ | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
BDMNG | Character field length 26 | CHAR26 | CHAR | 26 | CHAR26 | ||||
ENMNG | Character field length 26 | CHAR26 | CHAR | 26 | CHAR26 | ||||
QPLOS | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
POSNR | Delivery Item | POSNR_VL | NUMC | 6 | Assigned to domain | POSNR |
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 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