SAP ABAP IMG Activity OFTP_PR_003_10 (BAdI: Define Dynamic PNR Elements)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   FI-TV-PL (Application Component) Travel Planning
     PTRCP (Package) Customizing for Travel Planning
IMG Activity
ID OFTP_PR_003_10 BAdI: Define Dynamic PNR Elements  
Transaction Code S_XBG_76000017   IMG 
Created on 20010306    
Customizing Attributes OFTP_PR_003_10   Define Dynamic PNR Elements 
Customizing Activity OFTP_PR_003_10   Define Dynamic PNR Elements 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FITP_CUST_REMARKS    

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).

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050726 
SAP Release Created in 461