segunda-feira, 30 de dezembro de 2019

Tax Service – How to Use Custom Sales Pricing Procedure in SAP S/4HANA Cloud

In SAP S/4HANA Cloud you can create your own Sales Pricing Procedures. If you want to use the Tax Service as your tax calculation engine with this pricing procedure, have a look at the steps below.  
Note: You can use custom sales pricing procedures in SAP S/4HANA (on premise) by executing the steps described above. for that, access the SAP Customizing Implementation Guide > Integration with Other SAP Components > SAP Localization Hub, tax service: 
  • Map Tax Results to Condition Types (Sales Pricing Procedure) 
  • Map SAP S/4HANA Tax Codes to External Tax Codes 
  • Activate the Tax Service for Tax and Pricing Procedures 
note: Not available for Brazilian scenarios. 

Create your own Sales pricing procedure 

  1. Login to the Fiori Launchpad with the BPC_EXPERT role. 
  1. Access the Manage Your Solution tile and choose your country.  
Example: for this scenario, I chose Canada.  
  1. In the Configure Your Solution appfilter with the following information:
Application Area Sub Application Area 
Sales Price Management 
  1. Choose the Pricing configuration item. 
  1. Choose the Set Pricing Procedures configuration step. 
In this step, you can create a completely new sales pricing procedure or copy from an existing one. For this example, I chose to copy from Canada Sales pricing A29010. 
Position the condition type TXSC in the step that is above the condition types that represent taxes. In this example, TXSC is positioned right above condition types JRC1, JRC2, JRC3 and JRC4, which represents Canadian taxes GST, PST, QST, and HST respectively.  
Additionally, TXSC and all subsequent tax condition types must have the alternative calculation field with condition formula 279, like in the picture below: 

Map Tax Results to Condition Types  

After your own sales pricing procedure is created, you need to map the tax service results into the corresponding pricing condition types. See the steps below to execute this mapping. 
Prerequisite: 
In order to complete the configuration in this step correctly, it is important to understand how the tax service sends the tax results back to the SAP S/4HANA Cloud. The best way to do that is by using the Tax Service Simulator application. You can find details on how to use the application in this blog post Usage of Tax Service Simulator. 
  1. In the Configure Your Solution appfilter with the following information: 
Application Area Sub Application Area 
Finance Integration
  1. Choose the SAP Localization Hub, Tax Service configuration item. 
  1. Choose the Map Tax Results to Condition Types (Sales Pricing Procedure) configuration step. 
  1. Select the pricing procedure you created and choose Custom Mappings. 
  1. Map each tax condition type to the correct external tax code, tax type code and due category coming from Tax Service response payload. For more information on how to execute this mapping, see the configuration step documentation under Configuration Help. 

Example: I’m using the scenario of Canadian domestic sales of material from Alberta to Ontario, resulting in Regular HST Sales with HST 13% tax rate. Below you can see the response JSON payload from Tax Service Simulator for this scenario: 
Keep in mind that there are three pieces of information here that are important for the SAP SAP S/4HANA Cloud mapping:  
  • taxcode 511 representing the Regular HST Sales transaction; 
  • taxTypeCode 2 representing HST tax; 
  • dueCategory P representing a payable position. 

So, this is the entry I need to add to my new Sales pricing procedure; 
This entry means that whenever the tax service returns the Regular HST Sales scenario (represented by tax code 511), the base amount, rate and amount of HST tax (represented by taxTypeCode 2 on payable position) will be mapped to pricing condition type JRC4. 

Map SAP S/4HANA Cloud Tax Codes to External Tax Codes 

Next, you need to inform which SAP S/4HANA tax code will represent the tax service’s Regular HST Sales scenario, represented by external tax code 511 
  1. In the Configure Your Solution appfilter with the following information: 
Application Area Sub Application Area 
Finance Integration
  1. Choose the SAP Localization Hub, Tax Service configuration item. 
  1. Choose the Map SAP S/4HANA Tax Codes to External Tax Codes configuration step. 
Now map the S/4 tax code to the external tax code. The external tax code comes from the tax service response payload. 
Example: tax codes are related to a country tax procedure, so I will select Canada tax procedure 0TXCAJ for my scenario. 
In this way, we are informing the SAP S/4HANA Cloud system that whenever the tax service responds to the scenario with the external tax code 511, SAP S/4HANA Cloud must use the SH tax code for accounting and later reporting. 

Activate the Tax Service for Tax and Pricing Procedures 

The last step is to activate the tax service so the sales pricing procedure you just created uses it 
  1. In the Configure Your Solution appfilter with the following information: 
Application Sub Application 
Finance Integration
  1. Choose the SAP Localization Hub, Tax Service configuration item. 
  1. Choose the Activate the Tax Service for Tax and Pricing Procedures Map SAP configuration step. 
  1. Add the pricing procedure you created with the following information: 
    • Usage: A 
    • Application: V 
    • Activate flag: checked 
  1. Choose Save. 
ExampleThis is the entry I added for my Sales pricing Z29010. 
A means Pricing Usage Condition and V means Sales/Distribution application. 
ResultNow your new sales pricing procedure is ready to be used! You can either use it on a specific business partner or assign it to a sales organization.  

Um comentário:

  1. Nice information. Print Magic offers professional printing services for Custom Sale Sheet Online and hope to provide flexible and fast shipping options. Our full-color Custom Sale Sheet stands out in quality and is durable as well as fade-resistant. With cost-effective prices and amazing customer service, you can depend on us for all your printing needs!

    ResponderExcluir