SAP ABAP IMG Activity SIMG_TRIP_VAT_STATUS (BAdI: Check Status of Data for VAT Refund)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   FI-TV-COS (Application Component) Travel Expenses
     PTRC (Package) Customizing for Travel Management
IMG Activity
ID SIMG_TRIP_VAT_STATUS BAdI: Check Status of Data for VAT Refund  
Transaction Code S_P7H_77000247   (empty) 
Created on 20100518    
Customizing Attributes SIMG_TRIP_VAT_STATUS   BAdI: Check Status of Data for VAT Refund 
Customizing Activity SIMG_TRIP_VAT_STATUS   BAdI: Check Status of Data for VAT Refund 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name TRIP_VAT_STATUS    

Use

This Business Add-In (BAdI) is used in the SAP Travel Management (FI-TV) component.

You can use this BAdI to modify the standard check for determining the status for the refund of tax on sales/purchases (value added tax).

The system determines the status for receipts that must contain specifications for the refund of tax on sales/purchases (value added tax). In the standard delivery, the system checks if the fields contain the specifications for refund. If the fields are filled, the system sets the status to "complete" (green icon).

The following fields are excluded from the standard check:

  • SV description (additional description of the goods acquired or service supplied with code 010)
  • Subcode
  • Item number in the document

The BAdI contains the following methods:

  • FILL_FIELD_TABLE

    The system executes this method if a user closes the dialog for entering the VAT details.

    This method determines the worklist of the fields to be checked. You can enhance the standard check (include subcodes, for example), or reduce its scope.

  • GET_VAT_REQUIRED_FLDS

    The system executes this method after it executes the method FILL_FIELD_TABLE.

    This method uses the worklist determined in the method FILL_FIELD_TABLE and checks if the fields are filled according to the checks defined in the method GET_VAT_REQUIRED_FLDS. If the fields are filled, the system sets the status to "complete" (green icon). As the completeness check of the data is country-specific, you may have to provide different checks for each country.

Requirements

Standard settings

In the standard system, there is no activated BAdI implementation.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

See also:

This BAdI uses the interface IF_TRIP_VAT_STATUS. For more information, display the interface in the Class Builder.

Example

You can copy the sample implementation GET_VAT_REQUIRED_FLDS_EXAMPLE and exclude or add individual fields from or to the standard check by commenting out or removing comment characters.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100518 
SAP Release Created in