SAP ABAP IMG Activity TTE_SIMULATION (Simulate Tax Determination and Tax Calculation)
Hierarchy
SAP_AP (Software Component) SAP Application Platform
   AP-TTE (Application Component) Transaction Tax Engine
     AP_TTE_CONFIG_C (Package) Transaction Tax Engine ( Configuration )
IMG Activity
ID TTE_SIMULATION Simulate Tax Determination and Tax Calculation  
Transaction Code S_A4C_68000030   (empty) 
Created on 20020605    
Customizing Attributes TTE_SIMULATION   Simulate Tax Determination and Tax Calculation 
Customizing Activity TTE_SIMULATION   Simulate Tax Determination and Tax Calculation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMGTAX SIMULATION    

Use

To simulate tax event determination and calculation, to test Customizing settings and to produce a trace in the calling client.

This trace contains detailed information on how to correct any errors determined in Customizing or other settings. Where applicable, trace messages contain hyperlinks allowing you to navigate directly to the Customizing activity in the calling client. In a scenario where TTE Customizing is maintained in multiple clients, the Customizing client may not be the calling client.

Note for scenarios in which the Customizing client is not the calling client
In this case, you must login to the Customizing client and navigate manually to the relevant Customizing activity.

To quickly test the simulation functions, the function Generate Sample Document is available. This function supplies all the necessary parameters for testing and can be used to test the domestic sales tax for most European countries, such as the UK and Germany. For other countries, additional customizing may be necessary before this function can be used.

To use this function:

  1. Enter a country and a document description.
  2. Choose Extras -> Generate Sample Document.

    This generates an input document.

  3. Choose Call TTE.

    This generates an output document.

Input Document

When you create an input document (see Activity), the following nodes are displayed and ready for input:

  • TTE Input Document
  • Business Partner
  • Product
  • Items

The table below displays an overview of the nodes. The fields that are mandatory for tax event simulation are listed. In additon to these mandatory fields, other parameters are available allowing you to simulate other aspects of the tax event.

You can display both the input and output documents as XML documents by choosing Goto -> XML Input Document/Goto -> XML Output Document.

TTE Input Document Node

Tabstrip    Mandatory Field(s)

Maintenance    None

Header    TTE command*

    Document Currency Unit

    Text Output

    Business Transaction

    BP ID

    System ID*

    Processing mode*

    TTE trace mode*

    Language*

    (* Default settings supplied that can be overwritten)

Tax Events    Mandatory for tax events that apply to an entire document and     for invoice verification scenarios.

Currency Conversions    None

Tax Code Values    None

Countries    None

Business Partner Node

In this node, you create at least two business partners. This is the minimum number of business partners needed for tax event determination, since one Ship-To and one Ship-From partner is required.

Tabstrip    Mandatory Field(s)

Business Partner    BP ID

    Country

    BP Taxability

Business Partner Tax

Classification    Country

    Tax Type

    Tax Group

Business Partner

Tax Number    None

Business Partner

Properties    None

Product Node

Tabstrip    Mandatory Field(s)

Product    Product ID

    Product Taxability

Product Tax

Classification    Country

    Tax Type

    Tax Group

Product

Properties    None

Item Node

Tabstrip    Mandatory Field(s)

Item    Item Number

    Business Process

    Product ID

    Quantity

    Unit of Measurement

    Direction Indicator

Item BP    Role

    BP ID

Pricing Element    Pricing element type

    Currency type

    Amount

    Currency unit

    Pricing unit

Tax Events    Tax events (only required in input document for invoice     verification scenarios)

Tax Code Values    None

Tax Dates    Tax date type

    Tax dates

Transaction Properties    None

Organizational Units    None

Requirements

The dispatcher is connected.

1. Choose Extras -> Set RFC Destination.

2. Enter the required dispatcher destination.

Standard settings

Activities

  1. Select the required country
  2. Enter a document name
  3. Choose Document -> Create
  4. Choose Input Document
  5. Maintain the parameters as required and described above.
  6. Choose Execute

Result

An output document is generated containing the information about the determined tax event as well as a trace message.

To display the tax values and tax elements associated with the tax events determined, doubleclick the required tax event . The Output Document is display only.

You can display both the input and output documents as XML documents by choosing Goto -> XML Input Document/Goto -> XML Output Document.

Output Document Node

Tabstrip    Additional Information

Maintenance    Technical information such as date, created on and so on

Header    TTE version

    Return code

Tax Events    Tax events

    Any tax events that have been determined for the document     are displayed

    Tax elements

    Tax values

Trace Entries    Information and error messages

Item Node

Item    Tax procedure log

    Group key

    Item number

    Direction indicator       

Tax Event    Tax event

    Tax elements

    Tax values

Example

In a customized system choose Extras -> Generate Sample Document to display an example.

Business Attributes
ASAP Roadmap ID    
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
IMGDUMMY D - Dummy object TTE_SIMULATION  
History
Last changed by/on SAP  20050201 
SAP Release Created in 500