

- Open Access
- [post-views]
- Authors : Arvind Napa, Saurabh Jain
- Paper ID : IJERTV14IS040120
- Volume & Issue : Volume 14, Issue 04 (April 2025)
- Published (First Online): 15-04-2025
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Integrating GTS Tariffs in SAP: A Blueprint for Resilient Business Processes
Arvind Napa Saurabh Jain
Kansas, United States Ohio, United States
AbstractA tariff refers to a system of taxes or duties imposed on goods or services when they are imported or exported across international borders. Essentially, it is a fee that businesses must pay when moving goods between countries, and tariffs are typically imposed by governments to regulate trade and protect domestic industries. In SAP, the calculation of a tariff involves various factors and requires the system to be configured to account for customs duties, taxes, and other related charges. This white paper explores one of the methods in SAP for calculating tariffs, detailing both the functional and technical setups necessary to automatically transfer the tariff liability to the customer.
Keywords SAP S/4 HANA, GTS, HTS, COO
-
INTRODUCTION
Tariff changes can have a substantial impact on business continuity, especially for companies involved in international trade. These changes can alter cost structures, disrupt supply chains, affect pricing strategies, and create new compliance demands. To mitigate these challenges, businesses are increasingly looking for solutions that offer the flexibility and agility required to quickly adapt to shifting tariff conditions. While SAPs Global Trade Services (GTS) provides tools for configuring and managing tariffs, businesses require a comprehensive end-to-end solution within S/4 to effectively pass tariff liabilities onto their customers.
-
TARIFF MANAGEMENT IN SAP
SAP manages tariffs primarily through its SAP Global Trade Services (GTS) module, which provides a set of tools and functionalities for handling international trade, including tariff management. Key components required for calculating tariffs include:
-
Harmonized Tariff Schedule (HTS)
The Harmonized Tariff Schedule (HTS) is a globally standardized system used to classify goods for customs purposes and determine applicable tariffs or duties in international trade. SAP GTS helps businesses manage tariff codes and associated duty rates, ensuring they are always aligned with the most current regulations and compliant with global tariff changes.
-
Country of Origin (COO)
The Country of Origin refers to the country where a product is manufactured or produced. It is essential because tariffs and trade agreements are often based on the origin of goods. For materials managed in batches or lots, the country of origin is maintained within the batch master data in SAP, ensuring
accurate tracking for tariff calculation and compliance with international trade regulations.
-
Incoterms
Incoterms (International Commercial Terms) are predefined rules used in international shipping to outline the responsibilities of buyers and sellers regarding the delivery of goods under sales contracts. For example, the DDP (Delivered Duty Paid) Incoterm places the responsibility of paying tariffs on the seller, while EXW (Ex Works) designates the buyer as responsible for tariff payments upon receipt of goods.
-
Customs Value
The Customs Value is the value used by customs authorities to calculate applicable duties and taxes on imported goods. This value is typically based on the transaction pricethe amount paid by the buyer to the sellerand is the most common basis for determining customs duty calculations. It may also include additional costs like shipping, insurance, and other charges depending on the Incoterms.
If all the above parameters are available at the time of creating the sales order, calculating or estimating the tariffs and pricing the order becomes relatively straightforward. The process flow for such a scenario is illustrated in Figure 1.
Figure 1 Integration between GTS and S/4 HANA
However, in most cases, businesses may not have information about the country of origin of goods when the sales order is created. This uncertainty can complicate the accurate calculation of tariffs, which often depend on the country of origin.
Typically, the country of origin is only available when the stock is picked for delivery and the shipment is completed. This underscores the need for a dynamic tariff calculation solution that can automatically retrieve HTS codes, determine the country of origin, and calculate the applicable tariff rates. These rates then need to be communicated to the S/4 system to ensure they are properly charged to customers.
-
-
INTEGRATION BETWEEN S/4 HANA AND GTS
The integration between SAP GTS and S/4 HANA plays a crucial role in handling international trade compliance, especially regarding tariff processing. GTS provides the tariff rates required by S/4 HANA to generate additional invoices, transferring tariff liability to the customer.
To automate this process, a pricing condition type and an output type categorized as 8 Special Function can be used, which checks the country of origin for shipped goods using delivery or shipping documents. If tariffs are applicable based on the origin and destination countries, the system creates a tariff invoice. Process flow is illustrated in figure 2.
Figure 2 Process flow for Tariff Invoices
Process Steps
-
Sales Order and Delivery Creation
-
Once a sales order is created, delivery is initiated. During delivery creation, batches or lots are assigned based on availability.These batches may have multiple countries of origin, depending on inventory.
-
-
Customer Invoice Creation and Output Type Trigger
-
After delivery and shipment are completed, a customer invoice is generated. During invoice creation, a custom-configured output type is triggered. Custom routine assigned to the output type checks country of origin of the batches/lots and Landing country (destination). If tariffs are applicable for this origin- destination combination, the output type is activated for the billing document.
-
-
Background Job for Tariff Processing
-
A background job using program RSNAST00 (used to issue output) is scheduled to process billing documents with active tariff conditions. This job triggers a custom program that performs the following tasks:
-
Determine the landing country of the shipment.
-
Identify the country of origin for all batches in the delivery.
-
Send material and origin data from S/4 to SAP GTS through a RFC enabled function module to retrieve the appropriate tariff rates
-
Create a debit memo request, and copy pricing conditions from the sales order or billing document.
-
In addition to the copied pricing conditions, a dedicated tariff pricing condition type is added, and the tariff rate retrieved from GTS is assigned as its value.
-
Tariff amount is calculated using the following formula: Tariff Amount = (Customes Vlaue or Sales Price) * Tariff percentage rate
-
Example Calculation:
-
Customs Value/Sales Price = 100,000
-
Tariff Percentage = 10%
-
Tarif Amount = 100,000 * 0.1 = 10,000
-
-
-
-
Finance/AR Review and Posting
-
The Finance/Accounts Receivable (AR) team reviews the debit memo request.
-
Once tariff amounts are validated and approved, the debit memo is released to accounting, completing the transfer of liability to the customer
-
-
CONFIGURATION
The following steps outline the process for configuring output management and billing output procedures, specifically for creating a new tariff condition type:
-
Creation of Tariff Output Type
A new output type must be created to validate the landing country and the country of origin during billing document creation. Execute transaction V/40 Maintain Condition Types V3 to create a new condition type.
-
General Data Tab
-
Enter a four-character string for the output type and its description.
-
Set the Access Sequence to "0002".
-
Check the box "Access to Conditions" to enable maintenance of output condition records for Sales Organization and Billing Type combinations.
Figure 3 Condition Type General Data
-
-
Default Values Tab
-
Set Dispatch Time to Send with periodically scheduled job.
-
Choose Transmission Medium as Special Function.
-
Set Partner Function to BP Bill to party.
Figure 4 Condition Type Default Values
-
-
Print Tab
-
From the dropdown, select "Sales Organization".
-
-
Processing Routines
-
Double-click "Processing Routines" on the left pane.
-
Enter the program name to be called by this output type to generate the debit memo request.
Figure 5 Processing routines
-
-
Partner Functions
-
Double-click "Partner Functions" in the left pane.
-
Select "Special Function" from the dropdown.
-
Add the "BP" partner function. This ensures the output type is triggered for the specified partner function.
-
Save the output type
Figure 6 Partner functions
-
-
-
Create Custom Routine
Transaction VOFM is used to define custom ABAP routines that control how conditionssuch as pricing, output, and taxesbehave during sales and billing processes.
-
To implement a custom routine, execute VOFM, specify a routine number, description, and set the application as V3.
-
The system will generate a template routine where you can write ABAP logic. Here we should implement a check to validate whether the delivery batches linked to the billing document have a valid combination of landing country and country of origin.
Figure 7 Custom Requirement Routines
-
-
Assign Output Type to Output Procedure
Execute transaction V/42 that is used to define and assign output determination procedures that determine which output types (e.g., invoice print, email, Special functions) are triggered during billing document processing.
-
Select the output procedure and double click "Control" on the left pane
-
Enter the new output type under steps and assign the custom routine
-
Save the procedure
Figure 8 Output Procedure
-
-
Create Pricing Condition Type
Transaction V/06 is used to create condition types that define how pricing elementssuch as discounts, surcharges, freight, and taxesare calculated in sales and billing documents. In this context, a dedicated pricing condition type is created to apply tariff rates to the customs value or sales price.
-
Click "New Entries" and enter a custom condition type along with a description.
-
Set the Condition Class to "B Prices" and the Calculation Type to "A Percentage". This configuration defines the condition as percentage-based, allowing the percentage rate received from GTS to be stored and applied to the customs value to determine the customers tariff liability.
-
In the Manual Entries field, select "C No limitations", and check the boxes for "Item Condition" and "Amount/Percent".
-
Click Save to finalize the creation of the condition type.
Figure 9 Pricing Condition Type
-
-
Assign Pricing Condition Type to Pricing Procedure Transaction V/08 is used to define and manage pricing procedures in SAP, which control how the final price of a sales document is calculated by combining various condition types (e.g., base price, discounts, surcharges, taxes, freight).
To enable tariff calculation, the relevant tariff pricing condition type must be incorporated into the pricing procedure.
-
Execute transaction V/08, select the appropriate pricing procedure, and double-click "Procedures Control Data".
-
Insert the tariff pricing condition type in the correct sequence to ensure it is processed appropriately during price determination.
-
Select the "Manual only" checkbox for the condition type to ensure that the tariff amount is calculated by the custom program linked to the output condition and automatically populated in the pricing condition record of the billing document.
-
Figure 10 Pricing Procedure
A. Maintain Output Condition Records
Transaction VV31 is used to create condition records that determine when, how, and to whom outputs (e.g., invoices, debit memos, credit notes) are sent during billing.
A condition record is maintained for the combination of Sales Organization and Billing Typeas defined in access sequence 0002for the output condition type ZTAR (Tariff Output). When a billing document is created with this combination, the assigned requirement routine is triggered.
If the specified conditions are met, output type ZTAR is activated for the billing document. Subsequently, a scheduled job using program RSNAST00 processes the output condition, which in turn calls the custom debit memo creation program defined in transaction V/40.
Figure 11 Output Condition Record
CONCLUSION
With tariffs frequently changing across countries, it is essential for businesses to have an IT solution that is scalable, adaptable, and requires minimal coding effort. The approach outlined in this paper enables organizations to efficiently manage tariff-related processes through master data maintenance, low-code enhancements, and configurable settings, ensuring agility and long-term sustainability. maintenance, low-code enhancements, and configurable settings, ensuring agility and long-term sustainability.
REFERENCES
-
SAP Support Site https://help.sap.com/docs/
-
Satish Appaji, Managing Additional US HTS Codes and IEEPA Tariffs in SAP GTS
-
Michael A. Clemens, Jeffrey G. Williamson, A Tariff Growth Paradox?
NBER 2001
-
PWCs US Tariff Industry Analysis under incoming Trum administration