Ansicht
Dokumentation

BAPI_FLIGHT_SAVEREPLICA - Save replicated flight data

BAPI_FLIGHT_SAVEREPLICA - Save replicated flight data

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method is used as part of the distributed scenarios. It is used to copy updated flight data from the original system of an airline. For every method call, precisely one instance of the Flight business object is copied. Here, the most important flight data (apart from the data regarding availability) is replicated.

Example

Notes

This method is only used in the flight data model for demonstration and training purposes. It is not intended for production use. Unlike the BAPI concept, we cannot guarantee its stability.

This method must only be used for replicating flight data as part of the distributed scenarios. It is not meant to be used for creating new flights. If the instance of the Flight business object that is to be replicated does not yet exist in the target system, then it is created by the method call. If a replica already exists in the target system, then it is updated. This overwrites all the values. You cannot update individual fields separately.

Authorization object S_FLBOOK with activity 01 (create) is checked.

The FlightData parameter contains all the flight data.

Use the TestRun parameter to define whether you want the method to run in simulation mode. If you run the method in simulation mode no data is written to the database.

The functions of the individual parameters are explained in the corresponding parameter documentation.

Customer Enhancement

The BAPI customer enhancement concept allows customers to include additional data that is not anticipated by the interface.

The ExtensionIn parameter is a data container, in which the additional values are sent during import.

As well as the extension parameters in the interface, the BAPI function module also includes BAdIs (Business Add-Ins) or customer exits. These check the data sent by you to the method, and also perform additional functions.

Return Codes

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information

For more information, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> BAPI Programming Guide.

For more information on the BAPI customer enhancement concept, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> Enhancements, Modifications, ... -> Customer Enhancement and Modification of BAPIs. This documentation describes the customer enhancement options and the procedure for the customer.





Parameters

EXTENSION_IN
FLIGHT_DATA
RETURN
TEST_RUN

Exceptions

Function Group

SAPBC_BAPI_SFLIGHT

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3854 Date: 20240523 Time: 090141     sap01-206 ( 85 ms )