SAP RS_OBJECT_AREA Function Module for
RS_OBJECT_AREA is a standard rs object area SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rs object area FM, simply by entering the name RS_OBJECT_AREA into the relevant SAP transaction such as SE37 or SE38.
Function Group: SEDA
Program Name: SAPLSEDA
Main Program: SAPLSEDA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_OBJECT_AREA pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RS_OBJECT_AREA'".
EXPORTING
OBJECT_NAME = "
OBJECT_TYPE = "
* WITH_INCLUDES = 'X' "
* MOD_STRUC_SIGNIFICANT = ' ' "
IMPORTING
COL_BEG = "
ERROR_INDEX = "
ERROR_OFFSET = "
ROW_BEG = "
COL_END = "
ROW_END = "
FIRST_STMNT_ROW_END = "
FIRST_STMNT_COL_END = "
LAST_STMNT_ROW_BEG = "
LAST_STMNT_COL_BEG = "
ERROR_MESSAGE = "
TABLES
SOURCE = "
* INF_TAB = "
* SMODILOG_ABAP = "
* CORR_TAB = "
EXCEPTIONS
OBJECT_NOT_FOUND = 1 SOURCE_NOT_CORRECT = 2 OBJECT_TYPE_NOT_SUPPORTED = 3
IMPORTING Parameters details for RS_OBJECT_AREA
OBJECT_NAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_TYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WITH_INCLUDES -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MOD_STRUC_SIGNIFICANT -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RS_OBJECT_AREA
COL_BEG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_INDEX -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_OFFSET -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ROW_BEG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
COL_END -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ROW_END -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FIRST_STMNT_ROW_END -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FIRST_STMNT_COL_END -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LAST_STMNT_ROW_BEG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LAST_STMNT_COL_BEG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_MESSAGE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RS_OBJECT_AREA
SOURCE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INF_TAB -
Data type: EDMODTABOptional: Yes
Call by Reference: No ( called with pass by value option)
SMODILOG_ABAP -
Data type: SMODILOGOptional: Yes
Call by Reference: No ( called with pass by value option)
CORR_TAB -
Data type: SEDI_KORR_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
OBJECT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SOURCE_NOT_CORRECT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_TYPE_NOT_SUPPORTED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RS_OBJECT_AREA Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_source | TYPE STANDARD TABLE OF STRING, " | |||
| lv_col_beg | TYPE STRING, " | |||
| lv_object_name | TYPE STRING, " | |||
| lv_object_not_found | TYPE STRING, " | |||
| lv_error_index | TYPE STRING, " | |||
| lv_error_offset | TYPE STRING, " | |||
| lt_inf_tab | TYPE STANDARD TABLE OF EDMODTAB, " | |||
| lv_row_beg | TYPE EDMODTAB, " | |||
| lv_object_type | TYPE EDMODTAB, " | |||
| lv_source_not_correct | TYPE EDMODTAB, " | |||
| lv_col_end | TYPE EDMODTAB, " | |||
| lt_smodilog_abap | TYPE STANDARD TABLE OF SMODILOG, " | |||
| lv_with_includes | TYPE SMODILOG, " 'X' | |||
| lv_object_type_not_supported | TYPE SMODILOG, " | |||
| lv_row_end | TYPE SMODILOG, " | |||
| lt_corr_tab | TYPE STANDARD TABLE OF SEDI_KORR_TAB, " | |||
| lv_mod_struc_significant | TYPE SEDI_KORR_TAB, " SPACE | |||
| lv_first_stmnt_row_end | TYPE SEDI_KORR_TAB, " | |||
| lv_first_stmnt_col_end | TYPE SEDI_KORR_TAB, " | |||
| lv_last_stmnt_row_beg | TYPE SEDI_KORR_TAB, " | |||
| lv_last_stmnt_col_beg | TYPE SEDI_KORR_TAB, " | |||
| lv_error_message | TYPE SEDI_KORR_TAB. " |
|   CALL FUNCTION 'RS_OBJECT_AREA' " |
| EXPORTING | ||
| OBJECT_NAME | = lv_object_name | |
| OBJECT_TYPE | = lv_object_type | |
| WITH_INCLUDES | = lv_with_includes | |
| MOD_STRUC_SIGNIFICANT | = lv_mod_struc_significant | |
| IMPORTING | ||
| COL_BEG | = lv_col_beg | |
| ERROR_INDEX | = lv_error_index | |
| ERROR_OFFSET | = lv_error_offset | |
| ROW_BEG | = lv_row_beg | |
| COL_END | = lv_col_end | |
| ROW_END | = lv_row_end | |
| FIRST_STMNT_ROW_END | = lv_first_stmnt_row_end | |
| FIRST_STMNT_COL_END | = lv_first_stmnt_col_end | |
| LAST_STMNT_ROW_BEG | = lv_last_stmnt_row_beg | |
| LAST_STMNT_COL_BEG | = lv_last_stmnt_col_beg | |
| ERROR_MESSAGE | = lv_error_message | |
| TABLES | ||
| SOURCE | = lt_source | |
| INF_TAB | = lt_inf_tab | |
| SMODILOG_ABAP | = lt_smodilog_abap | |
| CORR_TAB | = lt_corr_tab | |
| EXCEPTIONS | ||
| OBJECT_NOT_FOUND = 1 | ||
| SOURCE_NOT_CORRECT = 2 | ||
| OBJECT_TYPE_NOT_SUPPORTED = 3 | ||
| . " RS_OBJECT_AREA | ||
ABAP code using 7.40 inline data declarations to call FM RS_OBJECT_AREA
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_with_includes) | = 'X'. | |||
| DATA(ld_mod_struc_significant) | = ' '. | |||
Search for further information about these or an SAP related objects