SAP ISH_SHIFT_CALL_TREE Function Module for
ISH_SHIFT_CALL_TREE is a standard ish shift call tree 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 ish shift call tree FM, simply by entering the name ISH_SHIFT_CALL_TREE into the relevant SAP transaction such as SE37 or SE38.
Function Group: NSHIFT
Program Name: SAPLNSHIFT
Main Program: SAPLNSHIFT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_SHIFT_CALL_TREE 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 'ISH_SHIFT_CALL_TREE'".
EXPORTING
I_RESULT = "
I_UPDATE = "
I_SHIFTMODE = "
I_CREATE_WITHOUT_PROP_ACTIV = "
* I_CLEAR_G_TREE = OFF "
* I_NSHIFT = "
* I_CALLED_FROM_RNLCASREV = OFF "
IT_OBJECTS = "IS-H: Case Revision - Object Table
CHANGING
* C_ERRORHANDLER = "Class for Error Handling
TABLES
* T_NODE = "Tree Control: Attributes of a Node
* T_DEST_NODE = "Tree Control: Attributes of a Node
* T_ITEM = "
* T_DEST_ITEM = "IS-H: Case Revision - Structure for ITEM Table of SHIFT Tree
EXCEPTIONS
PARAMETER_MISSING = 1
IMPORTING Parameters details for ISH_SHIFT_CALL_TREE
I_RESULT -
Data type: ISH_ON_OFFOptional: No
Call by Reference: No ( called with pass by value option)
I_UPDATE -
Data type: ISH_ON_OFFOptional: No
Call by Reference: No ( called with pass by value option)
I_SHIFTMODE -
Data type: ISH_SHIFTMODEOptional: No
Call by Reference: No ( called with pass by value option)
I_CREATE_WITHOUT_PROP_ACTIV -
Data type: ISH_ON_OFFOptional: No
Call by Reference: No ( called with pass by value option)
I_CLEAR_G_TREE -
Data type: ISH_ON_OFFDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NSHIFT -
Data type: NSHIFTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CALLED_FROM_RNLCASREV -
Data type: ISH_ON_OFFDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_OBJECTS - IS-H: Case Revision - Object Table
Data type: ISH_T_SHIFT_OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISH_SHIFT_CALL_TREE
C_ERRORHANDLER - Class for Error Handling
Data type: CL_ISHMED_ERRORHANDLINGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ISH_SHIFT_CALL_TREE
T_NODE - Tree Control: Attributes of a Node
Data type: TREEV_NODEOptional: Yes
Call by Reference: Yes
T_DEST_NODE - Tree Control: Attributes of a Node
Data type: TREEV_NODEOptional: Yes
Call by Reference: Yes
T_ITEM -
Data type: ISH_SHIFT_ITEMOptional: Yes
Call by Reference: Yes
T_DEST_ITEM - IS-H: Case Revision - Structure for ITEM Table of SHIFT Tree
Data type: ISH_SHIFT_ITEMOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
PARAMETER_MISSING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_SHIFT_CALL_TREE 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_t_node | TYPE STANDARD TABLE OF TREEV_NODE, " | |||
| lv_i_result | TYPE ISH_ON_OFF, " | |||
| lv_c_errorhandler | TYPE CL_ISHMED_ERRORHANDLING, " | |||
| lv_parameter_missing | TYPE CL_ISHMED_ERRORHANDLING, " | |||
| lv_i_update | TYPE ISH_ON_OFF, " | |||
| lt_t_dest_node | TYPE STANDARD TABLE OF TREEV_NODE, " | |||
| lt_t_item | TYPE STANDARD TABLE OF ISH_SHIFT_ITEM, " | |||
| lv_i_shiftmode | TYPE ISH_SHIFTMODE, " | |||
| lt_t_dest_item | TYPE STANDARD TABLE OF ISH_SHIFT_ITEM, " | |||
| lv_i_create_without_prop_activ | TYPE ISH_ON_OFF, " | |||
| lv_i_clear_g_tree | TYPE ISH_ON_OFF, " OFF | |||
| lv_i_nshift | TYPE NSHIFT, " | |||
| lv_i_called_from_rnlcasrev | TYPE ISH_ON_OFF, " OFF | |||
| lv_it_objects | TYPE ISH_T_SHIFT_OBJECT. " |
|   CALL FUNCTION 'ISH_SHIFT_CALL_TREE' " |
| EXPORTING | ||
| I_RESULT | = lv_i_result | |
| I_UPDATE | = lv_i_update | |
| I_SHIFTMODE | = lv_i_shiftmode | |
| I_CREATE_WITHOUT_PROP_ACTIV | = lv_i_create_without_prop_activ | |
| I_CLEAR_G_TREE | = lv_i_clear_g_tree | |
| I_NSHIFT | = lv_i_nshift | |
| I_CALLED_FROM_RNLCASREV | = lv_i_called_from_rnlcasrev | |
| IT_OBJECTS | = lv_it_objects | |
| CHANGING | ||
| C_ERRORHANDLER | = lv_c_errorhandler | |
| TABLES | ||
| T_NODE | = lt_t_node | |
| T_DEST_NODE | = lt_t_dest_node | |
| T_ITEM | = lt_t_item | |
| T_DEST_ITEM | = lt_t_dest_item | |
| EXCEPTIONS | ||
| PARAMETER_MISSING = 1 | ||
| . " ISH_SHIFT_CALL_TREE | ||
ABAP code using 7.40 inline data declarations to call FM ISH_SHIFT_CALL_TREE
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_i_clear_g_tree) | = OFF. | |||
| DATA(ld_i_called_from_rnlcasrev) | = OFF. | |||
Search for further information about these or an SAP related objects