FITV_RD_EXPORT_PTC 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 FITV_RD_EXPORT_PTC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FITV_RCUR_DEST
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FITV_RD_EXPORT_PTC' "Update Table
* EXPORTING
* i_simulation = SPACE " xfeld
TABLES
trip_aus_akt_reise = " ptrv_trip_chain Table of all Trip Destinations f. Processing Recurring Dest.
* et_trip_chain_rerol = " ptrv_trip_chain
* et_trip_chain = " ptrv_trip_chain
* konti = " ptk17
* kostr = " ptk14
* kostz = " ptk16
* ziel = " ptk05
. " FITV_RD_EXPORT_PTC
The ABAP code below is a full code listing to execute function module FITV_RD_EXPORT_PTC 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).
| it_trip_aus_akt_reise | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN,"TABLES PARAM |
| wa_trip_aus_akt_reise | LIKE LINE OF it_trip_aus_akt_reise , |
| it_et_trip_chain_rerol | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN,"TABLES PARAM |
| wa_et_trip_chain_rerol | LIKE LINE OF it_et_trip_chain_rerol , |
| it_et_trip_chain | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN,"TABLES PARAM |
| wa_et_trip_chain | LIKE LINE OF it_et_trip_chain , |
| it_konti | TYPE STANDARD TABLE OF PTK17,"TABLES PARAM |
| wa_konti | LIKE LINE OF it_konti , |
| it_kostr | TYPE STANDARD TABLE OF PTK14,"TABLES PARAM |
| wa_kostr | LIKE LINE OF it_kostr , |
| it_kostz | TYPE STANDARD TABLE OF PTK16,"TABLES PARAM |
| wa_kostz | LIKE LINE OF it_kostz , |
| it_ziel | TYPE STANDARD TABLE OF PTK05,"TABLES PARAM |
| wa_ziel | LIKE LINE OF it_ziel . |
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_i_simulation | TYPE XFELD , |
| it_trip_aus_akt_reise | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN , |
| wa_trip_aus_akt_reise | LIKE LINE OF it_trip_aus_akt_reise, |
| it_et_trip_chain_rerol | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN , |
| wa_et_trip_chain_rerol | LIKE LINE OF it_et_trip_chain_rerol, |
| it_et_trip_chain | TYPE STANDARD TABLE OF PTRV_TRIP_CHAIN , |
| wa_et_trip_chain | LIKE LINE OF it_et_trip_chain, |
| it_konti | TYPE STANDARD TABLE OF PTK17 , |
| wa_konti | LIKE LINE OF it_konti, |
| it_kostr | TYPE STANDARD TABLE OF PTK14 , |
| wa_kostr | LIKE LINE OF it_kostr, |
| it_kostz | TYPE STANDARD TABLE OF PTK16 , |
| wa_kostz | LIKE LINE OF it_kostz, |
| it_ziel | TYPE STANDARD TABLE OF PTK05 , |
| wa_ziel | LIKE LINE OF it_ziel. |
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 FITV_RD_EXPORT_PTC or its description.