SEKWS SAP (Lock Table for Purchasing Document Values) Structure details
Description: Lock Table for Purchasing Document Values
Structure field list including key, data, relationships and ABAP select examples
SEKWS 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 "Lock Table for Purchasing Document Values" 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_SEKWS TYPE SEKWS.
The SEKWS table consists of various fields, each holding specific information or linking keys about Lock Table for Purchasing Document Values data available in SAP. These include EBELP (Item Number of Purchasing Document), LFBJA (Fiscal Year of a Reference Document), LFBNR (Document No. of a Reference Document), LFPOS (Item of a Reference Document).. 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 SEKWS 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 |
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | EKKO | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | EKPO | EBELP | BSP | ||
LFBJA | Fiscal Year of a Reference Document | LFBJA | NUMC | 4 | GJAHR | GJAHR | |||
LFBNR | Document No. of a Reference Document | LFBNR | CHAR | 10 | ALPHA | BELNR | |||
LFPOS | Item of a Reference Document | LFPOS | NUMC | 4 | MBLPO | ||||
CURTP | Currency Type and Valuation View | CURTP | CHAR | 2 | CURTP | ||||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
KZZUG | Receipt Indicator | KZZUG | CHAR | 1 | KZZUG | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
WWMNG | Valuated goods receipt quantity | WWMNG | QUAN | 13(3) | MENG13 | ||||
BPWWM | Valuated goods receipt quantity in order unit | BPWWM | QUAN | 13(3) | MENG13 | ||||
WEWRT | Value of goods received in local currency | WEWRT | CURR | 13(2) | WERT7 | ||||
REMNG | Quantity invoiced | REMNG | QUAN | 13(3) | MENG13 | ||||
BPREM | Invoice receipt quantity in order price unit | BPREM | QUAN | 13(3) | MENG13 | ||||
REWRT | Invoice value in local currency | REWRT | CURR | 13(2) | WRTV7 | ||||
AREWR | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
NETWR | Net order value in document currency | BSTWR | CURR | 13(2) | WERT7 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KDIFF_TP | Do not calculate exchange rate differences | KDIFF_TP | CHAR | 1 | XFELD | ||||
REMNG_ABD | Invoice Receipt Quantity for Amount-Based Distribution | REMNG_ABD | FLTP | 16(16) | FLTP | ||||
WWMNG_ABD | Valuated Goods Receipt Quantity Distribution by Amount | WWMNG_ABD | FLTP | 16(16) | FLTP | ||||
BPREM_ABD | IR Qty in Order Price Unit for Amount-Based Distribution | BPREM_ABD | FLTP | 16(16) | FLTP | ||||
BPWWM_ABD | Valuated GR Quantity in Order Unit Distribution by Amount | BPWWM_ABD | FLTP | 16(16) | FLTP |
Key field | Non-key field |
How do I retrieve data from SAP structure SEKWS using ABAP code?
As SEKWS 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 SEKWS as there is no data to select.How to access SAP table SEKWS
Within an ECC or HANA version of SAP you can also view further information about SEKWS 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