SAP TP_1A_PROCESS_FD Function Module for









TP_1A_PROCESS_FD is a standard tp 1a process fd 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 tp 1a process fd FM, simply by entering the name TP_1A_PROCESS_FD into the relevant SAP transaction such as SE37 or SE38.

Function Group: FITP_AMADEUS_PNR
Program Name: SAPLFITP_AMADEUS_PNR
Main Program: SAPLFITP_AMADEUS_PNR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TP_1A_PROCESS_FD 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 'TP_1A_PROCESS_FD'"
EXPORTING
VARIANT = "Table of Travel Plan Variants
AIRLINE = "Airline Carrier
DATE = "Flight departure date
PROCESS = "Single-Character Indicator

CHANGING
PROFILE = "Travel Profile
FD_OK = "Single-Character Indicator

TABLES
* T_PNR_REMARKS = "PNR remarks
* T_REMARKS_OUT = "PNR Remarks

EXCEPTIONS
NOT_ANY_FD = 1 FD_CREATION_ERROR = 2 FD_DELETION_ERROR = 3 FD_SYNCH_ERROR = 4
.



IMPORTING Parameters details for TP_1A_PROCESS_FD

VARIANT - Table of Travel Plan Variants

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

AIRLINE - Airline Carrier

Data type: FTPT_FLIGHT-AIRLINE
Optional: No
Call by Reference: Yes

DATE - Flight departure date

Data type: FTPT_FLIGHT-DATE_DEP
Optional: No
Call by Reference: Yes

PROCESS - Single-Character Indicator

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

CHANGING Parameters details for TP_1A_PROCESS_FD

PROFILE - Travel Profile

Data type: TA20RMRK-PROFILE
Optional: No
Call by Reference: Yes

FD_OK - Single-Character Indicator

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

TABLES Parameters details for TP_1A_PROCESS_FD

T_PNR_REMARKS - PNR remarks

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

T_REMARKS_OUT - PNR Remarks

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

EXCEPTIONS details

NOT_ANY_FD -

Data type:
Optional: No
Call by Reference: Yes

FD_CREATION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

FD_DELETION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

FD_SYNCH_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TP_1A_PROCESS_FD 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_profile  TYPE TA20RMRK-PROFILE, "   
lv_variant  TYPE FTPT_VARIANT, "   
lv_not_any_fd  TYPE FTPT_VARIANT, "   
lt_t_pnr_remarks  TYPE STANDARD TABLE OF FTPT_PNR_REMARKS, "   
lv_fd_ok  TYPE CHAR1, "   
lv_airline  TYPE FTPT_FLIGHT-AIRLINE, "   
lt_t_remarks_out  TYPE STANDARD TABLE OF FTPS_API_PNR_REMARKS, "   
lv_fd_creation_error  TYPE FTPS_API_PNR_REMARKS, "   
lv_date  TYPE FTPT_FLIGHT-DATE_DEP, "   
lv_fd_deletion_error  TYPE FTPT_FLIGHT, "   
lv_process  TYPE CHAR1, "   
lv_fd_synch_error  TYPE CHAR1. "   

  CALL FUNCTION 'TP_1A_PROCESS_FD'  "
    EXPORTING
         VARIANT = lv_variant
         AIRLINE = lv_airline
         DATE = lv_date
         PROCESS = lv_process
    CHANGING
         PROFILE = lv_profile
         FD_OK = lv_fd_ok
    TABLES
         T_PNR_REMARKS = lt_t_pnr_remarks
         T_REMARKS_OUT = lt_t_remarks_out
    EXCEPTIONS
        NOT_ANY_FD = 1
        FD_CREATION_ERROR = 2
        FD_DELETION_ERROR = 3
        FD_SYNCH_ERROR = 4
. " TP_1A_PROCESS_FD




ABAP code using 7.40 inline data declarations to call FM TP_1A_PROCESS_FD

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.

"SELECT single PROFILE FROM TA20RMRK INTO @DATA(ld_profile).
 
 
 
 
 
"SELECT single AIRLINE FROM FTPT_FLIGHT INTO @DATA(ld_airline).
 
 
 
"SELECT single DATE_DEP FROM FTPT_FLIGHT INTO @DATA(ld_date).
 
 
 
 


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!