FITP_PLAN_HAS_CHANGED is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FITP_PLAN_HAS_CHANGED into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FITP_PLAN
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FITP_PLAN_HAS_CHANGED' "Creation and saving of an empty plan/trip
EXPORTING
wa_plan = " ftpt_plan Rahmendaten des Plans
wa_req_head = " ftpt_req_head Rahmendaten des Reiseantrages
IMPORTING
changed = " char1 Einstelliges Kennzeichen
TABLES
t_variant = " ftpt_variant Table of Travel Plan Variants
t_item = " ftpt_item Travel service request item
t_fare_comp = " ftpt_fare_comp Rate components
t_flight = " ftpt_flight Travel request item - flight service
t_flight_leg = " ftpt_flight_leg Leg of flight
t_flight_pref = " ftpt_flight_pref Flight service preferences of a travel plan
t_flight_fare = " ftpt_flight_fcmp Assignment table: flights <-> rate components
t_flight_tst = " ftpt_flight_tstk Ticket Information
t_fare_note = " ftpt_fare_note Rate Rules
t_hotel = " ftpt_hotel Travel Request Item - Hotel Service
t_hotel_pref = " ftpt_hotel_pref Hotel service preferences of a travel plan
t_car = " ftpt_car Travel Request Item - Car Rental Service
t_car_pref = " ftpt_car_pref Rental car service preferences of a travel plan
t_train = " ftpt_train Travel request item - train service
t_train_pref = " ftpt_train_pref Train service preferences of a travel plan
t_other = " ftpt_other Reiseanforderungposition - Sonstige Leistung
t_sync_data = " ftpt_sync_data Daten Synchronisation SAP - Externe Systeme
t_pnr = " ftpt_pnr Elements of passenger name records of travel plan variant
t_pnr_name = " ftpt_pnr_name Name element of PNR
t_pnr_osi = " ftpt_pnr_osi Other PNR service information
t_pnr_address = " ftpt_pnr_address PNR delivery / billing addresses
t_pnr_remarks = " ftpt_pnr_remarks PNR remarks
t_pnr_ssr = " ftpt_pnr_ssr Special PNR service requests
t_pnr_phone = " ftpt_pnr_phone PNR telephone references
t_tm_memo = " ftpt_tm_memo Memo table for Travel Management
t_info = " ftpt_var_info Info texts for travel plan variants
t_request = " ftpt_request Anforderungen eines Reiseplanes
t_req_head = " ftpt_req_head Rahmendaten des Reiseantrages
t_req_account = " ftpt_req_account Kostenzuordnung Reiseantrag
t_req_advance = " ftpt_req_advance Vorschuß Reiseantrag
t_req_reason = " ftpt_req_reason Begründung des Reiseantrages
. " FITP_PLAN_HAS_CHANGED
The ABAP code below is a full code listing to execute function module FITP_PLAN_HAS_CHANGED including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_changed | TYPE CHAR1 , |
| it_t_variant | TYPE STANDARD TABLE OF FTPT_VARIANT,"TABLES PARAM |
| wa_t_variant | LIKE LINE OF it_t_variant , |
| it_t_item | TYPE STANDARD TABLE OF FTPT_ITEM,"TABLES PARAM |
| wa_t_item | LIKE LINE OF it_t_item , |
| it_t_fare_comp | TYPE STANDARD TABLE OF FTPT_FARE_COMP,"TABLES PARAM |
| wa_t_fare_comp | LIKE LINE OF it_t_fare_comp , |
| it_t_flight | TYPE STANDARD TABLE OF FTPT_FLIGHT,"TABLES PARAM |
| wa_t_flight | LIKE LINE OF it_t_flight , |
| it_t_flight_leg | TYPE STANDARD TABLE OF FTPT_FLIGHT_LEG,"TABLES PARAM |
| wa_t_flight_leg | LIKE LINE OF it_t_flight_leg , |
| it_t_flight_pref | TYPE STANDARD TABLE OF FTPT_FLIGHT_PREF,"TABLES PARAM |
| wa_t_flight_pref | LIKE LINE OF it_t_flight_pref , |
| it_t_flight_fare | TYPE STANDARD TABLE OF FTPT_FLIGHT_FCMP,"TABLES PARAM |
| wa_t_flight_fare | LIKE LINE OF it_t_flight_fare , |
| it_t_flight_tst | TYPE STANDARD TABLE OF FTPT_FLIGHT_TSTK,"TABLES PARAM |
| wa_t_flight_tst | LIKE LINE OF it_t_flight_tst , |
| it_t_fare_note | TYPE STANDARD TABLE OF FTPT_FARE_NOTE,"TABLES PARAM |
| wa_t_fare_note | LIKE LINE OF it_t_fare_note , |
| it_t_hotel | TYPE STANDARD TABLE OF FTPT_HOTEL,"TABLES PARAM |
| wa_t_hotel | LIKE LINE OF it_t_hotel , |
| it_t_hotel_pref | TYPE STANDARD TABLE OF FTPT_HOTEL_PREF,"TABLES PARAM |
| wa_t_hotel_pref | LIKE LINE OF it_t_hotel_pref , |
| it_t_car | TYPE STANDARD TABLE OF FTPT_CAR,"TABLES PARAM |
| wa_t_car | LIKE LINE OF it_t_car , |
| it_t_car_pref | TYPE STANDARD TABLE OF FTPT_CAR_PREF,"TABLES PARAM |
| wa_t_car_pref | LIKE LINE OF it_t_car_pref , |
| it_t_train | TYPE STANDARD TABLE OF FTPT_TRAIN,"TABLES PARAM |
| wa_t_train | LIKE LINE OF it_t_train , |
| it_t_train_pref | TYPE STANDARD TABLE OF FTPT_TRAIN_PREF,"TABLES PARAM |
| wa_t_train_pref | LIKE LINE OF it_t_train_pref , |
| it_t_other | TYPE STANDARD TABLE OF FTPT_OTHER,"TABLES PARAM |
| wa_t_other | LIKE LINE OF it_t_other , |
| it_t_sync_data | TYPE STANDARD TABLE OF FTPT_SYNC_DATA,"TABLES PARAM |
| wa_t_sync_data | LIKE LINE OF it_t_sync_data , |
| it_t_pnr | TYPE STANDARD TABLE OF FTPT_PNR,"TABLES PARAM |
| wa_t_pnr | LIKE LINE OF it_t_pnr , |
| it_t_pnr_name | TYPE STANDARD TABLE OF FTPT_PNR_NAME,"TABLES PARAM |
| wa_t_pnr_name | LIKE LINE OF it_t_pnr_name , |
| it_t_pnr_osi | TYPE STANDARD TABLE OF FTPT_PNR_OSI,"TABLES PARAM |
| wa_t_pnr_osi | LIKE LINE OF it_t_pnr_osi , |
| it_t_pnr_address | TYPE STANDARD TABLE OF FTPT_PNR_ADDRESS,"TABLES PARAM |
| wa_t_pnr_address | LIKE LINE OF it_t_pnr_address , |
| it_t_pnr_remarks | TYPE STANDARD TABLE OF FTPT_PNR_REMARKS,"TABLES PARAM |
| wa_t_pnr_remarks | LIKE LINE OF it_t_pnr_remarks , |
| it_t_pnr_ssr | TYPE STANDARD TABLE OF FTPT_PNR_SSR,"TABLES PARAM |
| wa_t_pnr_ssr | LIKE LINE OF it_t_pnr_ssr , |
| it_t_pnr_phone | TYPE STANDARD TABLE OF FTPT_PNR_PHONE,"TABLES PARAM |
| wa_t_pnr_phone | LIKE LINE OF it_t_pnr_phone , |
| it_t_tm_memo | TYPE STANDARD TABLE OF FTPT_TM_MEMO,"TABLES PARAM |
| wa_t_tm_memo | LIKE LINE OF it_t_tm_memo , |
| it_t_info | TYPE STANDARD TABLE OF FTPT_VAR_INFO,"TABLES PARAM |
| wa_t_info | LIKE LINE OF it_t_info , |
| it_t_request | TYPE STANDARD TABLE OF FTPT_REQUEST,"TABLES PARAM |
| wa_t_request | LIKE LINE OF it_t_request , |
| it_t_req_head | TYPE STANDARD TABLE OF FTPT_REQ_HEAD,"TABLES PARAM |
| wa_t_req_head | LIKE LINE OF it_t_req_head , |
| it_t_req_account | TYPE STANDARD TABLE OF FTPT_REQ_ACCOUNT,"TABLES PARAM |
| wa_t_req_account | LIKE LINE OF it_t_req_account , |
| it_t_req_advance | TYPE STANDARD TABLE OF FTPT_REQ_ADVANCE,"TABLES PARAM |
| wa_t_req_advance | LIKE LINE OF it_t_req_advance , |
| it_t_req_reason | TYPE STANDARD TABLE OF FTPT_REQ_REASON,"TABLES PARAM |
| wa_t_req_reason | LIKE LINE OF it_t_req_reason . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_changed | TYPE CHAR1 , |
| ld_wa_plan | TYPE FTPT_PLAN , |
| it_t_variant | TYPE STANDARD TABLE OF FTPT_VARIANT , |
| wa_t_variant | LIKE LINE OF it_t_variant, |
| ld_wa_req_head | TYPE FTPT_REQ_HEAD , |
| it_t_item | TYPE STANDARD TABLE OF FTPT_ITEM , |
| wa_t_item | LIKE LINE OF it_t_item, |
| it_t_fare_comp | TYPE STANDARD TABLE OF FTPT_FARE_COMP , |
| wa_t_fare_comp | LIKE LINE OF it_t_fare_comp, |
| it_t_flight | TYPE STANDARD TABLE OF FTPT_FLIGHT , |
| wa_t_flight | LIKE LINE OF it_t_flight, |
| it_t_flight_leg | TYPE STANDARD TABLE OF FTPT_FLIGHT_LEG , |
| wa_t_flight_leg | LIKE LINE OF it_t_flight_leg, |
| it_t_flight_pref | TYPE STANDARD TABLE OF FTPT_FLIGHT_PREF , |
| wa_t_flight_pref | LIKE LINE OF it_t_flight_pref, |
| it_t_flight_fare | TYPE STANDARD TABLE OF FTPT_FLIGHT_FCMP , |
| wa_t_flight_fare | LIKE LINE OF it_t_flight_fare, |
| it_t_flight_tst | TYPE STANDARD TABLE OF FTPT_FLIGHT_TSTK , |
| wa_t_flight_tst | LIKE LINE OF it_t_flight_tst, |
| it_t_fare_note | TYPE STANDARD TABLE OF FTPT_FARE_NOTE , |
| wa_t_fare_note | LIKE LINE OF it_t_fare_note, |
| it_t_hotel | TYPE STANDARD TABLE OF FTPT_HOTEL , |
| wa_t_hotel | LIKE LINE OF it_t_hotel, |
| it_t_hotel_pref | TYPE STANDARD TABLE OF FTPT_HOTEL_PREF , |
| wa_t_hotel_pref | LIKE LINE OF it_t_hotel_pref, |
| it_t_car | TYPE STANDARD TABLE OF FTPT_CAR , |
| wa_t_car | LIKE LINE OF it_t_car, |
| it_t_car_pref | TYPE STANDARD TABLE OF FTPT_CAR_PREF , |
| wa_t_car_pref | LIKE LINE OF it_t_car_pref, |
| it_t_train | TYPE STANDARD TABLE OF FTPT_TRAIN , |
| wa_t_train | LIKE LINE OF it_t_train, |
| it_t_train_pref | TYPE STANDARD TABLE OF FTPT_TRAIN_PREF , |
| wa_t_train_pref | LIKE LINE OF it_t_train_pref, |
| it_t_other | TYPE STANDARD TABLE OF FTPT_OTHER , |
| wa_t_other | LIKE LINE OF it_t_other, |
| it_t_sync_data | TYPE STANDARD TABLE OF FTPT_SYNC_DATA , |
| wa_t_sync_data | LIKE LINE OF it_t_sync_data, |
| it_t_pnr | TYPE STANDARD TABLE OF FTPT_PNR , |
| wa_t_pnr | LIKE LINE OF it_t_pnr, |
| it_t_pnr_name | TYPE STANDARD TABLE OF FTPT_PNR_NAME , |
| wa_t_pnr_name | LIKE LINE OF it_t_pnr_name, |
| it_t_pnr_osi | TYPE STANDARD TABLE OF FTPT_PNR_OSI , |
| wa_t_pnr_osi | LIKE LINE OF it_t_pnr_osi, |
| it_t_pnr_address | TYPE STANDARD TABLE OF FTPT_PNR_ADDRESS , |
| wa_t_pnr_address | LIKE LINE OF it_t_pnr_address, |
| it_t_pnr_remarks | TYPE STANDARD TABLE OF FTPT_PNR_REMARKS , |
| wa_t_pnr_remarks | LIKE LINE OF it_t_pnr_remarks, |
| it_t_pnr_ssr | TYPE STANDARD TABLE OF FTPT_PNR_SSR , |
| wa_t_pnr_ssr | LIKE LINE OF it_t_pnr_ssr, |
| it_t_pnr_phone | TYPE STANDARD TABLE OF FTPT_PNR_PHONE , |
| wa_t_pnr_phone | LIKE LINE OF it_t_pnr_phone, |
| it_t_tm_memo | TYPE STANDARD TABLE OF FTPT_TM_MEMO , |
| wa_t_tm_memo | LIKE LINE OF it_t_tm_memo, |
| it_t_info | TYPE STANDARD TABLE OF FTPT_VAR_INFO , |
| wa_t_info | LIKE LINE OF it_t_info, |
| it_t_request | TYPE STANDARD TABLE OF FTPT_REQUEST , |
| wa_t_request | LIKE LINE OF it_t_request, |
| it_t_req_head | TYPE STANDARD TABLE OF FTPT_REQ_HEAD , |
| wa_t_req_head | LIKE LINE OF it_t_req_head, |
| it_t_req_account | TYPE STANDARD TABLE OF FTPT_REQ_ACCOUNT , |
| wa_t_req_account | LIKE LINE OF it_t_req_account, |
| it_t_req_advance | TYPE STANDARD TABLE OF FTPT_REQ_ADVANCE , |
| wa_t_req_advance | LIKE LINE OF it_t_req_advance, |
| it_t_req_reason | TYPE STANDARD TABLE OF FTPT_REQ_REASON , |
| wa_t_req_reason | LIKE LINE OF it_t_req_reason. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FITP_PLAN_HAS_CHANGED or its description.