LWM_S_RS_LINE_ITEM SAP (Line item for real spend) Structure details

Dictionary Type: Structure
Description: Line item for real spend




ABAP Code to SELECT data from LWM_S_RS_LINE_ITEM
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
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
BELNRDocument Number CO_BELNRCHAR10Assigned to domainALPHACO_BELNRBLN
BUZEIPosting row CO_BUZEINUMC3BUZEI
COST_ELEMENTCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
CE_NAMEGeneral Name KTEXTCHAR20TEXT20
COST_CENTERCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
CC_NAMEGeneral Name KTEXTCHAR20TEXT20
INTERNAL_ORDEROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
IO_NAMEGeneral Name KTEXTCHAR20TEXT20
STATUSLine item status LWM_RS_LINE_ITEM_STATUSCHAR1LWM_RS_LINE_ITEM_STATUS
SGTXTSegment text CO_SGTXTCHAR50TEXT50
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
AMOUNTTotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
BLDATDocument Date CO_BLDATDATS8DATUM
BUDATPosting Date CO_BUDATDATS8DATUM
CPUDTDate Document Was Created CO_CPUDTDATS8DATUM
TYPE_TEXTText (20 Characters) TEXT20CHAR20TEXT20
ATTACH_NUM2 byte integer (signed) INT2INT25INT2
BLDAT_STRDate in YYYYMMDD format LWM_RS_DATE_TEXTCHAR8TEXT8
BUDAT_STRDate in YYYYMMDD format LWM_RS_DATE_TEXTCHAR8TEXT8
CPUDT_STRDate in YYYYMMDD format LWM_RS_DATE_TEXTCHAR8TEXT8

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 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!