/SAPDMC/LSRATT SAP (Central Rules: Definition and Attributes) Table details

Dictionary Type: Table
Description: Central Rules: Definition and Attributes




ABAP Code to SELECT data from /SAPDMC/LSRATT
Related tables to /SAPDMC/LSRATT
Access table /SAPDMC/LSRATT




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

/SAPDMC/LSRATT is a standard SAP Table which is used to store Central Rules: Definition and Attributes data and is available within R/3 SAP systems depending on the version and release level.

The /SAPDMC/LSRATT table consists of various fields, each holding specific information or linking keys about Central Rules: Definition and Attributes data available in SAP. These include RULETYPE (Rule Category), RULENAME (Rule Name), VARIANT1 (First Variant), VARIANT2 (Second Variant).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced

Text table = /SAPDMC/LSRTXT


SAP /SAPDMC/LSRATT table 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
PROJECTProject /SAPDMC/LS_PROJECTCHAR15/SAPDMC/LS_KEY
RULETYPERule Category /SAPDMC/LS_RULETYPECHAR2Assigned to domain/SAPDMC/LS_RULETYPE
RULENAMERule Name /SAPDMC/LS_RULENAMECHAR30/SAPDMC/LS_RULENAME
VARIANT1First Variant /SAPDMC/LS_VARIANT1CHAR2Assigned to domain/SAPDMC/LS_RULETYPE
VARIANT2Second Variant /SAPDMC/LS_VARIANT2CHAR2Assigned to domain/SAPDMC/LS_RULETYPE
VARIANT3Third Variant /SAPDMC/LS_VARIANT3CHAR2Assigned to domain/SAPDMC/LS_RULETYPE
TRGLENLength of Target Field /SAPDMC/LS_TRGLENNUMC3/SAPDMC/LS_FLDLEN
TRGTYPETarget Field Type /SAPDMC/LS_TRGTYPECHAR4DTYPEDATATYPE
TRGLOWERCASEFlag: Uppercase and Lowercase Letters in Target Field /SAPDMC/LS_TRGLOWERCASECHAR1XFELD
SRCLENLength of Source Field /SAPDMC/LS_SRCLENNUMC3/SAPDMC/LS_FLDLEN
SRCTYPESource Field Type /SAPDMC/LS_SRCTYPECHAR4/SAPDMC/LS_FLDTYPE
SRCLOWERCASEFlag: Uppercase and Lowercase Letters in Source Field /SAPDMC/LS_SRCLOWERCASECHAR1XFELD
CONSTANTConstant /SAPDMC/LS_CONSTANTCHAR30/SAPDMC/LS_VALUE
ROUTINEUser-Defined Routine /SAPDMC/LS_ROUTINECHAR30/SAPDMC/LS_RULENAME
XCOLLECTVALUESFlag: Collect Translation Values /SAPDMC/LS_XCOLLECTVALUESCHAR1XFELD
FIXEDVALUEValue of Fixed Value /SAPDMC/LS_FIXEDVALUECHAR30/SAPDMC/LS_VALUE
INPARSNumber of Entry Parameters /SAPDMC/LS_INPARSNUMC2NUM2
OUTPARSNumber Output Parameters /SAPDMC/LS_OUTPARSNUMC2NUM2
UNAMEUser Name UNAMECHAR12UNAME
DATUMDate DATUMDATS8DATUM

Key field Non-key field



How do I retrieve data from SAP table /SAPDMC/LSRATT using ABAP code

The following ABAP code Example will allow you to do a basic selection on /SAPDMC/LSRATT to SELECT all data from the table
DATA: WA_/SAPDMC/LSRATT TYPE /SAPDMC/LSRATT.

SELECT SINGLE *
FROM /SAPDMC/LSRATT
INTO CORRESPONDING FIELDS OF WA_/SAPDMC/LSRATT
WHERE...

How to access SAP table /SAPDMC/LSRATT

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