SAP RTC_CALL_DIFF_ITEM_FOR_TS Function Module for Call Differential item Subscreen
RTC_CALL_DIFF_ITEM_FOR_TS is a standard rtc call diff item for ts SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Call Differential item Subscreen processing and below is the pattern details for this FM, 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 rtc call diff item for ts FM, simply by entering the name RTC_CALL_DIFF_ITEM_FOR_TS into the relevant SAP transaction such as SE37 or SE38.
Function Group: RTC_DIFF_ITEM
Program Name: SAPLRTC_DIFF_ITEM
Main Program: SAPLRTC_DIFF_ITEM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RTC_CALL_DIFF_ITEM_FOR_TS 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 'RTC_CALL_DIFF_ITEM_FOR_TS'"Call Differential item Subscreen.
EXPORTING
* IV_ACTION = "Display/Change (X=Change)
* IV_MODEL = "Real-Time Consolidation Model
* IV_STATE = 'S' "Status
* IV_DIFNM = "Differential Item Name
* IV_NOBUTTON = "No Toolbar Button
* IV_FLAG_SEL_LIST = ABAP_TRUE "
* IT_LIST_EXCLUDE_META = "Differential Item Colunm Fields
* IT_LIST_EXTEND_META = "Differential Item Colunm Fields
* IV_VIEW_NAME = "Name of ABAP Dictionary Object
CHANGING
CO_GRID = "Return a alv control with Differnetial Item by Instance
CO_GRID_DATA = "Return a alv control with Differnetial Item by Instance
CO_ALV_GRID = "ALV List Viewer
IMPORTING Parameters details for RTC_CALL_DIFF_ITEM_FOR_TS
IV_ACTION - Display/Change (X=Change)
Data type: CHAR4Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_MODEL - Real-Time Consolidation Model
Data type: RTC_CON_MODELOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_STATE - Status
Data type: RTC_STATEDefault: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_DIFNM - Differential Item Name
Data type: RTC_DIFF_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NOBUTTON - No Toolbar Button
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_FLAG_SEL_LIST -
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_LIST_EXCLUDE_META - Differential Item Colunm Fields
Data type: RTC_T_DIFF_ITEM_COLOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_LIST_EXTEND_META - Differential Item Colunm Fields
Data type: RTC_T_DIFF_ITEM_COLOptional: Yes
Call by Reference: Yes
IV_VIEW_NAME - Name of ABAP Dictionary Object
Data type: DDOBJNAMEOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for RTC_CALL_DIFF_ITEM_FOR_TS
CO_GRID - Return a alv control with Differnetial Item by Instance
Data type: CL_RTC_GRID_DIFF_ITEMOptional: No
Call by Reference: Yes
CO_GRID_DATA - Return a alv control with Differnetial Item by Instance
Data type: CL_RTC_CP_DIFF_ITEMOptional: No
Call by Reference: Yes
CO_ALV_GRID - ALV List Viewer
Data type: CL_GUI_ALV_GRIDOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RTC_CALL_DIFF_ITEM_FOR_TS 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: | ||||
| lv_co_grid | TYPE CL_RTC_GRID_DIFF_ITEM, " | |||
| lv_iv_action | TYPE CHAR4, " | |||
| lv_iv_model | TYPE RTC_CON_MODEL, " | |||
| lv_co_grid_data | TYPE CL_RTC_CP_DIFF_ITEM, " | |||
| lv_iv_state | TYPE RTC_STATE, " 'S' | |||
| lv_co_alv_grid | TYPE CL_GUI_ALV_GRID, " | |||
| lv_iv_difnm | TYPE RTC_DIFF_NAME, " | |||
| lv_iv_nobutton | TYPE CHAR1, " | |||
| lv_iv_flag_sel_list | TYPE ABAP_BOOL, " ABAP_TRUE | |||
| lv_it_list_exclude_meta | TYPE RTC_T_DIFF_ITEM_COL, " | |||
| lv_it_list_extend_meta | TYPE RTC_T_DIFF_ITEM_COL, " | |||
| lv_iv_view_name | TYPE DDOBJNAME. " |
|   CALL FUNCTION 'RTC_CALL_DIFF_ITEM_FOR_TS' "Call Differential item Subscreen |
| EXPORTING | ||
| IV_ACTION | = lv_iv_action | |
| IV_MODEL | = lv_iv_model | |
| IV_STATE | = lv_iv_state | |
| IV_DIFNM | = lv_iv_difnm | |
| IV_NOBUTTON | = lv_iv_nobutton | |
| IV_FLAG_SEL_LIST | = lv_iv_flag_sel_list | |
| IT_LIST_EXCLUDE_META | = lv_it_list_exclude_meta | |
| IT_LIST_EXTEND_META | = lv_it_list_extend_meta | |
| IV_VIEW_NAME | = lv_iv_view_name | |
| CHANGING | ||
| CO_GRID | = lv_co_grid | |
| CO_GRID_DATA | = lv_co_grid_data | |
| CO_ALV_GRID | = lv_co_alv_grid | |
| . " RTC_CALL_DIFF_ITEM_FOR_TS | ||
ABAP code using 7.40 inline data declarations to call FM RTC_CALL_DIFF_ITEM_FOR_TS
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_iv_state) | = 'S'. | |||
| DATA(ld_iv_flag_sel_list) | = ABAP_TRUE. | |||
Search for further information about these or an SAP related objects