SAP I_OI_SPREADSHEET OO Class - Spreadsheet Interface









I_OI_SPREADSHEET 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 I_OI_SPREADSHEET including details of:

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



Method list of I_OI_SPREADSHEET 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
ADD_SHEETInserts a WorksheetPublic
CALL METHOD i_oi_spreadsheet=>ADD_SHEET...more details

ADD_STYLEAdd StylesPublic
CALL METHOD i_oi_spreadsheet=>ADD_STYLE...more details

CELL_FORMATSets Individual Cell AttributesPublic
CALL METHOD i_oi_spreadsheet=>CELL_FORMAT...more details

CHANGE_RANGEChange Size or Name of an AreaPublic
CALL METHOD i_oi_spreadsheet=>CHANGE_RANGE...more details

CHANGE_STYLEChange StylesPublic
CALL METHOD i_oi_spreadsheet=>CHANGE_STYLE...more details

CLEAR_ALL_RANGESDeletes the Contents and Formatting of the RangesPublic
CALL METHOD i_oi_spreadsheet=>CLEAR_ALL_RANGES...more details

CLEAR_CONTENT_RANGEDelete Content of a RangePublic
CALL METHOD i_oi_spreadsheet=>CLEAR_CONTENT_RANGE...more details

CLEAR_HIERARCHYDelete HierarchyPublic
CALL METHOD i_oi_spreadsheet=>CLEAR_HIERARCHY...more details

CLEAR_RANGEDelete Content and Formatting of a RangePublic
CALL METHOD i_oi_spreadsheet=>CLEAR_RANGE...more details

DELETE_CONTENT_RANGESDeletes RangesPublic
CALL METHOD i_oi_spreadsheet=>DELETE_CONTENT_RANGES...more details

DELETE_RANGESDeletes Entire RangesPublic
CALL METHOD i_oi_spreadsheet=>DELETE_RANGES...more details

DELETE_SHEETDeletes a WorksheetPublic
CALL METHOD i_oi_spreadsheet=>DELETE_SHEET...more details

FIT_WIDESTAdapt to Widest ColumnPublic
CALL METHOD i_oi_spreadsheet=>FIT_WIDEST...more details

GET_ACTIVE_SHEETGet Active WorsheetPublic
CALL METHOD i_oi_spreadsheet=>GET_ACTIVE_SHEET...more details

GET_CELL_FORMATGet Format of a LinePublic
CALL METHOD i_oi_spreadsheet=>GET_CELL_FORMAT...more details

GET_CELL_FORMATS_TABLEGets Information about CellsPublic
CALL METHOD i_oi_spreadsheet=>GET_CELL_FORMATS_TABLE...more details

GET_DIMENSIONGet Dimensions of a RangePublic
CALL METHOD i_oi_spreadsheet=>GET_DIMENSION...more details

GET_DIMENSION_TABLEReturns a Table Containing RangesPublic
CALL METHOD i_oi_spreadsheet=>GET_DIMENSION_TABLE...more details

GET_PROTECTIONGet Protected Attribute of a WorksheetPublic
CALL METHOD i_oi_spreadsheet=>GET_PROTECTION...more details

GET_RANGES_DATAGet Name and Data for RangePublic
CALL METHOD i_oi_spreadsheet=>GET_RANGES_DATA...more details

GET_RANGES_NAMESGet Name of a RangePublic
CALL METHOD i_oi_spreadsheet=>GET_RANGES_NAMES...more details

GET_SELECTED_AREASReturns a Collection of Selected RangesPublic
CALL METHOD i_oi_spreadsheet=>GET_SELECTED_AREAS...more details

GET_SELECTIONGet a SelectionPublic
CALL METHOD i_oi_spreadsheet=>GET_SELECTION...more details

GET_SHEETSGet the Names of WorksheetsPublic
CALL METHOD i_oi_spreadsheet=>GET_SHEETS...more details

GET_STYLERead Style of an AreaPublic
CALL METHOD i_oi_spreadsheet=>GET_STYLE...more details

GET_STYLE_FORMATSRead All Style NamesPublic
CALL METHOD i_oi_spreadsheet=>GET_STYLE_FORMATS...more details

HIDE_COLUMNSHide ColumnsPublic
CALL METHOD i_oi_spreadsheet=>HIDE_COLUMNS...more details

HIDE_ROWSHide RowsPublic
CALL METHOD i_oi_spreadsheet=>HIDE_ROWS...more details

INSERT_FULLInserst ValuesPublic
CALL METHOD i_oi_spreadsheet=>INSERT_FULL...more details

INSERT_ONE_TABLEInsert a TablePublic
CALL METHOD i_oi_spreadsheet=>INSERT_ONE_TABLE...more details

INSERT_RANGEInsert a New RangePublic
CALL METHOD i_oi_spreadsheet=>INSERT_RANGE...more details

INSERT_RANGESInserts Several RangesPublic
CALL METHOD i_oi_spreadsheet=>INSERT_RANGES...more details

INSERT_RANGE_DIMGet a Range Based on its DimensionsPublic
CALL METHOD i_oi_spreadsheet=>INSERT_RANGE_DIM...more details

LOAD_LIBLoad DLLPublic
CALL METHOD i_oi_spreadsheet=>LOAD_LIB...more details

PRINTPrint a WorksheetPublic
CALL METHOD i_oi_spreadsheet=>PRINT...more details

PROTECTProtect the Active SheetPublic
CALL METHOD i_oi_spreadsheet=>PROTECT...more details

PROTECT_RANGESets the Protected Attribute for a RangePublic
CALL METHOD i_oi_spreadsheet=>PROTECT_RANGE...more details

SCREEN_UPDATEControls the Screen UpdatePublic
CALL METHOD i_oi_spreadsheet=>SCREEN_UPDATE...more details

SELECT_RANGESelect a RangePublic
CALL METHOD i_oi_spreadsheet=>SELECT_RANGE...more details

SELECT_SHEETActivate a SheetPublic
CALL METHOD i_oi_spreadsheet=>SELECT_SHEET...more details

SETLOCALESets the Date and Decimal FormatPublic
CALL METHOD i_oi_spreadsheet=>SETLOCALE...more details

SET_COLORSet the Color of a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_COLOR...more details

SET_DATA_TABLESets the Data TablePublic
CALL METHOD i_oi_spreadsheet=>SET_DATA_TABLE...more details

SET_FIXED_COLSSets the Number of Fixed ColumnsPublic
CALL METHOD i_oi_spreadsheet=>SET_FIXED_COLS...more details

SET_FIXED_ROWSSets the Number of Fixed RowsPublic
CALL METHOD i_oi_spreadsheet=>SET_FIXED_ROWS...more details

SET_FONTSet the Font for a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_FONT...more details

SET_FORMATSet the Format of a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_FORMAT...more details

SET_FORMAT_STRINGSet the Format of a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_FORMAT_STRING...more details

SET_FRAMESet a Frame for a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_FRAME...more details

SET_HEADERSets a HeaderPublic
CALL METHOD i_oi_spreadsheet=>SET_HEADER...more details

SET_HIERARCHYSets HierarchyPublic
CALL METHOD i_oi_spreadsheet=>SET_HIERARCHY...more details

SET_HIERARCHY_TABLESets the Hierarchies Using a TablePublic
CALL METHOD i_oi_spreadsheet=>SET_HIERARCHY_TABLE...more details

SET_INFO_TABLESets the Info TablePublic
CALL METHOD i_oi_spreadsheet=>SET_INFO_TABLE...more details

SET_RANGES_DATASet the Data for a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_RANGES_DATA...more details

SET_RANGES_FORMATSet the Format of a RangePublic
CALL METHOD i_oi_spreadsheet=>SET_RANGES_FORMAT...more details

SET_SELECTIONSet a SelectionPublic
CALL METHOD i_oi_spreadsheet=>SET_SELECTION...more details

SET_SHEET_NAMESets the Name of a WorksheetPublic
CALL METHOD i_oi_spreadsheet=>SET_SHEET_NAME...more details

SET_STYLESet StylePublic
CALL METHOD i_oi_spreadsheet=>SET_STYLE...more details

SET_ZOOMSet the Zoom FactorPublic
CALL METHOD i_oi_spreadsheet=>SET_ZOOM...more details

SHOW_COLUMNSDisplay ColumnsPublic
CALL METHOD i_oi_spreadsheet=>SHOW_COLUMNS...more details

SHOW_ROWSDisplay RowsPublic
CALL METHOD i_oi_spreadsheet=>SHOW_ROWS...more details

UPDATE_FRONTENDChange the Excel View Based on Data and Info TablePublic
CALL METHOD i_oi_spreadsheet=>UPDATE_FRONTEND...more details

VERSIONReturns the Version of the Spreadsheet InterfacePublic
CALL METHOD i_oi_spreadsheet=>VERSION...more details



I_OI_SPREADSHEET 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
SPREADSHEET_CLEARConstantDelete'2'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_COLUMNSHIDEConstantHide Columns'5'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_COLUMNSHOWConstantDisplay Columns'8'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_INSERTALLConstantInsert all Data'3'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_NEWRANGEConstantInsert a New Range'4'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_PROTECTConstantProtect a Range'1'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_ROWSHIDEConstantHide Rows'6'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_ROWSSHOWConstantHide Lines'9'LIKE
SOI_BOOLEAN
Public
SPREADSHEET_UNPROTECTConstantRemove Protection From a Range'7'LIKE
SOI_BOOLEAN
Public


Links to Related Class(s)

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