SAP CL_SALV_COLUMN OO Class - Individual Column Object









CL_SALV_COLUMN is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_SALV_COLUMN including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_SALV_COLUMN is CL_SALV_METADATA_BASE

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_SALV_C_ALIGNMENT

Method list of CL_SALV_COLUMN SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
CONSTRUCTORConstructorPublic
CALL METHOD cl_salv_column=>CONSTRUCTOR...more details

FILL_ATTRIBUTES_BY_DFIESGet Column Attributes by DFIES fieldsProtected
CALL METHOD cl_salv_column=>FILL_ATTRIBUTES_BY_DFIES...more details

GET_ALIGNMENTGet Alignment of ColumnPublic
CALL METHOD cl_salv_column=>GET_ALIGNMENT...more details

GET_COLUMNNAMEGet Column NamePublic
CALL METHOD cl_salv_column=>GET_COLUMNNAME...more details

GET_CURRENCYGet CurrencyPublic
CALL METHOD cl_salv_column=>GET_CURRENCY...more details

GET_CURRENCY_COLUMNGet Currency ColumnPublic
CALL METHOD cl_salv_column=>GET_CURRENCY_COLUMN...more details

GET_DDIC_DATATYPEGet DDIC Data TypePublic
CALL METHOD cl_salv_column=>GET_DDIC_DATATYPE...more details

GET_DDIC_DECIMALSGet DDIC Decimal PlacesPublic
CALL METHOD cl_salv_column=>GET_DDIC_DECIMALS...more details

GET_DDIC_DOMAINGet DDIC DomainPublic
CALL METHOD cl_salv_column=>GET_DDIC_DOMAIN...more details

GET_DDIC_INTLENGet DDIC Internal Length (BYTE)Public
CALL METHOD cl_salv_column=>GET_DDIC_INTLEN...more details

GET_DDIC_INTTYPEGet DDIC Internal TypePublic
CALL METHOD cl_salv_column=>GET_DDIC_INTTYPE...more details

GET_DDIC_OUTPUTLENGet DDIC Output Length (CHAR)Public
CALL METHOD cl_salv_column=>GET_DDIC_OUTPUTLEN...more details

GET_DDIC_REFERENCEGet DDIC ReferencePublic
CALL METHOD cl_salv_column=>GET_DDIC_REFERENCE...more details

GET_DDIC_ROLLNAMEGet DDIC Data ElementPublic
CALL METHOD cl_salv_column=>GET_DDIC_ROLLNAME...more details

GET_DECFLOAT_STYLEGet Style for Columns of Type DECFLOATPublic
CALL METHOD cl_salv_column=>GET_DECFLOAT_STYLE...more details

GET_DECIMALSGet Number of Decimal Places for OutputPublic
CALL METHOD cl_salv_column=>GET_DECIMALS...more details

GET_DECIMALS_COLUMNGett Decimal ColumnPublic
CALL METHOD cl_salv_column=>GET_DECIMALS_COLUMN...more details

GET_EDIT_MASKGet Conversion ExitPublic
CALL METHOD cl_salv_column=>GET_EDIT_MASK...more details

GET_F1_ROLLNAMEGet F1 Data ElementPublic
CALL METHOD cl_salv_column=>GET_F1_ROLLNAME...more details

GET_LONG_TEXTGet Long Column TitlePublic
CALL METHOD cl_salv_column=>GET_LONG_TEXT...more details

GET_MEDIUM_TEXTGet Medium Column TitlePublic
CALL METHOD cl_salv_column=>GET_MEDIUM_TEXT...more details

GET_OUTPUT_LENGTHGet Output Length (CHAR)Public
CALL METHOD cl_salv_column=>GET_OUTPUT_LENGTH...more details

GET_QUANTITYGet Quantity UnitPublic
CALL METHOD cl_salv_column=>GET_QUANTITY...more details

GET_QUANTITY_COLUMNGet Quantity ColumnPublic
CALL METHOD cl_salv_column=>GET_QUANTITY_COLUMN...more details

GET_ROUNDGet RoundingPublic
CALL METHOD cl_salv_column=>GET_ROUND...more details

GET_ROUND_COLUMNGet Rounding ColumnPublic
CALL METHOD cl_salv_column=>GET_ROUND_COLUMN...more details

GET_ROWGet Line (in List Mode for Multi-Line Display)Public
CALL METHOD cl_salv_column=>GET_ROW...more details

GET_SHORT_TEXTGet Short Column TitlePublic
CALL METHOD cl_salv_column=>GET_SHORT_TEXT...more details

GET_TOOLTIPGet TooltipPublic
CALL METHOD cl_salv_column=>GET_TOOLTIP...more details

HAS_LEADING_SPACESCheck whether leading spaces are displayedPublic
CALL METHOD cl_salv_column=>HAS_LEADING_SPACES...more details

HAS_LEADING_ZEROCheck Whether Leading Zeroes Displayed in OutputPublic
CALL METHOD cl_salv_column=>HAS_LEADING_ZERO...more details

HAS_SIGNCheck Whether Sign Displayed in OutputPublic
CALL METHOD cl_salv_column=>HAS_SIGN...more details

IS_LOWERCASECheck Whether Lowercase Letters ConvertedPublic
CALL METHOD cl_salv_column=>IS_LOWERCASE...more details

IS_OPTIMIZEDCheck Whether Column OptimizedPublic
CALL METHOD cl_salv_column=>IS_OPTIMIZED...more details

IS_TECHNICALCheck Whether Column TechnicalPublic
CALL METHOD cl_salv_column=>IS_TECHNICAL...more details

IS_VISIBLECheck Whether Column VisiblePublic
CALL METHOD cl_salv_column=>IS_VISIBLE...more details

IS_ZEROCheck Whether Empty Cells DisplayedPublic
CALL METHOD cl_salv_column=>IS_ZERO...more details

RAISE_COLUMN_NOT_IN_DATA_TABLEPrivate
CALL METHOD cl_salv_column=>RAISE_COLUMN_NOT_IN_DATA_TABLE...more details

RAISE_METHOD_ONLY_VALID_FORPrivate
CALL METHOD cl_salv_column=>RAISE_METHOD_ONLY_VALID_FOR...more details

SET_ALIGNMENTSet Alignment of ColumnPublic
CALL METHOD cl_salv_column=>SET_ALIGNMENT...more details

SET_CURRENCYSet Currency for Whole ColumnPublic
CALL METHOD cl_salv_column=>SET_CURRENCY...more details

SET_CURRENCY_COLUMNSet Currency ColumnPublic
CALL METHOD cl_salv_column=>SET_CURRENCY_COLUMN...more details

SET_DDIC_REFERENCESet DDIC ReferencePublic
CALL METHOD cl_salv_column=>SET_DDIC_REFERENCE...more details

SET_DECFLOAT_STYLESet Style for Columns of Type DECFLOATPublic
CALL METHOD cl_salv_column=>SET_DECFLOAT_STYLE...more details

SET_DECIMALSSet Number of Decimal Places for Whole ColumnPublic
CALL METHOD cl_salv_column=>SET_DECIMALS...more details

SET_DECIMALS_COLUMNSet Decimal Column for Number of Decimal PlacesPublic
CALL METHOD cl_salv_column=>SET_DECIMALS_COLUMN...more details

SET_EDIT_MASKSet Conversion RoutinePublic
CALL METHOD cl_salv_column=>SET_EDIT_MASK...more details

SET_F1_ROLLNAMESet F1 Data ElementPublic
CALL METHOD cl_salv_column=>SET_F1_ROLLNAME...more details

SET_FIXED_HEADER_TEXTDefine DDIC Text ReferencePublic
CALL METHOD cl_salv_column=>SET_FIXED_HEADER_TEXT...more details

SET_LEADING_SPACESDisplay leading spaces in the outputPublic
CALL METHOD cl_salv_column=>SET_LEADING_SPACES...more details

SET_LEADING_ZEROSet Leading Zeroes for OutputPublic
CALL METHOD cl_salv_column=>SET_LEADING_ZERO...more details

SET_LONG_TEXTSet Long Column TitlePublic
CALL METHOD cl_salv_column=>SET_LONG_TEXT...more details

SET_LOWERCASESpecify Whether Lowercase Letters ConvertedPublic
CALL METHOD cl_salv_column=>SET_LOWERCASE...more details

SET_MEDIUM_TEXTSet Medium Column TitlePublic
CALL METHOD cl_salv_column=>SET_MEDIUM_TEXT...more details

SET_OPTIMIZEDOptimize ColumnPublic
CALL METHOD cl_salv_column=>SET_OPTIMIZED...more details

SET_OUTPUT_LENGTHSet Output Length (CHAR)Public
CALL METHOD cl_salv_column=>SET_OUTPUT_LENGTH...more details

SET_QUANTITYSet Unit of Measurement for Whole ColumnPublic
CALL METHOD cl_salv_column=>SET_QUANTITY...more details

SET_QUANTITY_COLUMNSet Column for Units of MeasurementPublic
CALL METHOD cl_salv_column=>SET_QUANTITY_COLUMN...more details

SET_ROUNDSet Rounding for Whole ColumnPublic
CALL METHOD cl_salv_column=>SET_ROUND...more details

SET_ROUND_COLUMNSet Rounding ColumnPublic
CALL METHOD cl_salv_column=>SET_ROUND_COLUMN...more details

SET_ROWSet Row for Multirow DisplayPublic
CALL METHOD cl_salv_column=>SET_ROW...more details

SET_SHORT_TEXTSet Short Column TitlePublic
CALL METHOD cl_salv_column=>SET_SHORT_TEXT...more details

SET_SIGNSpecify Whether Sign Displayed in OutputPublic
CALL METHOD cl_salv_column=>SET_SIGN...more details

SET_TECHNICALSet Column as Technical ColumnPublic
CALL METHOD cl_salv_column=>SET_TECHNICAL...more details

SET_TOOLTIPSet Tooltip for Column TitlePublic
CALL METHOD cl_salv_column=>SET_TOOLTIP...more details

SET_VISIBLESet Column to VisiblePublic
CALL METHOD cl_salv_column=>SET_VISIBLE...more details

SET_ZEROSpecify Empty Cell DisplayPublic
CALL METHOD cl_salv_column=>SET_ZERO...more details



CL_SALV_COLUMN attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
ALIGNMENTInstance AttributeAlignmentLIKE
SALV_DE_ALIGNMENT
Protected
CENTEREDInstance AttributeLIKE
Private
COLDDICTXTInstance AttributeDefine DDIC Text ReferenceLIKE
LVC_DDICT
Protected
COLUMNNAMEInstance AttributeColumn NameLIKE
LVC_FNAME
Protected
CURRENCYInstance AttributeCurrency unitLIKE
LVC_CURR
Protected
CURRENCY_COLUMNInstance AttributeColumn Name for Currency Unit ReferencedLIKE
LVC_CFNAME
Protected
DDIC_DATATYPEInstance AttributeData Type in ABAP DictionaryLIKE
DATATYPE_D
Protected
DDIC_DECIMALSInstance AttributeNumber of Decimal PlacesLIKE
DECIMALS
Protected
DDIC_DOMAINInstance AttributeDomain NameLIKE
DOMNAME
Protected
DDIC_F4_AVAILABLEInstance AttributeF4 help availableLIKE
SAP_BOOL
Protected
DDIC_F4_SEARCH_HELPInstance AttributeA search help is connected to the fieldLIKE
SAP_BOOL
Protected
DDIC_F4_VALUE_RANGEInstance AttributeFixed Values ExistLIKE
SAP_BOOL
Protected
DDIC_INTLENInstance AttributeInternal Length in BytesLIKE
INTLEN
Protected
DDIC_INTTYPEInstance AttributeABAP data type (C,D,N,...)LIKE
INTTYPE
Protected
DDIC_LENGInstance AttributeLength (No. of Characters)LIKE
DDLENG
Protected
DDIC_OUTPUTLENInstance AttributeOutput Length in CharactersLIKE
OUTPUTLEN
Protected
DDIC_REFERENCEInstance AttributeReference to ABAP Dictionary FieldLIKE
SALV_S_DDIC_REFERENCE
Protected
DDIC_ROLLNAMEInstance AttributeData Element (Semantic Domain)LIKE
ROLLNAME
Protected
DECFLOAT_STYLEInstance AttributeStyle for Columns with Type DECFLOATLIKE
OUTPUTSTYLE
Protected
DECIMALSInstance AttributeNumber of Decimal Places for OutputLIKE
LVC_DECMLS
Protected
DECIMALS_COLUMNInstance AttributeColumn Name with DECIMALS SpecificationLIKE
LVC_DFNAME
Protected
EDIT_MASKInstance AttributeEditMask for OutputLIKE
LVC_EDTMSK
Protected
F1_ROLLNAMEInstance AttributeData Element for F1 HelpLIKE
LVC_ROLL
Protected
LEADING_SPACESInstance AttributeInclude leading spacesLIKE
SAP_BOOL
Protected
LEADING_ZEROInstance AttributeOutput leading zerosLIKE
SAP_BOOL
Protected
LEFTInstance AttributeLIKE
Private
LONG_TEXTInstance AttributeLong Field LabelLIKE
SCRTEXT_L
Protected
LOWERCASEInstance AttributeLowercase Letters AllowedLIKE
SAP_BOOL
Protected
MEDIUM_TEXTInstance AttributeMedium Field LabelLIKE
SCRTEXT_M
Protected
OPTIMIZEDInstance AttributeColumn optimizedFALSELIKE
SAP_BOOL
Protected
OUTPUT_LENGTHInstance AttributeColumn Width in CharactersLIKE
LVC_OUTLEN
Protected
QUANTITYInstance AttributeUnit of MeasurementLIKE
LVC_QUAN
Protected
QUANTITY_COLUMNInstance AttributeColumn Name for Unit of Measure ReferencedLIKE
LVC_QFNAME
Protected
RIGHTInstance AttributeLIKE
Private
ROUNDInstance AttributeROUND ValueLIKE
LVC_ROUND
Protected
ROUND_COLUMNInstance AttributeColumn Name with ROUND SpecificationLIKE
LVC_RNDFN
Protected
ROWInstance AttributeOutput Line in List Mode for Multi-Line OutputLIKE
LVC_ROWPOS
Protected
R_COLUMNSInstance AttributeALV ColumnsLIKE
CL_SALV_COLUMNS
Protected
R_TABLE_STRUCTUREInstance AttributeLIKE
Private
SHORT_TEXTInstance AttributeShort Field LabelLIKE
SCRTEXT_S
Protected
SIGNInstance AttributeSignTRUELIKE
SAP_BOOL
Protected
SPECIFIC_GROUPInstance AttributeGroup keyLIKE
CL_SALV_SPECIFIC_GROUPS=>Y_ID
Protected
TECHNICALInstance AttributeTechnical ColumnFALSELIKE
SAP_BOOL
Protected
TOOLTIPInstance AttributeALV control: Tooltip for column headerLIKE
LVC_TIP
Protected
VISIBLEInstance AttributeColumn VisibilityTRUELIKE
SAP_BOOL
Protected
ZEROInstance AttributeOutput ZeroesTRUELIKE
SAP_BOOL
Protected


Links to Related Class(s)

CL_SALV_...
Full list of available SAP object classes

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!