Sap Integration User Guide
Sap Integration User Guide
USER GUIDE
Copyright Notice
© 2022 Thomson Reuters. All rights reserved. Republication or redistribution of Thomson Reuters content,
including by framing or similar means, is prohibited without the prior written consent of Thomson Reuters.
Thomson Reuters and the Kinesis logo are trademarks of Thomson Reuters and its affiliated companies. More
information can be found here.
License Agreements
Proprietary information of Thomson Reuters. Disclosure, use, or reproduction without the written authorization of
Thomson Reuters is prohibited.
In compliance with the license agreements for the Open-Source Libraries leveraged by Thomson Reuters. Our
customers can obtain copies of these libraries by contacting Technical Support at
https://tax.thomsonreuters.com/support/ONESOURCE/indirect-tax/. The software documented within is Patent
Pending in the United States.
DOCUMENT HISTORY
VERSION VERSION DATE SUMMARY
NUMBER
1 July 2022 First release of ONESOURCE Indirect Tax Integration for SAP
User Guide 6.7.X.X
iii
iv
TABLE OF CONTENTS
Table of Contents iv
INTRODUCTION 1
Welcome to ONESOURCE Indirect Tax Integration for SAP 1
Who Should Read This Guide? 2
Prerequisites 2
Resources 3
Support Protocol 4
Style Conventions 4
INTEGRATION OVERVIEW 6
What is Integration for SAP Version 6? 6
Quick View of New Features 7
Benefits of Using ONESOURCE Indirect Tax 12
Seamless Integration 12
Accurate Tax Calculation 12
Auditing/Reporting 12
User Processes That Trigger Determination Tax Calculations 13
USER PROCESSES 64
Log Reader 64
Prerequisite 64
Accessing the Log Reader 64
Log Archive Feature 66
Data Popup Tool 70
Audit Database Report 75
Accessing the Audit Database Report 75
Audit Status Reprocess 77
Accessing the Audit Status Reprocess 77
Reconciliation Extract Report 79
Purpose and Benefits 80
Business Process 80
The Reconciliation Extract Process 80
l Fast, accurate sales, use, consumer’s use tax, and VAT results.
l Monthly tax rate and rules updates for over 175 countries.
l Integrated tax calculation with SAP minimizing user decisions and tax errors.
l Removal of the need to change SAP tax codes each time a rate/rule changes, eliminating business
interruptions, and running out of tax codes in SAP.
l Complete audit database from which you can generate both standard and custom reports as well as returns.
ONESOURCE Indirect Tax Integration for SAP 6 is a totally new interface designed, built, and maintained by
Thomson Reuters. It’s a new global tax integration solution designed from the ground up with integration pointing
into SAP ECC application modules as desired. It consists of a data collector, tax interface, and return process of
tax results to the calling application with G/L integration in support of downstream SAP processes such as
standard VAT reports and returns processing. It makes use of the SOAP (Simple Object Access Protocol)
provided by SAP to communicate with ONESOURCE Indirect Tax Determination. The new Integration enables
worldwide tax calculations, including VAT, US Sales and Use Tax, and other country-specific taxation.
The interface is entirely built within the SAP Development Workbench, including a user menu for all interface
related configurations, setups, and reports. The interface has a new field mapping solution allowing a Tax
Business Analyst to map SAP data to Determination and vice versa via a customization table, eliminating most of
the user-exit coding of the past. Tax calculation logs can be accessed via a transaction with a search function
from within SAP greatly simplifying tax setup, analysis, and troubleshooting.
l Tax Professional
Make this guide available to each of these contributors to ensure you have a successful installation.
PREREQUISITES
For a seamless and successful deployment of Integration for SAP we highly recommend that you follow this
sequence of documents:
l User Guide
l Configuration Guide
When working on Integration for SAP you must have a deep knowledge of the SAP tax features, covering all
aspects of FI, MM, and SD and have spent significant time either as an expert configurator or consultant in these
areas. Because the setup of tax integration with ONESOURCE Indirect Tax also includes technical work in the
ABAP Workbench, such as data dictionary changes and ABAP coding, you must be able to understand and
interpret these changes as well. We recommend that you assemble a team to implement this product because it
requires both functional and technical input. Your team should include someone who thoroughly understands
business requirements and processes, as well as someone who can implement the required software changes.
Please take the following into account before setting up of the Integration for SAP:
l This guide assumes a fresh install of the Integration for SAP. Customers who are upgrading from a prior 5.x
version of Integration should contact Thomson Reuters Indirect Tax.
l Minimum SAP system version must be ECC 6.0, EHP 5. Please see tested platforms by Thomson Reuters
in Platform Information section. With Integration for SAP version 6.4.3.0 the system has also been tested for
portability to HANA platform and was tested with a HANA 1511 environment.
l Minimum Determination version must be at 5.5 or greater due to the use of the Tax Code Qualifier function.
l It is assumed that the persons who install, configure, and use the tax interface in SAP have some basic
understanding of the overall ONESOURCE Indirect Tax Suite of products and how they interact with each
other.
RESOURCES
RESOURCE DESCRIPTION
Customer Look for answers in the Knowledge Base or open a support ticket.
Support
User Guide This guide provides an overview of the architecture, basic business processes and touch
points as they relate to Sales and Use tax, as well as VAT scenarios in FI, SD, and MM.
The target audiences are the Business Systems Analysts, Consultants, and Tax
Professionals who set up the tax processes in SAP.
Installation and This guide instructs you how to install the Integration for SAP. The target audience are
Programmers the Basis personnel who will process the application of the transports to the SAP system
Guide and the ABAP programmers who will perform the required INCLUDE statements within
the user exits and other coding blocks. There is also discussion in this manual for the
ABAP programmer regarding customization logic and how custom additions to the
programs should be added to the system if needed in the future.
This guide describes the supported combinations of operating systems, databases, and
application servers/web containers.
This guide lists the end-of-life dates for ONESOURCE Indirect Tax Integrations for SAP.
Consult this guide to see which combinations of software Thomson Reuters tests with
Integrations.
Configuration This guide instructs you how to configure and set up SAP tables and processes to enable
Guide for SAP tax calculations to meet your unique requirements.
Tables
Configuration This guide instructs you how to configure and set up ONESOURCE Indirect Tax tables
Guide for and processes to enable tax calculations to meet your unique requirements.
ONESOURCE
tables
Configuration This guide instructs how to configure and set up SAP and Integration tables and
Guide for processes to enable tax calculations to meet your unique requirements for special
Special functions within SAP, including Plants Abroad, Cash Discounts, Deferred Taxes, Service
Functions Entry Sheets, Settlement Management, and Tax-only invoices.
Vendor Charged This guide describes functionality for integrating ONESOURCE Indirect Tax Enterprise
Tax Cloud VCT calculations with SAP Global Next transactions.
(VCT) Guide
This functionality is for the United States only.
SUPPORT PROTOCOL
The ONESOURCE Indirect Tax Integration for SAP is built, maintained, and owned by Thomson Reuters Tax &
Accounting Indirect Tax. The business unit has a dedicated group of SAP Business Systems Analysts, ABAP
Programmers, and Quality Assurance people who have built this product. We follow SAP best practices,
development standards, and strive to minimize the impact this solution will have on your SAP environment. With
any 3rd party Add-On in SAP, the vendor providing the solution is responsible for support of that Add-On. In the
case of an issue with the ONESOURCE Indirect Tax Integration for SAP please follow these simple steps to open
a support ticket with Thomson Reuters:
1. Identify the potential issue and gather all necessary facts (log files, scenarios, configurations, screen prints).
3. Provide system environment information such as your SAP Version, EHP and SP level, as well as the
Integration version.
STYLE CONVENTIONS
Style conventions are a guide to how to interpret information.
l Dialog boxes, drop-down lists, selections within lists, and check box titles
l Windows
l Menu items
l Document titles
<brackets> indicate user entry. For example, <host> indicates you should replace the text and angle brackets
with your server name.
Book titles are shown in italics and sections within a book are in quotation marks, such as “Tips and Tricks” in the
ONESOURCE Indirect Tax User Guide.
INTEGRATION OVERVIEW
WHAT IS INTEGRATION FOR SAP VERSION 6?
Integration version 6 is a brand-new interface designed to significantly improve the user experience and
dynamically expand current and future system capabilities for indirect tax calculations, reporting, and data
mapping. The new platform moves away from the use of the SAP Standard Tax Interface and SAP JCo adapter
to new functionality based on ABAP coding directly within ONESOURCE Indirect Tax’s SAP registered
namespace. Users are no longer limited by jurisdiction code-based calculations and design originally written for
the US and Canada sales tax structure. This provides far greater flexibility to meet challenging and ever-changing
global tax requirements and simplifies US and Canadian tax.
The new interface is designed with the global customer in mind and closely to SAP’s structure and logic for global
VAT processing. Users can take advantage of many standard SAP functions that are only made available with a
non-jurisdiction-based configuration. As future SAP features and functions become available to customers, the
new design will likely avoid costly modifications to Integration programs.
Tax code usage within the new interface provides static assignment of tax codes based on downstream reporting
and compliance needs without the requirement of assigning a tax rate, eliminating setup of different tax codes
when tax rates change. This new logic allows the use of SAP standard reports and functions and avoids running
out of possible tax code assignments. Support of a large number of global taxing authorities and historical rate
changes are not an issue.
Users can now take advantage of standard VAT reports, plants abroad configuration, and many other standard
SAP features that were a challenge or impossible with the prior jurisdiction code based interface. Exciting
improvements have also been made to remove limitations on the summarization of taxing authorities, number of
fields mapped to Determination requests and responses, and other key elements required for meeting current
and future global tax challenges.
Below is a reference table of some of the many new features and functions that are now available with the new
Integration design. Throughout the guides we will discuss in more detail each of the new features listed and
further explain what opportunities are now available to the system user.
All configuration within SAP tables All configuration is now located in a separate ONESOURCE
Indirect Tax SAP partner namespace of
/IDT/.
New ONESOURCE user menu within New user menu allows access to Integration configuration
SAP tables, functions, logs, and reports directly within SAP.
Authorization objects for users and SAP transaction codes now allow for access control to setup
general administrator and configuration settings. Access to tax calculation logs and
reports are secured by IDT authorization objects. This allows
access control based on a company’s own security protocol.
New flexible field and address mapping New mapping is put in place to allow users to map request
attributes and response fields from Determination directly with
the use of tables. This simplifies the data mapping process and
reduces the requirement of extensive ABAP coding. This was
also updated in the 6.4.1.0 release to include major
performance enhancements with the addition of dynamically
generated internal code whenever a mapping line is changed
or added. Table user interface has also been updated.
Tax data storage for all business A new table has been created to store data from Determination
transactions in SAP for downstream processes for all business processes
calculating tax. This limits and ultimately will avoid appends to
SAP KONV table. Tax details are stored for SD, MM, and FI
transactions.
New tax code and account assignment Tax code and account key logic used by SAP to assign the G/L
using Determination Tax Code Qualifier account number are now established via Determination’s Tax
Code Qualifier function and the use of specific condition logic to
assign the correct codes and G/L account based on reporting
needs.
New log report and configurable logging Multi-level log configuration is now available within SAP and
methodology can be maintained by user, transaction code, and other
conditions. Changes can be made on the fly without taking
down Integration and stopping tax calculation. New flexible log
viewer is provided for searching and displaying tax calculation
logs to quickly troubleshoot taxing issues.
New log file delete/archive process Menu option has been added to allow management of the log
entries by deletion or download to zip file.
New Developer log report and An additional log for developers has also been added as of
configuration table release 6.4.1.0 which gives the developer additional views of
the background processing with special features that can be
turned on to aid in program debugging and system analysis,
such as routes and journeys that were activated in the call and
other analysis functions.
New Developer log delete function Ability to delete old developer logs that were created for
analysis and debug purposes.
New audit report New audit report tracks and identifies any tax entries that have
been posted to SAP General Ledger but have not updated the
tax audit database. Report can also submit missing items for
repost to audit.
Flexible use between modules of SAP i.e.: SAP users on ECC 6.0 EHP5 or greater can now take
SD, MM, AR, AP, FI advantage of SD, MM, and FI tax calculations. Ability to
configure some or all modules as needed as well as combine
usage of ONESOURCE Indirect Tax and SAP native tax
calculation methods by module.
Removal of limit on number of tax codes Use of multiple tax codes according to their taxing authority and
reporting needs but still retain the rate structure changes within
Determination without having to create additional codes for rate
changes.
Function Description
Removal of jurisdiction code method Taxability now controlled by the address of the taxable entity
and not by the assignment of a jurisdiction code.
Removal of limit on attribute mapping Users are no longer limited by the number of fields they can
map from SAP to the Determination request and the response
from Determination back to SAP. Ability to map 40 attributes at
both header and again at line-item level.
Dynamic creation of tax lines removing External tax interface was limited to 10 jurisdiction levels for the
limitation of 10 jurisdiction levels summarization of tax authority information by level. This is now
a dynamic process resulting in a possible number of 99
separately returned taxing authorities to the line-item tax
calculation. (SAP limited to 99)
Separate tax lines for freight Ability to have separate tax authority lines on the conditions tab
of documents for freight handling separate from the related
expense line.
Authority text now displays on conditions The name of the tax authority now displays on the conditions
tab tab of the documents.
Per document calculation in all modules Per document calculation in SD, MM, and FI allows for proper
calculation of max tax scenarios common on US Sales Tax
calculations.
Use of calculation schema in Purchasing Use of the calculation schema in Purchasing provides
document level calculation for max tax and other conditions as
required.
Ability to use standard VAT reports Removal of jurisdictional calculation method now provides the
access and usability of many native SAP tax reports.
Standard SAP functionality now available Native SAP functions that are limited to non-jurisdictional
with removal of jurisdictional method of calculations can now be made available for external tax
calculation of tax. calculations.
Improved cash discount processing Improved transaction logic for calculation of tax on cash
discounts taken at time of payment
Plants Abroad functionality Ability to use Plants Abroad configuration with SAP standard
configuration.
Tax Codes can be marked as non-tax Ability to mark certain tax codes as not relevant and prevent a
relevant call to Determination if desired.
New SOAP interface replacing SAP’s The JCo Server and External Tax Interface have been replaced
External Tax Interface with SAP’s Internet Communications Framework using SOAP
and Determination’s WSDL/XSD definition.
Down Payments processing Ability to utilize the down payment process in SAP for both
customer side and vendor side transaction including the
request for down payment, down payment application, and
transfer of the down payment to the customer/vendor open A/R
and A/P accounts.
Tax based on entry of gross amount FB00 entry to set tax based on entry of the gross amount has
been reviewed and issues adjusted with calculation and return
to audit.
Evaluated Receipt Settlement process Tax calculation on MRRL and MRRS for creation of invoice in
LIV based on the goods receipt transaction is now available
using standard SAP processes.
Service Entry Sheets Using Service Entry Sheets on purchase orders is now
supported for tax calculation based on the Service Entry Sheet
line-items and transaction ML81N.
Deferred Tax Transfer Ability to run the RFUMSV25 and RFUMSV50 programs with
SAP standard configuration.
New Brazil Enablement New functionality that allows the SAP Brazil Country version
tables and logic to work with our Determination Tax Engine in a
non-jurisdictional environment.
Unplanned Delivery Costs in MIRO Tax call and logic supporting calculations on unplanned
delivery charges on MIRO invoices entry.
Multiple Account Assignments to a Line Ability to allocate a line-item to multiple cost object assignment
Item in Purchasing and MIRO Invoice and calculate tax based on ship to address of the various multi-
Entry assignment lines including ability to override the address when
needed at time of MIRO invoice entry.
Consignment and Pipeline settlements Use of transaction MRKO for transfer of goods for consignment
and pipeline.
New India Enablement New fields and functionality that allows the SAP India Country
version tables and logic to work with our Determination Tax
Engine in a non-jurisdictional environment. Special note that
due to status of SAP release and India government final
approval, there will possibly be another patch release to adjust
for late changes after our release date.
HANA port over Starting with the release of Integration for SAP version 6.4.3.0,
the system has been adjusted for needed table maintenance so
that it can be easily installed on HANA.
Parked Document Processes As of Integration 6.4.4.0 the functions for tax calls and log
entries for parked document processes and transactions were
reviewed and updated.
Tax Data Download Report As of Integration 6.4.4.0 a new tax data download report has
been written to replace the US Tax report in the integration
reporting menu. The download report allows data to be
extracted for Tax Data Table for improved and flexible use of
transaction data for analysis and downstream reporting needs.
New report is not limited to US only transactions.
BAPI support and new utility for BAPI New support for a list of BAPI including utility for use with
BAPI_ACC_DOCUMENT_POST
Tax Only Invoices Ability to post tax adjustments directly to tax General Ledger
accounts.
S/4 HANA Settlement Management New functionality to take advantage of SAP S/4 HANA
Settlement Management feature for processing customer and
supplier rebates.
Vendor Charged Tax Verification (VCT-V) New functionality for integrating Indirect Tax Enterprise Cloud
VCT calculations with SAP Global Next transactions. This
functionality is for the United States only.
New logic can be added to the Integration with greater ease and less ABAP programming due to the structures,
methodologies, and dynamic table offerings. This will aid system users and ABAP programmers in meeting your
specific requirements that are not currently part of this release and provide a platform and process for
incorporating these needs into standard product updates in the future.
Seamless Integration
Once integrated, your tax professionals can continue to use SAP functionality without needing to learn new
technology or processes. Determination automatically obtains a complete set of data elements necessary to
perform the appropriate tax calculations, and then returns the results to SAP all without the need for manual
intervention.
Using ONESOURCE Indirect Tax as your global transaction tax management solution reduces costs, increases
accuracy, and provides the flexibility you need to adapt to an ever-changing business taxation environment.
Auditing/Reporting
Tax calculations that are processed using Determination are stored in Determination audit tables. From this audit
data, you can generate standard or customized reports based on any user-defined criteria. For example, you can
create tax-by-authority reports or any other desired reports needed to satisfy your company’s needs.
Once Determination is fully integrated with SAP, you can automatically generate correct tax results during the
following actions:
l Procure to Pay; Purchase Orders, Logistic Invoice Verification with posting to AP, MIRO, Service Entry
Sheets
Integration:
ONESOURCE Indirect Tax Integration seamlessly connects your ERP system to Determination for tax
calculations and appropriate return of tax results to the ERP for invoice printing and posting to the General
Ledger. Integrations are developed and maintained in-house by a team of Thomson Reuters Business Systems
Analysts, Developers, and Quality Assurance employees providing the most advanced tax engine determination
capability and compliance returns processing globally. Our solution can be fully assimilated into any of your
existing businesses, e-commerce, or financial systems using our open integration architecture. Tax calculation
calls can be easily inserted into existing system workflows and processes to deliver real-time or batch solutions
with accurate tax results.
Determination:
ONESOURCE Indirect Tax Determination enables companies to consolidate their global tax policy in one central
location. All enterprise-wide applications can use a single scalable instance of Determination and still deliver
business-specific tax policy across multiple-business systems. Fully integrated to all your financial applications,
Determination enables the passing of transaction data from the financial system to the tax engine, and returns
transaction taxes in real time for fast, reliable, and accurate indirect tax determination. We offer fully supported
standard Oracle and SAP integrations, as well as custom integrations via our tax calculation web service.
ONESOURCE Indirect Tax Certificate Manager is a solution for the precise tracking, validating, and governing of
exemption certificates. As part of ONESOURCE, it provides integration to our ONESOURCE Indirect Tax
Determination software that allows for the export of customers and exemption certificates.
ONESOURCE Indirect Tax Certificate Manager improves efficiency in all aspects of the burdensome exemption
certificate lifecycle by reducing operating costs, mitigating risk, and increasing accuracy. ONESOURCE Indirect
Tax Certificate Manager reduces audit exposure and assessments while empowering you with full control of the
exemption certificate process to maintain Sarbanes-Oxley compliance.
Reporting:
ONESOURCE Indirect Tax Reporting software provides fast, accurate, and flexible reporting that’s fully
integrated with our ONESOURCE Indirect Tax global software suite to support your global compliance,
reconciliation, and data analysis processes. An easy-to-use interface provides a library of over 40 production-
ready reports that can deliver the most relevant data in a few simple clicks. Drill-down capabilities provide a way
for you to quickly explore the underlying data details, all the way down to the lowest level individual authority
taxes. Our summary-level or detail-level reports allow you to choose the type of report data that best meets your
immediate tax data needs in the most efficient way possible.
Regardless of location or industry, Sales & Use Tax Compliance has the forms required to meet your needs. It
provides over 600 signature-ready state and local returns that are facsimiles of the official forms. Returns and
schedules include sales, seller’s use, consumer’s use, and rental tax forms for all applicable states, as well as the
District of Columbia. Industry-specific food and beverage returns are also included. In addition, more than 70
electronic returns are available and accepted in over 25 states. Sales & Use Tax Compliance is one of the market
leaders in e-filing support. Thomson Reuters continues to work directly with state taxing authorities to ensure full
compliance for each state’s unique electronic filing requirements. The software also goes beyond borders to
include the returns required for tax compliance in both Canada and Puerto Rico.
ONESOURCE Indirect Tax’s flexibility accommodates your distinct VAT compliance requirements, while
maintaining a robust risk management framework. It enables automated data collection and entry in a number of
ways to ensure data integrity from numerous data sources. We maintain and update the latest tax rules, which
enable you to focus on your indirect tax compliance rather than the implications of changing regulations using our
solution maps and your company’s unique in-house knowledge into the compliance process. We can reduce risk
and assist with succession planning. Our VAT compliance solution has in-built and maintained VAT logic,
automated VAT returns from data taken directly from financial systems and has detailed exception reporting
embedded in the ONESOURCE software. It has a full audit trail of data from the return back to the source, and
HMRC-approved XML e-filing capability.
Goods Movement:
Newly updated Goods Movement product is now written within the Integration as an add-on for all of your US
sales tax material and goods movement use tax accrual needs. The new version uses all the table tables and
SOAP interface technology that was provided as part of Integration Version 6. This new menu driven version
takes advantage of our entire new table mapping and menu features for you to batch process your goods
movement entries as part of your month end accrual process. Tables allow you to configure all transaction
movement types you desire to accrue as well as the use of the field mapping logic for adding additional data
elements to the response and request data for the Goods Movement routes and journey paths.
GLOSSARY
The following terms may be helpful when implementing Integration:
TERM MEANING
SOAP (Simple Object Access SOAP is a way to build connections between software applications
Protocol) across networks including the internet. It works very much like a
Yahoo search, where you pass in a request and get a response from
a server. SOAP requests and responses are in the form of XML
messages.
WSDL (Web Services Description A WSDL describes a way to send messages to a software application
Language) and how to read the corresponding response.
XML (Extensible Markup XML is a messaging language that is relatively easy to read for both
Language): people and software.
Pricing Procedure / Calculation A pricing procedure, calculation schemas, and tax procedures
Schema contain a list of conditions that form the spine of the pricing process. It
must be correctly configured for the tax calculation process to work
/ Tax Procedure correctly.
Pricing Conditions / Tax Conditions Pricing conditions are the vertebrae of the pricing procedure in SD
and the calculation schema in Purchasing. Likewise, tax conditions
are the vertebrae of the tax procedure as used by Logistics Invoice
Verification and FI-AP/AR. Each pricing condition represents a step in
the pricing process. Four pricing conditions must be correctly
configured for the tax calculation process to work correctly in SD and
Purchasing; a line-item data collector condition, a Determination
calling condition, and two conditions to place calculated tax data into
the prices. For the tax procedure only the two conditions to place the
calculated tax data into the system is required. (Exception in the case
of Brazil taxes which require multiple tax conditions for assignment to
the various tax authorities)
Group Conditions Group conditions are pricing conditions that work at a whole
document level instead of at a line-item level as the other pricing
conditions do. For this reason, they are very useful in calculating
whole document taxes as required by many tax laws.
Condition Value Formulas / Scale These are a type of user-exit that is part of a condition of a pricing
Base Formulas procedure, tax procedure, or calculation schema.
The Train Station is the point at which the request data has been gathered and is ready to be sent to
Determination on a Train, as well as the point where response data from Determination is being sent back and is
ready for distributing to SAP transactions and tables. The Train Station is the event that triggers a SOAP call to
and from Determination. The double red line represents the flow of the data to and from Determination (the
Train).
The single red line on the top represents the path or Collection Shuttle that is used to gather data from the SAP
system’s various modules into the Determination request. Along the shuttle’s route there are various points or
shuttle stops that are executed to pick up data to go to Determination on the Train.
These can include user/customer exits within ABAP programs, program enhancement points, or areas within the
database or shared memory within SAP.
Likewise, on the Distribution Shuttle line, data is being returned to various points or shuttle stops that are
executed to return data from the Determination Train. These can include user/customer exits within ABAP
programs, program enhancement points, or areas within the database or SAP tables. The data points are “picked
up” or “dropped off” via the shuttle. How the data points are mapped (or assigned a seat on the shuttle) relates to
the logic and procedures within the various Journeys and Routes.
A Journey is an object that handles the complexity inherent to a specific set of data that is sent to or received
from Determination. A Journey includes logic to: pass data to/from SAP transactions, store the data, and move
data from/to specific fields or seats on the Train. For a list of all the journeys and their use see the Installation
Guide section on additional information on Journeys.
A Route is an object that handles the complexity inherent to a group of transactions. Think of it as the bus route
that a shuttle takes from a given “side of town” to/from the Train Station. There can be many different routes to get
to the Train Station. Sales, Group Billing, Group Purchasing are routes that handle the complexity specific to the
SD Sales, SD Billing, and MM-Purchasing transactions, and user-exits.
Other routes include Non-Group-Doc-AP, and Non-Group-Doc-AR, and Non-Group-Doc-LIV which handle the
complexity inherent to a group of transactions in Accounts Payable, Accounts Receivable, and Logistics Invoice
Verification. For a list of all of the routes and their use see the Installation Guide section on additional information
on routes.
You may not be able to see the entire sub menu list that we display in the screenshot above as some of these will
only be assigned to an administrator (General) role as opposed to a user role. The menu for ONESOURCE
Indirect Tax is broken up into sub areas as shown above. Explanation of the sub menus is noted below:
l Standard Setup – Display Only: Within the new ONESOURCE Indirect Tax menu the first section is a list of
table configurations that are provided as standard setup for Integration. The tables are intentionally view
only and are not changeable by the system user. However, in most of those tables a matching table is
provided further down in the menu, which gives the system user the ability to override or augment the
configuration in the standard set up view. By segregating the standard set up from user additions and
overrides we can provide better support to our users by our Professional Services and Customer Support
teams. Segregating the tables will allow them to make quicker identification of problems for issue resolution.
It also allows Thomson Reuters to deliver new functionality at a later point without negatively impacting
customer’s configurations and setups. They also allow the system user to quickly identify their additions in a
separate area.
l Basic Setup - Display Only: Used to contain all the standard setup tables that are provided as display only
views (excluding the Standard Mapping tables.)
l Customer Setup and Extensions: This menu is used by you the user to access the ONESOURCE
configuration tables that are stored in the /IDT/ namespace of SAP. The menu is broken down further into
sub areas to organize the tables by configuration area or task. A system user role may only have display
access to this area however an administrator role authorization will have ability to display, change, and
create depending on the table’s properties.
l Basic Setup at Install: Is used by the ABAP programmer that is doing the installation of the Integration
software to set the proxy configuration and security pointing to the Determination calculation URL and
create the number range that is needed for log entries in the system. It also contains the log configuration
and tables that require special input after install of the initial transports like the route configuration table.
l Customer Setup: Is used by the Tax Business Analyst and contains table views for the customer to add to
or override the standard view configuration tables that are noted in the standard view section.
l Configuration Tables: Is used by the Tax Business Analyst and contains all the tables that you will need to
consider for configuration of your installation. In this section the tables only contain one view for customer
input and do not have a standard view.
l System Enhancements: Is used in customizing functions when or if you need to create additional
advanced program enhancements to accommodate additional Integration logic that is not already part of the
standard product.
Instructions on how to use all of the configuration tables in this menu is included in
l Mappings: This menu contains the field mapping and address mapping tables as well as the base
mappings table. Prior to release 6.4.1.0 the field mapping table and address mapping table had separate
views and transaction codes for standard items supplied with the system and customer additions for
customization. The views were combined for performance improvements and user interface improvements.
l Reports and Tools: This menu is where we will establish the transaction codes for access to specific Log
reports for tax transactions as well as any specialty reports that are created by ONESOURCE Indirect Tax.
Other reports may be added to this menu in future releases of product updates.
Menu is normally displayed without the transaction code, however if you wish to see the transaction
code with the menu item then go to: Extra > Settings and check the Display Technical Names
option.
l Z_IDT_LOG – controls access to the Log Reader search and view function (transaction /N/IDT/LOG)
l Z_IDT_AUDI – controls access to the Audit Data Base Transaction Report utility (transaction
/N/IDT/AUDIT_DATABASE) and the Audit Database Update utility /IDT/UPDATE_AUDIT_DATABASE.
l Z_IDT_RECO – controls access to the ERP Reconciliation Extract Report (transaction /N/IDT/RECON_
EXTRACT)
All authorization objects use authorization field Company Code (BUKRS) as a check object.
More details on the transaction codes implemented can be found in the Installation and Programmers Guide
In addition to the authorization objects we have provided two roles that can be added to a user profile.
/IDT/GENERAL contains all the IDT transactions codes and the full ONESOURCE User Menu. This would
normally be given to users that oversee management of the system, configuration, and mapping.
/IDT/USER contains three menu options within the Reports and Tools menu and would normally be used by a
system user that needs to review log reports, extract data for the reconciliation report, and update or review the
audit database at month end for any transactions that posted to the G/L but did not go to the audit database.
Transaction: /N/IDT/ROUTE_CONFIG
With our new Integration approach, we have redesigned the tax code logic and removed the limitations that were
part of the SAP External Tax Interface. Now a system user can use SAP Tax Codes according to their taxing
authority and reporting needs, but without the need to store tax rates within SAP. Determination rates are used at
the time of tax calculation and are dynamically returned to SAP and stored in the transaction. This gives the user
the best flexibility to now utilize all the standard functionality within SAP as well as run standard VAT and Intrastat
reports.
This means that the prior RFC call to verify the jurisdiction code is no longer used and that address data is now
used to establish correct tax calculation. For US tax calculations it is highly recommended to provide a postal
code including the geo-code, i.e. ZIP + 4. There are 3rd party software packages available on the market that can
assist you with the process to add ZIP + 4 information and keep your address data up to date.
A new dynamic process has been implemented that creates as many tax authority conditions based on the
number of tax authority blocks returned in the XML response from Determination. This is achieved by including
new dynamic condition types on the pricing procedure and tax procedures in SAP. Consult the SAP Pricing
Procedure section of the Configuration Guide for SAP Tables to see how this is done. Tax authorities are no
longer combined based on their jurisdiction level and are reported individually. Each tax authority will be
displayed in the price or tax procedure with the first 20 characters of the authority name.
Sales order with Texas Sales tax detail and Texas freight lines with “F:” prepend in the authority name.
Special note that as of release 6.4.0.0 of Integration this same logic was added to the functions
within the MIRO invoice verification process for freight amounts that are added to the invoice at time
of invoice creation.
The Flexible Field Mapper tool allows for standard mappings to be delivered by Thomson Reuters to our clients
while providing custom mappings which the customer can use to either augment the standard mappings or add
their own unique mappings specific to their business needs.
1. Direct field mapping from a source field to a target field; sources can either be SAP fields or
Determination fields, depending on whether the data is being sent from SAP to Determination or vice versa.
Organizational elements such as Company Code, Country Groupings, or Transaction Processes can be
used to further segregate mappings.
3. Custom User-Exit Code for mappings that are too complex to be done via field mappings. Although this is
essentially the same as the user exit code additions that had to be done in the prior interface, this feature
allows the code to be reference in this table giving a customer the ability to see all user exit code changes
and field mappings in one visible and centralized location. This will make analysis and support by our
Customer Support team easier if all custom code additions are completed and referenced in this manner.
The combination of the three levels of mapping into one centralized tool with the combination of standard
mappings and custom mappings is one of the key features of this product.
Generated Code
New improvements within the new field mapping feature have been added as of release 6.4.1.0 with the addition
of dynamically generated code. The 6.4.4.0 release also brought dynamic generated code to the new Address
Sources table as well. Prior to this release the mapping table logic relied on a different set of code to convert the
table mapping entries. This process is a first-generation development for the new field mapper logic, however,
was not efficient for large scale invoices. What was needed was a way to generate different code that was much
faster and specifically tailored to the exact mapping line of the field mapper. To do this a new program was
written. We are trying to duplicate the performance that can be achieved by coding unique field mapping
programs for each customer, but in an automatic process. This new process makes the field mapper extremely
efficient for the processing of large-scale invoices that contain more than 1,000 lines. Users will now see a speed
improvement from 10x to 100x within the field mapping function for large invoices being processed to and from
Determination. The new dynamic code function greatly reduces processing time but does not change the user
interface or function of the field mapper itself.
When a change to the field mapper/address source mapper is generated the system will create a transport
request. This transport request will then be able to be released and moved to the next system for update of the
field mapper table. Normally this process of field mapper table update would be done in the development system
and then transported to a testing or QA system and tested before being moved to production. The update of the
dynamic code that is used with the mapper is then re-generated at the time the new mapping is used for the first
time after the change is made or transported to the target system. Users will experience a very small delay the
first time a line is utilized while the code is regenerated and saved. This is like the time frame when a program is
re-compiled after a change. This process ensures that the code being used on the transaction always correctly
represents the corresponding field mapper line. Once the code is dynamically generated after the field mapper
line change, it is stored and reused until the next change of the field mapper line-item for that specific client and
system.
the older code that was created from the prior change is still in the table but is no longer used as the new code
updated is used instead. This can cause a build-up of old and outdated dynamically generated code that will need
to be removed from the system to keep the system clean. There is a new program that you will need to run in
background on a regular basis so as to clean up and remove the older code that is no longer being used.
We recommend that you have this program set up to run on a background job on a regular basis to keep your
system clean of older dynamic code that has been replaced by new mappings. Depending on how frequently you
are changing field mapping this will likely be once a month or if a lot of changes are being performed possibly
once a week. The program does not have any selection criteria and would be simple to run and schedule by your
IT staff.
In the example below, the two highlighted lines should be the only ones deleted after the program is run. You can
see by this table that three entries exist for this journey and that the two highlighted are the older ones that need
to be removed:
After running the program, you can see it is deleting the correct entries and that the most current line for Journey_
Item_Request is now the only one on the list:
Our new design accomplishes this goal with the use of a driver tax code and the use of final tax codes and
account key assignments. Final tax codes are assigned to the transaction using the Tax Code Qualifier feature in
Determination and the ERP Tax Code field that is passed back from Determination to SAP.
2. This tax code triggers a tax call to Determination (O1 tax code in this sample).
3. Determination assesses the tax request data and determines proper taxability. An ERP Tax Code is
assigned based on the Tax Code Qualifier conditions configured.
4. The tax code value is returned to SAP in the form of the ERP_TAX_CODE field on each Tax block. The
ERP_TAX_CODE represents a concatenation of the SAP tax code and the SAP account assignment key.
The account assignment key is now added to the transaction from the Tax Code qualifier ERP Tax Code
assignment. Prior to this new process the account assignment key was part of the original tax procedure
logic.
5. The driver tax code (O1) is replaced with the values returned in the ERP_TAX_CODE field. An SAP tax
code and account key will be assigned to each tax condition in the transaction.
6. At time of posting a document to the G/L, table T030K is evaluated to determine the proper G/L account
using the tax code and account key from the transaction.
7. Posting to the G/L will store the tax code and account key as well as the tax rate in the proper SAP G/L
tables in support of downstream processes.
8. When running a tax report, the tax code and account key combined with the tax rate stored for the
transaction are used, in combination with the tax code text stored on the tax code itself.
For details on how to setup this process see the Configuration Guide ONESOURCE Tables.
REPORTING
Example of transaction F.12 “S_ALR_87012357 - Advance Return for Tax on Sales/Purchases” report.
Due to the change of the US tax calculation away from jurisdiction-based tax calculation the US
Sales Tax report will no longer apply. You can use the VAT report to get the same information now
for US Sales Tax company codes.
Selection screen:
It is critical that you understand the data that is in the /IDT/D_TAX_DATA table as there are entries for vendor
charged tax, entries for Sales Orders, Purchase Orders, etc., that are not applicable to entries that you would
need for actual G/L postings of tax liabilities for compliance reporting. You will need to know what to exclude from
your data selection options. For example:
l Document type VBAK for a sales order and EKKO for a purchase order should be excluded using
the multiple selection button to exclude these values. Their entries are not postings to the general
ledger.
l Any ERP tax codes that have the NVV account key as the last three digits as these are vendor
charged or non-recoverable items.
l Any ERP tax codes that are assigned for deferred tax. (A5 in our example)
Authority Name field will be important as a selection criterion for selecting entries by state if using US data. You
can select all California data by using a selection of “CA*” (the two-digit abbreviation of the state followed by *) as
all US state authorities start as XX- with the state abbreviation in the name.
The two check boxes for statistical entries are important as well. If using the data for compliance you would want
to only show non-statistical entries. However, for other analysis you may want to see only the statistical or
possibly both. The second button will help you do this.
The tax code field may be helpful in excluding deferred tax postings that are deferred and not due to be paid.
The last checkbox is used to switch between ALV Grid view of the report and list view.
We recommend that you run the report for only one US State at a time and save your selection screen entries as
a variant so that you can easily re-run the report with a consistent set of criteria.
Selecting the fiscal year may not bring forward all your data as Billing and Sales Order transactions go to the tax
data table with a blank fiscal year field due to the nature of SD document postings. We have adjusted for that
somewhat in the program but recommend using the posting data selection to select data based on a date range.
Once you are past the selection screen and into the output results there is also the ability to set display variants to
save your setting for field selection. This feature works that same as standard reports in SAP for field selection.
New fields were added to the tax data table for use on this report. Reminder: the fields are added as
of this release and will not be populated for data that was transacted prior to the release being
applied to your system.
If by chance you are needing a field that is not in the selection drop down list of fields for the report or have a
custom need to create a data element based on a concatenation, calculation, etc., we have provided a BADI that
you can use. This will allow you to program what you need as an addition to the internal memory of the report and
include it in the output. As an example, there is an issue with the gross amount column as it repeats the gross
amount for multiple tax authorities. If you have five various tax authorities all charging a tax amount for a given
line, then the gross amount is replicated five times and totaling this column would overstate the gross for the line-
item on the document by a factor of five. (data is at tax level rather than line level). This can be solved by creating
a new field for the corrected gross amount that only shows the gross on the first tax block for the line-item. This
BADI is not populated for you but we have provided the example of the gross amount adjustment as this would be
a very common issue for most customers. See optional BADI section of the Installation and Programmers Guide
for the section on use of this BADI and the example code for the gross amount issue.
The old US Tax Report is no longer in the menu however the program was not removed and can still
be accessed with the old transaction code if a user still wants the old report.
Transaction: /N/IDT/LOG_CONFIG_V
The above image is the standard view of this table and has one default entry setting your system to error mode on
all logs for all users and transactions, etc. You cannot modify this standard view of the table.
Transaction: /N/IDT/LOG_CONFIG
This view of the table allows the user to override or add to the log configuration. Making additions to this table no
longer requires the user to stop processing on the tax calculations to re-start the server. Lines can be added and
turned “ON” or “OFF” using the Active button without having to delete the line from the table. The customer has
the added flexibility to be able to select debug level logging for a specific user, transaction code, company code,
or application server or any combination thereof. This allows for maximum flexibility for logging option to manage
the storage and processing demands on your production system while still getting the level of information you
need to identify processing issues.
Once configured, logs are written to a /IDT/ owned logging table in a compressed format, and accessible via a
flexible log search tool.
The log report tool will be discussed further down in this guide under Log Reader. It allows the user to search the
log records based on various criteria and even search string logic and pull up a list of applicable logs. The users
can then select a given log on the search list, double click on it, and view the XML log entries for the selected
transaction. See copy of selection screen below.
A developer’s log feature has been added that gives the programmer the ability to gain extra insight into the inner
workings of the programs and function with the Integration for debugging issues or making custom
enhancements. The log should never be activated in the live environment but can be used in the Dev or QA
clients of SAP. Logs are saved for temporary reference and functions are available for the programmer to delete
old logs from the files. The developer log has a configuration screen that allow a given user the ability to
selectively turn on and off a variety of log functions based on what they need for debug analysis. Screenshot
below shows the configuration screen and options.
User name of the programmer is entered to the first column and the report will only be run based on the
transaction testing of the listed users. Features such as the full request log XML, response log XML, log error
messages, routes used in the transaction call, FI process used in the call, and journey used in the transaction call
can be individually be activated so that they are displayed within the developer log data. The Hooks feature
allows the developer to what hooks are being used in the program and where there might be an issue with a
missing hook or a hook not processing correctly. The Show Req. (request) and Show Resp. (response) columns
were added to record all changes to request and response fields per Journey.
New features may be added to this log at a later date and will display as additional columns on this selection
screen. See Installation and Programmers Guide for more details
The log reader allows the developer to review and select the log they wish to view same as the normal log
process
The developer log delete transaction will allow developers the ability to remove numbers of developer log entries
from the files based on selection criteria such as username, transaction code, date range, and company code. A
test run button will give you a view of how many records were selected for deletion prior to removal. Uncheck the
test run button to delete the records selected.
SPECIAL FUNCTIONS
Above screen illustrates the simple configuration of a Plants Abroad pricing procedure sample. The print screen
below is an example of the conditions tab for a Plants Abroad billing document and includes both the buyer side
and seller side VAT calculations on the stock transport order.
New table mapping of the tax code to the Determination override tax code is required to provide the new logic
required to meet this challenge, as well as additional Tax Code Qualifier logic to assign this override calculation to
the correct tax code and account key for reporting. The configuration required for this is noted in the Configuration
Guide for ONESOURCE Tables “Cash Discount Configuration Table”. The additional Tax Code Qualifiers
needed for this process are in the Configuration Guide “Cash Discount at Time of Payment: Additional Tax Code
Qualifiers Needed”.
Special Note: When processing an enjoy transaction, (FB60, FB65, FB70, FB75, etc.) the TAX tab
will not display the correct tax base and tax amounts per the Determination calculation if the
scenario involves a net-of-tax calculation like what is done for GB. The SAP system will not reflect
the reduced net base amount or the reduced tax amount but will instead revert to the total base
amount including the cash discount within the TAX tab section of the document. VAT will display as
the higher amount including the VAT on the cash discount. For a cash discount scenario for GB
company code, you need to rely on the conditions tab as it will display the correct amounts per the
net-of-tax calculation.
Deferred Taxes
Deferred Tax functionality could not be used combined with jurisdictional taxes; hence it didn’t work with the SAP
External Tax Interface based approach to VAT. The new tax interface enables tax calculations on Deferred Taxes
based on SAP’s native tax process and reports. This is achieved via configurations in the deferred tax code within
SAP as well as other journey and route logic additions to Integration. For more details on this feature see the
chapter “Deferred Taxes” in Configuration Guide for Special Functions.
The deferred tax process within the Integration has been designed to work with the programs RFUMSV25 ( F.38 )
and RFUMSV50 (S_AC0_52000644) to transfer documents that have cleared the payment process from the
deferred tax liability account to the target tax account. For assistance to the user we have identified the required
configuration for deferred tax within the FI module of SAP such as tax code setup and deferred tax rules, as well
as what is required within the Integration tables and Determination rules, mapping, and tax code qualifiers.
We have noticed that certain selection criteria used on the F.38 RFUMSV25 deferred tax transfer
program can result in incorrect duplicate transfer entries. This is something that has occurred in our
test systems that are running ECC 6.0 EHP 6 and 7 but only when trying to run the transfer program
across multiple chart of accounts. We therefore require that you do not run F.38 across multiple
chart-of-accounts and suggest only running the program for more than one company code if they
are all using the same chart of accounts for each of the included company codes.
At this time, we have seen some issues on partial payments when there are multiple invoice lines
using the same tax code. If you need to post partial payments with these documents the F.38
program may post the incorrect tax transfer amount based on the original line amount rather than
the partial payment. A workaround is likely required. If you use partial payments on deferred tax
invoices this issue can be avoided by setting the tax summarization table configuration to
summarize tax lines at both the tax code and G/L account level. By doing this the lines on the
invoice will be summarized into one tax line for the authority and the F.38 program will then handle
the amount correctly and only transfer the partial payment amount to the target tax code.
Down payment request F-37 Customer Down F-47 Vendor Down Payment Request
Payment Request
Note: use the final tax code as the
Note: use the final tax input within the transaction. Do not use
code as the input within the driver tax codes for this process.
the transaction. Do not
use the driver tax codes
for this process.
Process down payment F-29 Post Customer F-48 Post Vendor Down Payment.
Down Payment.
Can either process based on prior F-
Can either process 47 request or create as new.
based on prior F-37
request or create as new. Note: use the final tax code as the
input within the transaction. Do not use
Note: use the final tax the driver tax codes for this process.
code as the input within
the transaction. Do not
use the driver tax codes
for this process.
Transfer down payment to A/R or A/P F-39 Clear Customer F-54 Clear Vendor Down Payment.
account Down Payment.
Clearing/payment of final invoice Any of the normal Any of the normal transactions used
transactions used for for processing cash payment against
processing cash receipt A/P such as F-53, F110, etc.
against A/R such as F-
28, etc.
Multiple account assignment is also available on SES service lines with the tax calculation processed at the
multiple account assignment level within the P.O. and ML81N.
When PO line-item is utilizing Service Entry Sheet functionality with multiple account assignment, Integration now
creates related lines and tax blocks as per quantity/percentage distribution in the POs SES account assignment
tab. The ship-to addresses could be different due to different cost centers or other cost object assignments.
Some customers may elect to include ME21N and ML81N functionality to override these addresses at time of
entry with an address number from the ADRC address table much like the options we have also provided for line
level as well as G/L account tab address override logic.
See the Programmers Guide section of the Installation and Programmers Guide for optional addition of the added
tab for address override.
This new table can eliminate the use of a customer authority in such cases. See the Configuration Guide for
Special Functions for further instruction on how to set up a second override/driver tax code and table entries for
establishment of offset postings.
ADDITIONAL FEATURES
One option is to look at the tax code; however, SAP uses tax codes at line level where the role in Determination is
at invoice level. Integration looks at the first line with a tax code in SAP and uses field T007A-MWART to
determine the role: (the field is part of the tax code configuration in transaction FTXP in the properties tab.)
V = Buyer A = Seller
The "primary partner" structure within the FI journey includes a "Role" field. This field is populated in "default G/L"
FI processes. In the Header Journey, when there is no customer or vendor within the transaction, this field will be
used by default to set the Role (Buyer or Seller based on which tax code is assigned to the line).
Reminder that this logic will possibly trip you up if you forget to use the correct driver tax code that is
applicable to the transaction. If you use an input tax driver tax code I1 on a FB70 Customer Invoice
transaction the role will be incorrect, and your posting of tax will incorrectly post to the input tax
account instead of output tax account. We recommend that you set default tax codes in your system
for these transactions to prevent such user errors at time of invoice entry.
One exception to this rule however is when we are calculating the tax based on the US Special Logic table for US
Sales Tax and accrual of Use Tax. In this scenario the taxes are calculated based on the correct role for the tax
code based on this table configuration.
In order to do this a new journey /IDT/JOURNEY_US_SPECIAL_LOGIC2 was created that provides for two
separate invoice level calculations to be passed to Determination much like the special logic that was created for
both sides of a Plants Abroad stock transport order process. When you look at the calculation log using this new
journey you will see within the request and again in the response to and from Determination two separate
sections for the invoice: one using a buyer role and the second using the seller role. When the entry is posted for
the G/L document the two invoices are combined into one single G/L document so that both the sales tax and use
tax accrual can be processed correctly in a combined document.
Within FB60, FB65, FB70, FB75, FB01 you can get to the new address field by double clicking on the line-item.
This will get you to the Correct G/L account item screen where you then click on the MORE DATA button. The
Coding Block pop-up screen will then display, and you can then do a search on the IDT ADDRESS field. Behind
this address field is the ADRC table of addresses. You can search this table for applicable addresses and select
the one that you need. This will populate the IDT ADDRESS field with the database number for this address and
allow for it to be used within your tax calculation by overriding the ship-to address for the line-item.
This screen shows the line-item change screen and More Data button where the address field is located.
Click on the IDT Address field drop down to get the search screen for addresses in table ADRC.
Once you locate the desired address in the search screen double click on it to bring in the address number into
the IDT Address field.
You will need to do some additional mapping in the field mapping table to enable this feature and map the
override address for the request to Determination. See the Configuration Guide ONESOURCE Tables section on
Field Mapping for more information on required tasks.
Once the field has been updated on the invoice entry you can have the system make a call to Determination with
the new address override. You should then see this new address information in the line-item ship-to XML data
within the request to Determination in the XML log for the transaction.
MIRO Process
The MIRO transaction is a bit different in that you do not have the ability to view the coding block within a More
Data screen at the line-item level. It is therefore a requirement that the new address field be set as a column
within the line-item entry screens or as an entirely new customer tab within the MIRO line-item entry section of the
transaction.
There are three places where this could possibly be added. Explanation is below:
Purchase Order Reference tab: Within the LIV invoice entry you will see the first tab as being the Purchase
Order Reference. Here the item entered is referenced to a line-item on the original purchase order. For this tab
we have elected to add the address function using a BADI that activates the customer tab for users to enter
custom fields. There are several ways that this can be added to your screen for the PO Reference data. Our
recommended option is based on OSS note 1156325 which uses a BADI to add the new tab and then add the
field to the DRSEG table and map in our Integration. See Configuration Guide for instructions on how to add with
this method.
G/L item tab: This tab is used in MIRO to add additional charges to the invoice that are not referenced on the
original purchase order. In such a situation the user may need to update the ship-to address on this line to be
different than what was established on the order. A user would need to be able to pull in the new address field into
the display variant that is used for the G/L tab of the invoice. We have included special instructions in “Appendix
1” of the Configuration Guide for creating this addition to your display variant on LIV entry.
Material Tab: The Material Tab is another area where a user may enter a material number that is being charged
on the vendor invoice that is not referenced on the purchase order line-items. Again, like the G/L item tab the user
would need to add this field to the display variant for the material tab. At this time, we have not added code to
support the use of the Material Tab for the override address feature but will do so in a future release.
Note that in this configuration set up we have addressed the set-up of a ship to address option to
change the ship to at time of invoice. This same process can also be implemented with the ship from
address if desired.
In the screenshot below, note that the details tab has a field for the unplanned delivery charge amount as well as
a tax code assignment. This is at the top of the details tab. Note the scroll bar to the right is in the top position.
For a user to also access the special override access field you must first use the right scroll bar to move to the
bottom of the viewing area of the tab. There you will see the additional address number feature that can be added
to the screen much like the same function we discussed above on the use of an override address for regular line-
items in FB60, MIRO, etc. See screen shot below.
In this example you see the new address number field at the bottom of the scroll bar for the details tab. You have
available the same search options in the drop-down view of this field in order to search for an address number
from the ADRC table. Selecting or inputting an address number here in combination with the amount and tax
code will tax the unplanned delivery charge and post it to the G/L based on your method selected within the SAP
configuration for unplanned delivery charges. See Configuration Guide for Special Functions for further
instructions for set up.
Enter your new address and save the transaction. Then return to your other session and search for the new
address number in the table and hit enter to add it to your line-item data.
In the U.S. a vendor charged sales tax scenario does not make an entry to the Audit Database as the tax amount
is not a liability of the buyer that must be posted to a tax liability account for future payment to a tax authority, and
there is no posting to a tax recovery account. In this scenario the tax amount is calculated and a posting is made
to the Customer or Vendor account and offsetting posting to the expense or revenue account. No tax amount is
accrued as you are paying the vendor directly.
Because of this, a system user may wish to process their incoming invoice from a vendor by automatically
accepting the amount that the vendor has charged for US Sales Tax on the invoice rather than sending to
Determination a request for a tax call. If the vendor has charged an amount that is different than the amount that
would have been calculated by Determination, this process will allow you to avoid the out of balance issue on the
invoice and pay based on the vendor charged amount. In this situation the system user is accepting the amount
of tax charge without question and the burden of proof for the correct tax calculation lies in the hands of the
vendor who is charging the tax.
In this scenario the user would enter the gross invoice amount and the tax amount as it is submitted on the vendor
invoice. The calculate taxes button would not be checked and the system will then allocate the tax amount across
the various line-items on the invoice according to native SAP tax program logic without a request call to
Determination. The amount of the tax will not be sent to the audit database or the IDT/D_TAX_DATA table. This
can only be done at the header level and only for Vendor charged US Sales Tax.
If a system user is required to self-accrue a consumer use tax in the US then the calculate tax button is required
and the user does not enter the tax amount in the taxes field, but instead allows the system to make a call to
Determination and record the taxes per Determination content.
This feature will work for US vendor charged sales tax only if correct configuration has been done to the US
special logic table /IDT/US_LOGIC. See the Configuration Guide for ONESOURCE Tables for correct
configuration of this table.
Please note that this is not an automated process and requires manual entry. It cannot be used for
automated entry of invoices now and is not intended to be a vendor charged tax automatic solution
including partial accrual logic for differences, etc. Further enhancements to this function will come in
a future release.
You will see that in this example the statistical lines are marked with “X” and the amounts per tax authority for
each line that are from the G/L posting are marked as “BLANK” in the statistical flag field in the table. Now the
statistical calculations coming from Determination are not displayed in the audit database as audit is a
representation of the G/L document (US Sales tax amounts paid to the vendor are not a tax liability and therefore
not posted to audit). Statistical postings are only shown in the /IDT/D_TAX_DATA table.
l /IDT/JOURNEY_AUDIT_SAVE assumes the calculate tax button has been checked and resends the last
tax call so that it goes to audit. This is standard logic we’ve been using for a very long time and will not be
changing.
l /IDT/JOURNEY_AUDIT_SAVE_TAX_UP will be used for all manual tax scenarios (calculate tax = “ “). To
update the audit database, this will use the last tax calculation but will make changes to a few fields like
override amount, etc., and then send the data to audit. This is used for vendor charged tax override amounts
and down payment transfer posting because the transaction removes the check on the calculate tax box as
part of the transaction process. These transactions use data other than what was returned from the last
Determination tax calculation.
Tax codes that are added to this table should be used like a driver tax code to tell the system the item as a whole
is not relevant to a tax calculation. This is different than the use of a tax code that is brought back from a tax call
as being exempt from tax after a call has already been completed by Determination. In such a case a user should
have two different tax codes.
l One should be used via the tax code qualifier as an exempt tax amount or zero tax. Entries using an
“Exempt” tax code will create a call and calculation in Determination that will go to audit along with other tax
codes on the same transaction. They would not be included in this table. Such would be the case if a trans-
editor sent a tax block for one tax authority as taxable and a second tax block on the line as exempt for
another tax authority for possibly a regional, city, or district level tax.
l A tax code as Not Relevant to tax would be used on the line as a driver and would not make a call for the
whole line-item on the order. It would be used on this table to tell the system to not make a call at all for this
item. No tax will be calculated, and nothing is sent to the audit database for this line.
We have also added an additional option for a user to be able to utilize a BADI to add additional custom logic to
the summarization using additional ABAP programming. A user can use this new BADI to set limits on when to
summarize based on number of tax lines, document types, etc. as they see fit. See
Configuration Guide for Special Functions section on Summarization for required configuration steps and the
Installation and Programmers Guide for more information about the BADI.
Currently this table will summarize BSEG and BSET table tax lines only for Purchasing and FI module transaction
being posted to the General Ledger, but we have not extended this functionality to SD billing documents. The
process will be extended to billing documents in a future release of the product.
The current use of the tax off of gross assumes that all taxes on the order are being charged by the vendor on the
invoice. Partial self-accrual for Canada PST, offsets used for Excise tax and other uses of the offset table would
require a split-logic calculation between gross and net tax base amounts. Once Determination supports vendor
charged tax scenarios including accrual adjustments, then this logic can be re-visited in Integration. Please
consult with our Professional Services team if you have any questions or concerns in this area. Until this can be
addressed in a future release, manual processes may need to be established for partial self- accrual when tax off
gross method is used.
With our new integration the rate is not directly tied to the tax code but is calculated in Determination based on
other fields and factors. To avoid some of these issues you need to take a step back and think of the situation as
SAP logic would view it. We have found that the following work around is successful for proper allocations of the
lines however it will likely require you to set up more specific tax codes than you originally anticipated:
specifically, for countries with many state or province level authorities and tax rates.
If you are entering the invoice using a net amount entry and the Net Calculation is checked using FB00 settings,
then the use of a driver tax code of I1 on the lines will allow the transaction to work correctly.
If you are entering the invoice using a Gross amount entry and the Net Calculation is not checked using FB00
settings, then you will need to use specifically assigned final tax codes on the various line-items and avoid using
driver tax codes on the transaction. Different tax codes would need to be assigned based on the underlying rates
being different. For example, in the US, we recommend you try using separate tax codes for each State such as
WA for Washington, CA for California, etc. instead of V1 for all the various State level taxes. Likewise, for
Canada, separate tax codes for provincial level taxes are advised as the PST rate in one province is likely
different than the PST in another province.
Calculations based on the entry of the gross amount are often likely coming from automated billings of travel card
or purchase card programs that by their nature add another level of complexity to the tax code assignment
process. In some of these cases the simple assignment of more tax codes for each state may not be enough to
get proper allocation as desired. We recommend that you contact our Professional Services Group to discuss
other possible options that could be utilized including additional custom allocation logic.
An example of the multiple line assignment and the resulting tax conditions is shown below to demonstrate the
new logic.
In the example above cost center 3000 is in Washington, 3001 in California, and 3002 is in Arizona. The resulting
tax calculation as shown below demonstrates the multi assignment broken out and properly tax based on the
correct address for each of the three assignments.
Users may also need to change or override the ship-to address that is used on a multiple account assignment
line-item at time of MIRO invoice processing. We have added additional functionality for this that a user may elect
to add to their MIRO multiple assignment screen that will give them the ability to insert an address number from
the ADRC address database that will override the address that is obtained from the assigned cost object master
data address source. Additional modifications are required for this feature and full instructions on how to add the
column to the screen as well as additional BADI and code insertions are all included in the Programmers Guide
section of the Installation and Programmers Guide.
It is standard SAP native logic to not allow a valuated goods receipt on a multiple account
assignment line-item. This means that for a line on a PO that uses the multiple account assignment
feature you will not get an accounting document at time of the MIGO transaction and no accrual will
pass to the GR/IR account. The valuated transaction will not occur until the time of the invoice entry
on the MIRO transaction upon invoice verification.
You will be able to make the tax adjustments using the transactions in Finance (SAP Transaction Codes: FB60,
FB65, FB70, FB75) when you enter the tax amount directly against the tax G/L account. You will also be
prompted to enter the tax base, whereby here you have an option to either manually enter the tax base amount or
allow the tax interface to determine this for you.
USER PROCESSES
This section outlines the main areas an SAP user would access while transacting business processes which
calculate tax.
LOG READER
The new log reader report is used to assist you in analyzing what tax was calculated and why. It is a simple tool to
search for a document that calculated tax and view the XML data sent to and received from Determination. As of
release 6.2.0.0 the logs are now in a compressed format to reduce the size of the log table.
Prerequisite
For a document to be available in the log reader report logging must be enabled.
See the Configuration Guide ONESOURCE Tables for details on how to setup logging. If logging has been setup,
but no document has been found, then most likely no tax call has been initiated by the process in question.
Review the pricing analysis and see if the ZITD/ZITE conditions were fulfilled.
On the search screen shown above you can select log entries based on the following selection criteria.
SELECTION DESCRIPTION
OPTION
Log Date The date or date range the transaction was entered.
Log Counter The log number as assigned by the system. This can be helpful when sharing a log with
another person, just provide them with the log number and they will be able to easily look
it up.
Transaction The transaction code used that created the log (VA01,ME21N, etc.).
code
User Name Who created the transaction. It is the SAP logon username.
Log Level Ability to narrow down log based on configured log levels (Debug/Error).
Document The document number of the transaction. Only available if the transaction was saved to
number the SAP database.
String Search Any data string that would be found in the XML data.
Filter Feature allows user to filter out the many messages that show in the log from
Determination Determination or leave them in the display view of the log.
Messages
All search fields support SAP’s extended search capabilities with search ranges, inclusions,
exclusions, etc.
Once a search has been defined and executed a results list is displayed. You will see the various logs that were
selected. Note that some of the log entries are from an initial calculation prior to the transaction being saved. In
those calls to Determination you will not see a referenced document number as the assignment of the document
number has not occurred at that time.
The errors column will display the number of any hard errors that are of a severity level 2 category that signals
that there is a problem that prevented a tax calculation in Determination. Level 1 errors are warnings in nature
and are not counted in this column.
By double clicking on a given line-item in the list, the system will take you to the detailed XML log. For details on
how to format logs quickly and easily see Appendix 1: Log Formatting.
Days of log Records to Retain The number of days you want to keep in the log, taking all other
items in the log earlier than this count into consideration for the
process option.
Date Created The day the log was created. Can use the multi selection option
to select a date range or set of ranges. Must select either date
created or the number of days to keep but you cannot select
both. An error message will occur if both fields are selected.
User Name User who created the transaction. It is the SAP logon
username.
Transaction Code The transaction code used to create the log (VA01, ME21N,
etc.).
Log Level Ability to narrow down the log based on configured log levels
(Debug/Error).
Delete Data Check box. If checked the records selected will be deleted. If
Test Run button is also checked then it will not delete and only
display number of logs selected for deletion.
Export Data Check box. If checked the records selected will be only
exported to a zip file on the server selected. If the Test Run
button is also selected the export file will not be created but will
display the number of logs selected for the export. To delete
AND export the log data at the same time, then both boxes
must be checked together. The export data check box selected
by itself, will not remove the logs from the log file.
Test Run Test run check box will run the selection and tell you how many
logs were selected based on the other criteria. However, it will
block the delete and the export data box selections if they are
checked.
Application Server Path The file path on your application server that you want to store
the export file.
Presentation Server Path The file path on your presentation server that you want to store
the export file. Use either the application server or the
presentation server but you cannot choose both. Jobs run in
background must use the application server path.
Package Size The number of logs you want to bundle into one zip file for
export.
The user has the option to delete the selected log records, export them to a zip file, or to export a zip file and
delete the records at the same time. If exporting to zip then the application/local server path becomes a required
field. A user can also specify the option of package size desired for the export data to break the zipped file in to
manageable parcels. If more records were selected than the package size the system will split the logs into
several zip files that contain the number of logs requested in the package size. A second level zip file labeled
DataFile-1, DataFile-2, etc. will be created as needed by the package size.
Make your selection criteria selections and run the report first in test mode. A report will come up in foreground
mode showing you the number of logs that were selected for the delete or archive. You can then take the Test
Run button off to then reprocess and update the file.
With this transaction code the process can be scheduled to be run in background as a regularly scheduled job.
The test run button would not be used on this option and the job will immediately update the log files per the
request.
Logs that are sent to a log archive server location will be saved in a zip file format. The zip file will contain the
number of logs selected or the package size (whichever is less) and at the end of the zip will be an excel
worksheet that can be used as a log list or index. It will show the log numbers that were stored on the zip and
other information on the log data.
Example of the zip data file including the logs plus the Excel format index.
Some transactions make many calls to Determination during the transaction: a ME21N Purchase Order is
especially invasive in this respect and can cause the system to literally loop again and again through this pop-up
feature and not let you out of the transaction. If this occurs, simply start a second session and change/ deactivate
the popup tool and return to your prior session. Doing this delete process will allow you to proceed with the
transaction without further issue. See screen shots below to access this feature, configure it, and view how it
works.
Once in the screen you will be able to change it to change mode and add lines to the table for your username and
activate the journey. Currently the tool is available for the below list of journeys. More journeys will be added to
this tool in the future and a drop-down list added for easier use. To deactivate a given journey, just return to the
menu and turn off the active button. Journeys currently available include:
Next go to the desired transaction you wish to use this tool on and enter your data. When a call to Determination
is made within the transaction the tool will activate and pop-up the data for the first journey selected.
For example, we have done a FB60 invoice which will use the standard request, non-group line-item request,
standard response, and tax data table response journeys. You see in the screen shot above that the header
request journey displayed and shows the list of tables. An X in the Values Present column tells you there is data
available within this table for this given transaction.
Double click on one of the tables listed and the popup will take you one level down into the actual field names and
data populate within this transaction.
In this example we clicked on the KOMK table line. Notice the header of this screen shows the journey name and
the table you selected. You see the actual data that was available by field name on this screen. This will aid in
analysis by a Business Analyst as to what data is also available for further field mapping without the need to use
complex program debugging tools. To return to the journey level simply use the “X” in the top right corner of this
popup level to move one step back. You can then opt to select another table to view or X out of the journey.
Exiting out of the journey will bring up the pop-up for the next journey that was selected in the config if it is used in
the transaction. Continue with the analysis tool until you go through all the available journey screens at which
point the tool will end until another call is made to Determination.
The item request journey screen will look a little different as it first shows the list of the row numbers at the line-
item level. Click to then select a line and go further down into the table detail for the line selected.
The standard response journey will look a little different as well. Selecting parameters will get you to the next
screen below:
Reminder that depending on the transaction you are testing you may need to start another session
to deactivate the popup tool before you can exit your tested transaction scenario. If multiple calls to
determination are invoked, the tool can possibly loop depending on the document.
Reminder that depending on the transaction you are posting for your month end close process you
may have later transaction that you miss getting to the audit database. It is best to run the report one
more time after all journal entries and batches have been posted for the month so that you pick up
any late entries as part of the closing adjustments
Documents that show on the report as status N are likely parked documents that are not posted yet
to the G/L and status F documents have failed to go to audit for some other technical error reason.
You will have to manually correct these documents to get them to a status of S with another update
run.
Fiscal Year The fiscal year the document was posted in. Relevant
for MM-LIV and FI documents only.
Date Created The date the entry was added to this table.
From the report one can reprocess one transaction at a time, select all untried and/or failed messages, and then
resubmit in bulk to Determination by using the audit update process within this report. If a transaction fails again it
stays in the report, if it succeeds in auditing to Determination the status is changed to success.
It is recommended to schedule this report to run prior to period closing for F and U status and then
reprocess them before closing the period.
To run the report and update the audit database you would run transaction code /IDT/AUDIT_DATABASE from
the report menu first selecting any “U” status document. Note the button on the report menu for selecting untried
documents. See example below:
After getting the list of untried documents that you need to post to audit then hit the EXECUTE button to run the
update of the UNTRIED entries.
Run the report again for the same document numbers and verify that they have now changed from UNTRIED
status to a status of “SUCCESS”. If the documents in question have not changed to a successful status, then they
may be in “FAIL” status which will require you to investigate errors on the document. Another possible status
would be that they were changed to status of “N” as not posted to the G/L. If this occurs, then you will need to go
back to the billing process and attempt to post the document to accounting using transaction code VF02. If the
document posts to accounting, then retry the audit update transaction again.
Prior to month end close you will want to check to make sure that all documents have posted to accounting and
that the audit report shows them in “SUCCESS” status.
Billing Document The Sales Invoice (SD) document number. Can’t be combined
with Document Number and Fiscal Year.
Fiscal Year The fiscal year the document was posted in. Relevant for MM-
LIV and FI documents only.
N – Not posted to the G/L will not go to audit until G/L entry is
posted.
Date Created The date the entry was added to this table.
This report has no user interaction. It will run immediately and will update all selected documents!
It is recommended to schedule this report as a background job to run prior to period closing for F, U,
and N status and then reprocess them before closing the period.
To run the report and update the database you will select the documents in question, and then execute the
program.
Documents in status N will be moved to status U. To post them to the Determination audit they have
to be run a second time to get to status S.
Program /IDT/UPDATE_AUDIT_DATABASE uses the same authorization object as the Audit Database Report,
Z_IDT_AUDI which uses authorization field Company Code (BUKRS) as a check object.
5.x version as a separate transport. From the Integration 6.2 release this has now been included in the Integration
transports as part of the standard product. The feature has been updated and adjustments have been made to
include fields that are now contained within the new Tax_Data table.
l Custom ABAP program in /IDT/ name space with a custom transaction to run it
l Selection screen to define what data to extract and where to save the output file
The Reconciliation Report in ONESOURCE Indirect Tax Reporting will compare the imported data from the SAP
Reconciliation Extract with the data in Audit. The Reconciliation Report will indicate transactions missing in the
ERP (SAP), transactions missing in Audit, as well as differences in tax amounts.
Business Process
Transactions processed in the SAP systems Order to Cash (SD), Materials Management (MM), and Financial
Accounting (FI) processes requiring indirect tax can call ONESOURCE Indirect Tax Determination for a tax
calculation. At time of posting the calculate tax to the FI modules G/L accounts, a tax audit call is done to
Determination for the applicable tax codes, and the tax liability information is stored in the audit database. A
scheduled process (ETL) then moves that audit information over to ONESOURCE Indirect Tax Reporting.
Customers wishing to compare the tax liabilities stored in the SAP G/L to the ones residing in the ONESOURCE
Indirect Tax systems can run the Reconciliation process periodically, usually during month end close, to ensure
results are as expected.
Prior to running the Reconciliation Extract Report there is one configuration step that you will need
to complete. See the Configuration Guide Appendix 1 section for more information on the set up of
the Application Server and Presentation Server defaults.
To learn more about how to run the reconciliation process in Reporting logon to your Reporting
system and click the Help icon , then navigate to Global Reports & Analysis > ERP
Reconciliation Report.
For more information on saving and importing the .csv file, see the section PREPARING DATA FOR THE ERP
DOCUMENT RECONCILIATION REPORT in the Reporting online help.
For more information on executing the report, ERP Document Reconciliation, see the section ERP DOCUMENT
RECONCILIATION in the Reporting online help.
Authorization object F_BKPF_BUK is checked when executing the program to verify the user is
allowed to access data for the given company codes.
On the selection screen enter the desired values for the extract scope in question. For an explanation of the
selection screen options see the following table:
PARAMETER DESCRIPTION
Company Code The Company Codes to be selected during this extract. The user must be authorized to
run data for the selected company codes (F_BKPF_BUK).
Posting Date A fiscal posting date range can be selected; this is the date of the posting to G/L, not the
document/invoice date of the original document.
Tax Code Option to include/exclude specific tax codes to be extracted. See special note for US
transactions below.
Select If field is checked documents with zero tax value on the posted document are
Zero/Exempt tax suppressed.
records
Application Location for output files on the SAP application server, based on selected radio button
Server option.
Presentation Location when storing files on user’s computer, based on selected radio button option.
Server
Company Code If set in the /IDT/GEN_CONFIG_VALS - General Configuration Values table, option
Prepend value external_company_id_prepend¸ then this must be set here as well.
For US company codes tax codes with a Tax Category of 0 “Sales Tax (Consumer Use Tax if
needed)” must be excluded from the selection for ERP Reconciliation as they are not posting to
Determination audit. See below for instructions on how to do this.
Once all values have been setup as desired the extract can be run:
A message will be displayed stating the number of records extracted and included in the file. If desired the
selection can be saved as a Variant in SAP for later use in a scheduled Batch Job for monthly/quarterly
automated processing.
/IDT/US_LOGIC table:
To exclude tax codes from selection, click on the “Multiple selection” button in the selection screen next to the Tax
Code field:
Now enter the values to be excluded in the Excluding Single Values or Exclude Ranges tab:
The following is the output field list as returned in the comma separated “.CSV” file on to the Application server or
Presentation server.
Do not open the CSV file in Excel or similar, only use a text file reader such as Notepad, Notepad++
or Text Pad. Excel will apply formatting to the CSV file which in turn corrupts the file for import into
Reporting.
A BADI /IDT/BADIRECON_EXTRACT has been provided as part of the SAP Reconciliation Report which can be
implemented by the customers. The BADI method returns the 5 UDF’s in the structure /IDT/EXTRACT_UDF.
Now a tax call is made to Determination and taxes are returned. You can view the taxes calculated by the
system at header and item level.
You will see tax details and the difference between Standard and Reduced Rated products.
On the header conditions the percentage rate does not show as this is summarized data. The percentage rate
will, however, show at the line-item level as shown above on the 20% standard rate and the 5% reduced rate
lines.
Now a tax call is made to Determination and taxes are returned. You can view the taxes calculated by the
system at header and item level.
Enter relevant purchase data; make sure you have a driver tax code of I1.
2. Go to Conditions tab on the header details. At this time a tax call to Determination will be made.
3. Tax details for each line can be viewed on the line Conditions tab.
2. Check Item OK, enter the amount, unit of measure, delivery note, bill of lading, warehouse location, etc.
and Save the Goods Receipt document.
Enter the Invoice Date, Invoice number, Amounts, Purchase Order number and ENTER.
2. Check the to calculate taxes by Determination and balance the amounts to zero.
3. Optionally go to Tax tab to see that tax and tax code are returned by Determination.
4. Simulate and Post the document which creates the Logistic Invoice Document.
Special Note: SAP Enjoy transactions can sometimes depending on the screen steps taken,
calculate tax and currencies with weird or unexpected results. Some of this could be standard SAP
behavior as we have seen OSS notes from SAP stating that the Enjoy transactions sometimes have
this behavior. If this occurs, we recommendation you switch to complex view and fix the transaction
when this occurs.
Enter required information including the driver tax code used (in this sample I1).
2. ENTER.
For illustration purposes a tax rate change was simulated on November 1, 2013 (11/01/2013) from the prior 20%
tax rate to a new 22% rate.
Transactions prior to 11/1/2013 show the 20% rate, where document after the rate change show the new 22%
rate. This is reflected in the document detail section (top) and tax total section (bottom).
This report can be extracted in multiple formats and used with the Thomson Reuters ONESOURCE Indirect Tax
Compliance solution for returns processing.
Report Configurations
When using ONESOURCE Indirect Tax Integration for SAP you will no longer maintain the tax rates on SAP tax
codes, but rather use the tax rate returned by Determination. To assist in VAT Reporting, and if desired for
extracting your tax data for returns preparations, it is recommended to add the tax rate to the layout display of
your VAT reports. We will add the tax rate to both Output tax: Line-items and Input tax: Line-items layouts.
The process is the exact same, so we use the output side in this example.
In this sample we will show how this can be done using report RFUMSV00.
3. Click on Configure for the Output tax: Line-items. You will see the configuration screen.
4. On the overview screen click on the Change layout icon or use Ctrl+F8:
5. We want to add Tax Rate field between Transaction (account key) and Tax base amount. To do so
highlight in the left side panel Tax base amount and on the right-side Tax rate.
6. Click the left arrow in the screen to add the tax rate. You will have to move the tax rate to the left side and
then change the position number to move it to the correct column on the report.
8. Name your layout and give it a description, make sure the User-specific flag is NOT checked as that would
not show your layout variant to others.
9. Save.
10. Repeat the exact same steps for the “Input tax: Line-items”. Once done assign the new layouts to the Output
list options.
Either call transaction or batch input session be used for posting the tax transfer document.
For now, the Global Next integration 6.6.0.0 is supporting single line Invoices for Deferred tax Reverse Charge
solution with RFUMSV50 program.
While running batch input session to post tax transfer document for Deferred tax Reverse charge scenario, you
may see the below information messages, which are expected.
4. Enter the applicable date range of the Condition contract, Customer, External Identifier and Rebate
Condition type and rates.
5. Goto -> Sales Tab and enter Sales area of the sales settlement document.
6. Goto -> Business Volume Selection Criteria Tab and add two new lines by selecting - add icon and
clicking on customer and Sales Organization.
7. Goto -> Settlement Calendar Tab and add two new lines by selecting - Add icon and provide the dates of
partial settlement and final settlement.
8. Goto -> Basic Data Tab, click on the flag icon to activate the condition contract and press Save button.
In this way, a Sales Condition contract with all the settlement details for a customer would be created.
Select the Settlement date, Condition Contract and check the Posting and document date and click the
clock icon. You can choose to either run it in a test mode or in a live run mode. In the live run, the credit
memo document is created and saved.
2. There is a pop-up on the screen which notifies whether the contract has settled successfully or if it has any
errors.
3. The log is populated with details of the credit memo document created.
4. A ONESOURCE IDT tax call also takes place and can be viewed through transaction code: /N/IDT/LOG.
5. You can check the Condition Contract through transaction code: WCOCO and view the details of the credit
memo which has been created.
4. Enter the applicable date range of the Condition contract, Vendor, External Identifier and Rebate Condition
type and rates.
5. Goto -> Purchasing Tab and enter the Purch. Organization, Purchasing group and Company Code of the
settlement document.
6. Goto -> Business Volume Selection Criteria Tab and add three new lines by selecting - Add icon and
clicking on Supplier, Purchase Organization and Company Code.
7. Goto -> Settlement Calendar Tab and add two new lines by selecting - Add icon and provide the dates of
partial settlement and final settlement.
8. Goto -> Basic Data Tab, click on the flag icon to activate the condition contract and press Save button.
In this way, a Purchase Condition contract with all the settlement details for a supplier would be created.
Select the Settlement date, Condition Contract and check the Posting and document date and click the
clock icon. You can choose to either run it in a test mode or in a live run mode. In the live run, the credit
memo document is created and saved.
2. There is a pop-up on the screen which notifies whether the contract has settled successfully or if it has any
errors.
3. The log is populated with details of the credit memo document created.
4. A ONESOURCE IDT tax call also takes place and can be viewed through transaction code: /N/IDT/LOG.
5. You can check the Purchase Condition Contract through the transaction code: WCOCO and view the
details of the credit memo which has been created.
6. All settlement management scenarios will be sent to Audit. Because of this, for the US, Reporting would
have reconciliation issues. You should filter the settlement management documents by document type "k".
STO screenshot.
In the STO there is no call to Determination hence the conditions tab at this point will look like the sample below.
This is standard SAP expected behavior at this point in the transaction as the tax determination happens at
posting of the billing document. You may however see a partial log on the log report that has some of the request
data but no subsequent call to Determination or response data. A complete XML log will come at time of billing
document posting to accounting.
Select line for the STO document number and EXECUTE in Background.
Select the new line and hit the show/hide delivery button.
Double click on the document number to get to the delivery and complete the picking and foreign trade data.
Here we enter the pick quantity in change mode and then hit Post Goods Issue.
View of the STO purchasing history at this point using transaction code ME22N.
(Note that this one had a large variance between standard values in the material master. This should normally not
be the case unless your accounting views on the two plants are using different standard costs.)
Select plants abroad billing type from drop down and enter the document number of the delivery.
Execute.
Before saving the document verify that the foreign trade data is complete on the billing and that the Export
procedure, BusTransactType, etc. is filled in and complete.
Also verify the foreign trade data at the header record is correct, entering handling information.
Once a tax call has been made from the header conditions tab, tax details can be viewed on the item conditions
tab of the billing document:
Note the conditions show both the seller calculation and the buyer calculation of tax on the order.
Accounting document from the billing shows the correct posting. Note that the seller role tax calculation was zero
rated tax so there will be no line for it on the accounting document even though it displays in the taxes tab. The
entry will however be included in the BSET table in SAP for use in VAT reporting.
The Taxes button on the document shows the import tax at zero rated taxes for the sending plant and the import
tax output and input directions on the receiving plant.
Calculation XML log is displayed below. Note that this log will have two invoice blocks in the XML because of the
nature of this document type having two calls to Determination. In the first invoice block you will see the call as the
seller for Portugal plant with tax block of the Not Liable Import tax returned. In the second invoice block you will
see two Acquisition tax blocks (input and output) that represent the buyer call to Determination for the Spain plant
side.
Company Code The Company Code for which the transaction was completed.
Fiscal Year The fiscal year when a document was posted. This is only
applicable to LIV and FI documents (document type BKPF).
Document Type Used to separate out different records posted to tax data table:
Document Number The number assigned by SAP during the save of the
document.
Tax Line Number Sequential number for each tax authority on that item’s price or
tax procedure.
If desired, use above table to narrow down the list of search results to be displayed in the table lookup. Once
done, EXECUTE the report:
Prerequisite
You must have Notepad++ installed. Go to http://notepad-plus-plus.org/download/ to download and install the
free tool.
Once downloaded, unzip the XML Tools plug-in. Then copy the XMLTools.dll file into the Notepad++ plugins
directory (usually at C:\Program Files (x86)\Notepad++\plugins). Copy all the dll files in the ext_libs directory of
the zip file into the root directory of Notepad++ (usually C:\Program Files (x86)\Notepad++).
Once done start Notepad++ (close it and restart it if it was open during the plugin install). Now you should see
under the Plugins menu a new sub-menu for XML Tools:
You will now see a new window on the bottom of the browser screen. Use menu File à Customizing...…à
Other.
In the pop-up browse to Notepad++ (usually at C:\Program Files (x86)\Notepad++) and select the
notepad++.exe file. Close the Developer option in IE via F12. Close IE.
Note: Internet Explorer Browser no longer allows to set the default editor via the F12 - Developer Tools function.
The only way to change the default editor is via a Registry entry.
4. Add another Key below "View Source Editor" named "Editor Name"
5. Change the Default value of the "Editor Name" key to the path where Notepad++ is installed, i.e. C:\Program
Files (x86)\Notepad+\notepad+.exe
Now you can go into Global Next and display a log, right click on the log, and select "View Source". The XML will
be opened in Notepad++.
Right click in the log and select View Source. Notepad++ will now automatically open and show the log details:
So, let’s solve this in one quick step! Use Ctrl+Alt+Shift+B (or menu Plugins à XML Tools à Pretty Print
(XML only – with line breaks)).
Voila!! You can now analyze, copy sections out, or even copy the <INDATA> to </INDATA> section and run it
through the Determination XML Invoice servlet, soapUI, or the SAP SOAP Manager.
You can use WinMerge (free at http://winmerge.org/downloads) to compare the formatted files.
The simplest way is to use transaction SOAMANAGER in SAP. This transaction has a “payload trace”
functionality. It is hard to show this with screens images because different versions of SAP have very different
screen flows for transaction SOAMANAGER. But in all cases a persistence user, who has the correct authority,
should be able to get it to work.
The next simplest way is to use transaction SRT_UTIL to get the payload trace data. This transaction also
changes with different versions of SAP but not as much as SOAMANAGER.
Right click on “Users & Terminals & Request URI” and select “Add User, Terminal, or select URI”. Generally, it is
best to go with a user.
And press “Save Configuration”. Then run your error producing transaction and select the “Payload Trace” tab.
Here you should be able to see the payload trace with the detailed error messages.
If there is a trace:
Click on the glasses, then you should look for the error, it is usually best seen in one of the responses: