SAP FITP_UTIL_OTHER_SERVICE_INIT Function Module for
FITP_UTIL_OTHER_SERVICE_INIT is a standard fitp util other service init 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 fitp util other service init FM, simply by entering the name FITP_UTIL_OTHER_SERVICE_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FITP_WEB_MAIN
Program Name: SAPLFITP_WEB_MAIN
Main Program: SAPLFITP_WEB_MAIN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FITP_UTIL_OTHER_SERVICE_INIT 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 'FITP_UTIL_OTHER_SERVICE_INIT'".
EXPORTING
I_PERNR = "Personnel Number
* I_PLAN = "Plan Planning Data (Portal RFC Interface)
* I_ITEM_NUMBER = "Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647)
TABLES
ET_RETURN = "Table with BAPI Return Information
ET_OTHER_SERVICES = "Table Type Other Travel Services
ET_OTHER_SERVICES_PROPOSALS = "Table Type Default Values for Other Travel Service
* ET_OS_AVAILABLE_STATUS = "Table Type Possible Statuses of Other Services
EXCEPTIONS
CUSTOMIZING_ERROR = 1 FOREIGN_LOCK = 10 START_TIME_GREATER_END_TIME = 11 START_DATE_GREATER_END_DATE = 12 END_BEFOR_START = 13 BEGIN_DATE_MANDATORY = 14 NO_VALID_P0001 = 15 NO_VALID_P0017 = 16 TRIP_DATA_READ_ERROR = 17 OUTSIDE_TRIP_DATE = 18 CHANGE_BEGIN_DATE_CHECK = 19 NO_ENTRY_IN_TABLE = 2 GENERAL_ERROR = 20 INPUT_ERROR = 3 ERROR_FEATURE = 4 OVERLAPPING_ERROR = 5 PLAN_NOT_CHANGEABLE = 6 INFTY_NOT_FOUND = 7 NO_AUTHORITY = 8 FEATURE_ERROR = 9
IMPORTING Parameters details for FITP_UTIL_OTHER_SERVICE_INIT
I_PERNR - Personnel Number
Data type: PERNR_DOptional: No
Call by Reference: Yes
I_PLAN - Plan Planning Data (Portal RFC Interface)
Data type: FTPS_WEB_PLANOptional: Yes
Call by Reference: Yes
I_ITEM_NUMBER - Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647)
Data type: ITEMPOS_NROptional: Yes
Call by Reference: Yes
TABLES Parameters details for FITP_UTIL_OTHER_SERVICE_INIT
ET_RETURN - Table with BAPI Return Information
Data type: BAPIRETTABOptional: No
Call by Reference: Yes
ET_OTHER_SERVICES - Table Type Other Travel Services
Data type: FTPS_OTHER_SERVICES_TOptional: No
Call by Reference: Yes
ET_OTHER_SERVICES_PROPOSALS - Table Type Default Values for Other Travel Service
Data type: FTPS_OS_PROPOSAL_TOptional: No
Call by Reference: Yes
ET_OS_AVAILABLE_STATUS - Table Type Possible Statuses of Other Services
Data type: FTPS_OS_STATUS_TOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
CUSTOMIZING_ERROR - Error in customizing
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
START_TIME_GREATER_END_TIME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
START_DATE_GREATER_END_DATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
END_BEFOR_START -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BEGIN_DATE_MANDATORY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALID_P0001 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALID_P0017 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TRIP_DATA_READ_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OUTSIDE_TRIP_DATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHANGE_BEGIN_DATE_CHECK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY_IN_TABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GENERAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_FEATURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OVERLAPPING_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PLAN_NOT_CHANGEABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INFTY_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FEATURE_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FITP_UTIL_OTHER_SERVICE_INIT 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_i_pernr | TYPE PERNR_D, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRETTAB, " | |||
| lv_customizing_error | TYPE BAPIRETTAB, " | |||
| lv_foreign_lock | TYPE BAPIRETTAB, " | |||
| lv_start_time_greater_end_time | TYPE BAPIRETTAB, " | |||
| lv_start_date_greater_end_date | TYPE BAPIRETTAB, " | |||
| lv_end_befor_start | TYPE BAPIRETTAB, " | |||
| lv_begin_date_mandatory | TYPE BAPIRETTAB, " | |||
| lv_no_valid_p0001 | TYPE BAPIRETTAB, " | |||
| lv_no_valid_p0017 | TYPE BAPIRETTAB, " | |||
| lv_trip_data_read_error | TYPE BAPIRETTAB, " | |||
| lv_outside_trip_date | TYPE BAPIRETTAB, " | |||
| lv_change_begin_date_check | TYPE BAPIRETTAB, " | |||
| lv_i_plan | TYPE FTPS_WEB_PLAN, " | |||
| lt_et_other_services | TYPE STANDARD TABLE OF FTPS_OTHER_SERVICES_T, " | |||
| lv_no_entry_in_table | TYPE FTPS_OTHER_SERVICES_T, " | |||
| lv_general_error | TYPE FTPS_OTHER_SERVICES_T, " | |||
| lv_input_error | TYPE FTPS_OTHER_SERVICES_T, " | |||
| lv_i_item_number | TYPE ITEMPOS_NR, " | |||
| lt_et_other_services_proposals | TYPE STANDARD TABLE OF FTPS_OS_PROPOSAL_T, " | |||
| lv_error_feature | TYPE FTPS_OS_PROPOSAL_T, " | |||
| lt_et_os_available_status | TYPE STANDARD TABLE OF FTPS_OS_STATUS_T, " | |||
| lv_overlapping_error | TYPE FTPS_OS_STATUS_T, " | |||
| lv_plan_not_changeable | TYPE FTPS_OS_STATUS_T, " | |||
| lv_infty_not_found | TYPE FTPS_OS_STATUS_T, " | |||
| lv_no_authority | TYPE FTPS_OS_STATUS_T, " | |||
| lv_feature_error | TYPE FTPS_OS_STATUS_T. " |
|   CALL FUNCTION 'FITP_UTIL_OTHER_SERVICE_INIT' " |
| EXPORTING | ||
| I_PERNR | = lv_i_pernr | |
| I_PLAN | = lv_i_plan | |
| I_ITEM_NUMBER | = lv_i_item_number | |
| TABLES | ||
| ET_RETURN | = lt_et_return | |
| ET_OTHER_SERVICES | = lt_et_other_services | |
| ET_OTHER_SERVICES_PROPOSALS | = lt_et_other_services_proposals | |
| ET_OS_AVAILABLE_STATUS | = lt_et_os_available_status | |
| EXCEPTIONS | ||
| CUSTOMIZING_ERROR = 1 | ||
| FOREIGN_LOCK = 10 | ||
| START_TIME_GREATER_END_TIME = 11 | ||
| START_DATE_GREATER_END_DATE = 12 | ||
| END_BEFOR_START = 13 | ||
| BEGIN_DATE_MANDATORY = 14 | ||
| NO_VALID_P0001 = 15 | ||
| NO_VALID_P0017 = 16 | ||
| TRIP_DATA_READ_ERROR = 17 | ||
| OUTSIDE_TRIP_DATE = 18 | ||
| CHANGE_BEGIN_DATE_CHECK = 19 | ||
| NO_ENTRY_IN_TABLE = 2 | ||
| GENERAL_ERROR = 20 | ||
| INPUT_ERROR = 3 | ||
| ERROR_FEATURE = 4 | ||
| OVERLAPPING_ERROR = 5 | ||
| PLAN_NOT_CHANGEABLE = 6 | ||
| INFTY_NOT_FOUND = 7 | ||
| NO_AUTHORITY = 8 | ||
| FEATURE_ERROR = 9 | ||
| . " FITP_UTIL_OTHER_SERVICE_INIT | ||
ABAP code using 7.40 inline data declarations to call FM FITP_UTIL_OTHER_SERVICE_INIT
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.Search for further information about these or an SAP related objects