Ansicht
Dokumentation

OFTV_MOD_BADI_12 - BAdI: Define Additional Checks for Web Dynpro and Fiori

OFTV_MOD_BADI_12 - BAdI: Define Additional Checks for Web Dynpro and Fiori

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

You can define additional checks for each transferred line and/or table for the situations listed below for processing trips in the Web Dynpro interface.

The Business Add-In TRIP_WEB_CHECK defines and implements the interface IF_EX_TRIP_WEB_CHECK in the class CL_EX_TRIP_WEB_CHECK. The methods of the interface are realized as user exits for customer enhancements in the area of Travel Expenses in the Web Dynpro interface.

The implementations of a Business Add-In (BAdI) are not considered modifications. They are not overwritten during a release upgrade.

The BAdI has the following methods:

USER_CHECK_LINE_OF_MILEAGE   Edit individual leg of trip and cost distribution miles/kilometers
USER_CHECK_MILEAGE   Edit all legs of trip and cost distribution miles/kilometers
USER_CHECK_LINE_OF_RECEIPTS   Edit individual receipt and cost distribution: receipts
USER_CHECK_RECEIPTS   Edit all receipts and cost distribution: receipts
USER_CHECK_LINE_OF_ADVANCES   Edit individual advance
USER_CHECK_ADVANCES   Edit all advances
USER_CHECK_LINE_OF_DEDUCTIONS   Edit individual deduction
USER_CHECK_DEDUCTIONS   Edit all deductions
USER_CHECK_LINE_OF_ITINERARY   Edit individual destination and cost distribution: destinations
USER_CHECK_ITINERARY   Edit all destinations and cost distribution: destinations
USER_CHECK_TRIP_COSTS   Cost distribution of trip
USER_CHECK_GENERAL_DATA   Edit general data and period data of a trip
USER_CHECK_EDITOR   Edit general texts of trip
USER_CHECK_RESULTS   Edit travel cost results
USER_CHECK_CHANGES   Edit changes to trip

Note for method USER_CHECK_GENERAL_DATA:


  • Importing parameter I_NAVIGATION_PATH: This can have the values CHECK and SAVE in the ABAP Web Dynpro applications and in the Fiori MTE app. CHECK means that the entire trip is checked; SAVE means that the trip is currently being saved. This parameter can also have other values, but only in the Web Dynpro ABAP application FITE_EXPENSES: FORWARD means that navigation takes place from the general trip data to one of the next road map steps (to the receipts or to the review). It also contains corresponding values in the case of navigation to a substep of the general trip data. Here, the parameter contains the string DOWN/ followed by a specific substep; for example, DOWN/CA (trip cost assignment) or DOWN/MILEAGE (mileage details). In all other call situations, the parameter does not have a value.
  • Importing parameter I_TRIPCOSTASSIGNMENT: Checks that build on this must only be carried out if the parameter I_NAVIGATION_PATH has a value, that is, is not initial.
  • Changing parameter C_ONLY_ONCE: This is transferred with X by default. It can also be set to space in the method. It controls whether warning messages are to be output once or frequently.
 

You implement the methods as user exits in the SAP menu under Tools-> ABAP Workbench -> Utilities-> Business Add-Ins</> (transaction SE19).






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5816 Date: 20240523 Time: 205804     sap01-206 ( 61 ms )