Ansicht
Dokumentation

OFTP_PR_003_10 - BAdI: Define Dynamic PNR Elements

OFTP_PR_003_10 - BAdI: Define Dynamic PNR Elements

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In FITP_CUST_REMARKS allows you to add program code to the standard SAP solution for your own remark elements for the reservation key Passenger Name Record = PNR.

You can use the BAdI to change, display, or delete existing implementations, as well as create new ones.

The Business Add-In (BAdI) FITP_CUST_REMARKS defines and implements the interface IF_EX_FITP_CUST_REMARKS in the class CL_EX_FITP_CUST_REMARKS.
The interface methods are processed in the main program SAPMFITP (form routine FILL_REMARKS).

You implement the methods of the interface as user exits in the SAP Easy Access menu by choosing Tools -> ABAP Workbench -> Utilities -> Business Add-Ins (transaction SE19). The methods are located in the namespace of the implementer and are separate transport elements.

The standard system contains the implementation CL_IM_FITP_CUST_REMARKS, which creates remark elements with information about the SAP users logged on to the system.

Predefined Remark Elements

Three implementations are supplied for the BAdI FITV_CUST_REMARKS:

SAPUSER_REMARKS: (active)
Creates multiple remark elements in the PNR with information about the SAP users logged onto the system, provided that this information has been maintained in the user data.

TRAVELER_EMAIL: (inactive)
Creates a remark element in the PNR with the e-mail address for the traveler, provided that this information has been maintained in the employee s personnel record (infotype 0105, Subtype 0010).

To change an implementation, call up the IMG activity User Exit for Dynamic Enterprise-Specific PNR Elements.

Select the implementation and choose Change.

Additional Remark Elements

To generate additional remark elements for the PNR, you must create a new implementation of the BAdI for each remark element required in the corresponding customer namespace and development package.

To do this, execute this IMG activity and choose Create.

Enter a name for the new implementation and confirm it by choosing Enter.

Enter a short text for the implementation.

Go to the Interface tab and double-click on the method CREATE_RM. The code editor will appear and you can enter your program code.
The interface parameter WA_VARIANT transfers the current trip provision variant to the method CREATE_RM. Interface table T_CUST_REMARKS copies the remark lines and returns them to the program.

The new remark elements are added to the PNR when you activate the implementation.

Further notes

For general information on BAdIs, refer to the SAP Library under Basis -> ABAP Workbench (BC-DWB) -> Changing the SAP Standard (BC).






ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3286 Date: 20240523 Time: 184737     sap01-206 ( 52 ms )