SAP FITP_WEB_CAR_RESERVE Function Module for









FITP_WEB_CAR_RESERVE is a standard fitp web car reserve 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 web car reserve FM, simply by entering the name FITP_WEB_CAR_RESERVE 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): Remote-Enabled
Update:



Function FITP_WEB_CAR_RESERVE 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_WEB_CAR_RESERVE'"
EXPORTING
I_DISPLAY_INDEX = "Character Field, 8 Characters Long
* I_CAR_PROVIDER = "Car Rental Provider
* I_CAR_PICKUP = "(Portal RFC-Interface)
* I_CAR_DROPOFF = "(Portal RFC Interface)
* I_PICKUP_LOC = "Car rental branch office for vehicle pickup
* I_DROPOFF_LOC = "Car rental office for dropoff
* I_CAR_PREFERENCES = "HR Master Record Infotype 0473 (Rental Car Preferences)
* I_RATE_PLAN = "Rental Car Rate Rule (by day/weekend/week/month)
* I_CONF_NUM = "
* I_CURRENCY = "Currency
* I_QUANTITY = "Number of cars
* I_DIRECT_SELL = "Single-Character Indicator
* I_CLASS = "Rental Car Vehicle Class
* I_TYPE = "Rental Car Vehicle Type
* I_TRANSMISSION = "Car Transmission
* I_AIR_CONDITION = "Vehicle Air-Conditioning
* I_RATE_CODE = "Rental Car Rate
* I_DELIVERY_REQUEST = "
* I_COLLECTION_REQUEST = "
* I_DEST_ADDRESS = "
* I_REASON_CODE = "Reason Code
* I_MEMBSHIP = "HR Master Record Infotype 0475 (Customer Programs)
* I_FLIGHTMEM = "HR Master Record Infotype 0475 (Customer Programs)
* I_CORPORATE_ID = "Company ID for Negotiated Rates
* I_GUARANTEE = "Guarantee for rental care reservation at booking
* I_DEPOSIT = "Deposit payment method for room reservation
* I_CCNAME = "Formatted Name of Employee or Applicant

IMPORTING
E_PLAN_OUT = "Trip Planning Data (Portal RFC Interface)

TABLES
* IT_NOTE_TO_AGENCY = "Additional Information on Travel Plan
* IT_INFO_TEXT = "Table Type for FTPS_TEXT
ET_RETURN = "Table with BAPI Return Information
ET_PROVIDER_TEXT = "Table Type for FTPS_TEXT
ET_ITEM_SERVICE = "Portal RFC: Table for FTPS_WEB_ITEM_SERVICE
ET_INFO = "Additional Information on Travel Plan
.



IMPORTING Parameters details for FITP_WEB_CAR_RESERVE

I_DISPLAY_INDEX - Character Field, 8 Characters Long

Data type: INT1
Optional: No
Call by Reference: No ( called with pass by value option)

I_CAR_PROVIDER - Car Rental Provider

Data type: CAR_PROVIDER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CAR_PICKUP - (Portal RFC-Interface)

Data type: FTPS_WEB_CAR_PICKUP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CAR_DROPOFF - (Portal RFC Interface)

Data type: FTPS_WEB_CAR_DROPOFF
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PICKUP_LOC - Car rental branch office for vehicle pickup

Data type: CAR_PICKUP_LOC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DROPOFF_LOC - Car rental office for dropoff

Data type: CAR_DROPOFF_LOC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CAR_PREFERENCES - HR Master Record Infotype 0473 (Rental Car Preferences)

Data type: PS0473
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RATE_PLAN - Rental Car Rate Rule (by day/weekend/week/month)

Data type: CAR_RATE_PLAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONF_NUM -

Data type: CAR_CONFIRMATION_NUMBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CURRENCY - Currency

Data type: CAR_CURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QUANTITY - Number of cars

Data type: CAR_QUANTITY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DIRECT_SELL - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CLASS - Rental Car Vehicle Class

Data type: CAR_CLASS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TYPE - Rental Car Vehicle Type

Data type: CAR_TYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRANSMISSION - Car Transmission

Data type: CAR_TRANSMISSION
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AIR_CONDITION - Vehicle Air-Conditioning

Data type: CAR_AIR_CONDITION
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RATE_CODE - Rental Car Rate

Data type: CAR_RATE_CODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DELIVERY_REQUEST -

Data type: TEXT60
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COLLECTION_REQUEST -

Data type: TEXT60
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DEST_ADDRESS -

Data type: FTPS_ADDRESS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REASON_CODE - Reason Code

Data type: FTPS_REASON_CODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MEMBSHIP - HR Master Record Infotype 0475 (Customer Programs)

Data type: PS0475
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLIGHTMEM - HR Master Record Infotype 0475 (Customer Programs)

Data type: PS0475
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CORPORATE_ID - Company ID for Negotiated Rates

Data type: CAR_CORPORATE_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GUARANTEE - Guarantee for rental care reservation at booking

Data type: CAR_GUARANTEE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DEPOSIT - Deposit payment method for room reservation

Data type: CAR_DEPOSIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CCNAME - Formatted Name of Employee or Applicant

Data type: EMNAM
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FITP_WEB_CAR_RESERVE

E_PLAN_OUT - Trip Planning Data (Portal RFC Interface)

Data type: FTPS_WEB_PLAN_OUT
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FITP_WEB_CAR_RESERVE

IT_NOTE_TO_AGENCY - Additional Information on Travel Plan

Data type: FTPS_WEB_INFO_T
Optional: Yes
Call by Reference: Yes

IT_INFO_TEXT - Table Type for FTPS_TEXT

Data type: FTPS_TEXT_T
Optional: Yes
Call by Reference: Yes

ET_RETURN - Table with BAPI Return Information

Data type: BAPIRETTAB
Optional: No
Call by Reference: Yes

ET_PROVIDER_TEXT - Table Type for FTPS_TEXT

Data type: FTPS_TEXT_T
Optional: No
Call by Reference: Yes

ET_ITEM_SERVICE - Portal RFC: Table for FTPS_WEB_ITEM_SERVICE

Data type: FTPS_WEB_ITEM_SERVICE_T
Optional: No
Call by Reference: Yes

ET_INFO - Additional Information on Travel Plan

Data type: FTPS_WEB_INFO_T
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FITP_WEB_CAR_RESERVE 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_e_plan_out  TYPE FTPS_WEB_PLAN_OUT, "   
lv_i_display_index  TYPE INT1, "   
lt_it_note_to_agency  TYPE STANDARD TABLE OF FTPS_WEB_INFO_T, "   
lv_i_car_provider  TYPE CAR_PROVIDER, "   
lv_i_car_pickup  TYPE FTPS_WEB_CAR_PICKUP, "   
lv_i_car_dropoff  TYPE FTPS_WEB_CAR_DROPOFF, "   
lv_i_pickup_loc  TYPE CAR_PICKUP_LOC, "   
lv_i_dropoff_loc  TYPE CAR_DROPOFF_LOC, "   
lv_i_car_preferences  TYPE PS0473, "   
lv_i_rate_plan  TYPE CAR_RATE_PLAN, "   
lv_i_conf_num  TYPE CAR_CONFIRMATION_NUMBER, "   
lv_i_currency  TYPE CAR_CURRENCY, "   
lv_i_quantity  TYPE CAR_QUANTITY, "   
lt_it_info_text  TYPE STANDARD TABLE OF FTPS_TEXT_T, "   
lv_i_direct_sell  TYPE CHAR1, "   
lv_i_class  TYPE CAR_CLASS, "   
lv_i_type  TYPE CAR_TYPE, "   
lv_i_transmission  TYPE CAR_TRANSMISSION, "   
lv_i_air_condition  TYPE CAR_AIR_CONDITION, "   
lv_i_rate_code  TYPE CAR_RATE_CODE, "   
lv_i_delivery_request  TYPE TEXT60, "   
lv_i_collection_request  TYPE TEXT60, "   
lv_i_dest_address  TYPE FTPS_ADDRESS, "   
lt_et_return  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_i_reason_code  TYPE FTPS_REASON_CODE, "   
lv_i_membship  TYPE PS0475, "   
lt_et_provider_text  TYPE STANDARD TABLE OF FTPS_TEXT_T, "   
lv_i_flightmem  TYPE PS0475, "   
lt_et_item_service  TYPE STANDARD TABLE OF FTPS_WEB_ITEM_SERVICE_T, "   
lt_et_info  TYPE STANDARD TABLE OF FTPS_WEB_INFO_T, "   
lv_i_corporate_id  TYPE CAR_CORPORATE_ID, "   
lv_i_guarantee  TYPE CAR_GUARANTEE, "   
lv_i_deposit  TYPE CAR_DEPOSIT, "   
lv_i_ccname  TYPE EMNAM. "   

  CALL FUNCTION 'FITP_WEB_CAR_RESERVE'  "
    EXPORTING
         I_DISPLAY_INDEX = lv_i_display_index
         I_CAR_PROVIDER = lv_i_car_provider
         I_CAR_PICKUP = lv_i_car_pickup
         I_CAR_DROPOFF = lv_i_car_dropoff
         I_PICKUP_LOC = lv_i_pickup_loc
         I_DROPOFF_LOC = lv_i_dropoff_loc
         I_CAR_PREFERENCES = lv_i_car_preferences
         I_RATE_PLAN = lv_i_rate_plan
         I_CONF_NUM = lv_i_conf_num
         I_CURRENCY = lv_i_currency
         I_QUANTITY = lv_i_quantity
         I_DIRECT_SELL = lv_i_direct_sell
         I_CLASS = lv_i_class
         I_TYPE = lv_i_type
         I_TRANSMISSION = lv_i_transmission
         I_AIR_CONDITION = lv_i_air_condition
         I_RATE_CODE = lv_i_rate_code
         I_DELIVERY_REQUEST = lv_i_delivery_request
         I_COLLECTION_REQUEST = lv_i_collection_request
         I_DEST_ADDRESS = lv_i_dest_address
         I_REASON_CODE = lv_i_reason_code
         I_MEMBSHIP = lv_i_membship
         I_FLIGHTMEM = lv_i_flightmem
         I_CORPORATE_ID = lv_i_corporate_id
         I_GUARANTEE = lv_i_guarantee
         I_DEPOSIT = lv_i_deposit
         I_CCNAME = lv_i_ccname
    IMPORTING
         E_PLAN_OUT = lv_e_plan_out
    TABLES
         IT_NOTE_TO_AGENCY = lt_it_note_to_agency
         IT_INFO_TEXT = lt_it_info_text
         ET_RETURN = lt_et_return
         ET_PROVIDER_TEXT = lt_et_provider_text
         ET_ITEM_SERVICE = lt_et_item_service
         ET_INFO = lt_et_info
. " FITP_WEB_CAR_RESERVE




ABAP code using 7.40 inline data declarations to call FM FITP_WEB_CAR_RESERVE

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



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!