LWM_S_RS_LINE_ITEM SAP (Line item for real spend) Structure details
Description: Line item for real spend
Related tables to LWM_S_RS_LINE_ITEM
Access table LWM_S_RS_LINE_ITEM
Structure field list including key, data, relationships and ABAP select examples
LWM_S_RS_LINE_ITEM 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 "Line item for real spend" 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_LWM_S_RS_LINE_ITEM TYPE LWM_S_RS_LINE_ITEM.
The LWM_S_RS_LINE_ITEM table consists of various fields, each holding specific information or linking keys about Line item for real spend data available in SAP. These include BELNR (Document Number), BUZEI (Posting row), COST_ELEMENT (Cost Element), CE_NAME (General Name).. 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: Cannot Be Enhanced
SAP LWM_S_RS_LINE_ITEM 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 |
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
BELNR | Document Number | CO_BELNR | CHAR | 10 | Assigned to domain | ALPHA | CO_BELNR | BLN | |
BUZEI | Posting row | CO_BUZEI | NUMC | 3 | BUZEI | ||||
COST_ELEMENT | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
CE_NAME | General Name | KTEXT | CHAR | 20 | TEXT20 | ||||
COST_CENTER | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
CC_NAME | General Name | KTEXT | CHAR | 20 | TEXT20 | ||||
INTERNAL_ORDER | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
IO_NAME | General Name | KTEXT | CHAR | 20 | TEXT20 | ||||
STATUS | Line item status | LWM_RS_LINE_ITEM_STATUS | CHAR | 1 | LWM_RS_LINE_ITEM_STATUS | ||||
SGTXT | Segment text | CO_SGTXT | CHAR | 50 | TEXT50 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
AMOUNT | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
BLDAT | Document Date | CO_BLDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date | CO_BUDAT | DATS | 8 | DATUM | ||||
CPUDT | Date Document Was Created | CO_CPUDT | DATS | 8 | DATUM | ||||
TYPE_TEXT | Text (20 Characters) | TEXT20 | CHAR | 20 | TEXT20 | ||||
ATTACH_NUM | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
BLDAT_STR | Date in YYYYMMDD format | LWM_RS_DATE_TEXT | CHAR | 8 | TEXT8 | ||||
BUDAT_STR | Date in YYYYMMDD format | LWM_RS_DATE_TEXT | CHAR | 8 | TEXT8 | ||||
CPUDT_STR | Date in YYYYMMDD format | LWM_RS_DATE_TEXT | CHAR | 8 | TEXT8 |
Key field | Non-key field |
How do I retrieve data from SAP structure LWM_S_RS_LINE_ITEM using ABAP code?
As LWM_S_RS_LINE_ITEM 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 LWM_S_RS_LINE_ITEM as there is no data to select.How to access SAP table LWM_S_RS_LINE_ITEM
Within an ECC or HANA version of SAP you can also view further information about LWM_S_RS_LINE_ITEM 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