Ansicht
Dokumentation

PSCD_TRM_RETURN_PROCESSING: BRF Tax Validation/Calculation (New) ( RELN603_PSCD_TRM_RETRN_2 )

PSCD_TRM_RETURN_PROCESSING: BRF Tax Validation/Calculation (New) ( RELN603_PSCD_TRM_RETRN_2 )

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

PSCD_TRM_RETURN_PROCESSING: BRF Tax Validation/Calculation (New)

Use

As of SAP ECC 6.0, Industry Extension Public Sector, Enhancement Package 03 , Business Function TRM: Return Processing (PSCD_TRM_RETURN_PROCESSING), you can use the Business Rules Framework(BRF) to map rules for the validation and calculation of object-based and form-based taxes in the system. For object-based tax, the tax liability constitutes an object (such as, vehicle tax). Taxes for which the taxpayer has to submit a tax return (such as income tax) are known as form-based taxes. The BRF is called in the single and mass transactions for calculating object and form-based tax and also for the validation of forms from the application for processing tax returns. Information on the latter can be found in the release information PSCD_TRM_RETURN_RROCESSING: Processing Tax Returns (New).

Each application used in the BRF is assigned to an application class. This ensures that different applications do not affect each other.

SAP delivers the following application classes that contain all implementing classes that you can use for the tax validation and calculation.

  • TRM_TEMPLATE_FORM for form-based tax
  • TRM_TEMPLATE_OBJECT for object tax
  • TRM_TEMPLATE_OBJECT_TIME for object tax with time-dependent data

You can copy these implementing classes into your own application classes in IMG activity Copy Implementing Classes. The name of the implementing classes in the following list are the names in the application classes delivered.

In addition to the expression and action types that are available in the BRF as standard, there are a number of additional functions that you can use.

Context Information

When calling the BRF for the tax calculation, the system writes the data that it needs for the calculation and validation in a buffer by default which you can access. You can also load more data from each table to the context buffer. You can then access this data the same way.

Container of the context is an event. To define events in Tax and Revenue Management (TRM) always use the implementing class 0FICAEVENT.

Actions

Actions map manipulations of datasets and are used to map rules in the BRF. SAP delivers the following actions for tax validation and calculation that you can use as well as the actions that are available in the BRF as standard.

Description of Action Implementing Class
Get context data 0FICAIN001
Create billing document 0TRMBI001
Create additional item of billing document 0TRMAI001
Set block 0TRMSL001
Issue message 0TRMMSG001
Create inbound correspondence request 0TRMIC001
Set date of receipt 0TRMSR001
Define form rules 0TRMFO001
Define values for revenue distribution 0TRMRD001
Implicit registration 0TRMIR001
Start workflow 0TRMWF001

Expressions

In an expression, data of the application or data of objects related to the application (for example, business partner data) are processed in accordance with a rule (such as a calculation rule) you can define yourself. Once the system has processed the data, the expression returns any primitive type (such as a date) as a result. SAP delivers the following expressions for tax validation and calculation that you can use as well as the expressions that are available in the BRF as standard.

Description of expression Implementing class
Calculate
charges 0TRMPEN001
Calculate interest 0TRMIN001
Read fact value 0TRMRF001
Request from/to date of a period 0TRMRP001
Request XML value 0TRMRX001
Gradual calculation 0TRMPC001

Time-dependent expressions

You can create expressions that are time-dependent, this means that they return different values for different time segments (time slices). Implementing classes available as standard in the BRF were copied and enhanced for this so that they provide time-dependent return values. The following implementing classes for time-dependent expressions are available for this.

  • 0TRMAO001 (and/or of Boolean expressions)
  • 0TRMFM001 (calling a function module)
  • 0TRMCE001 (CASE expression)
  • 0TRMPM001 (truth tablle)
  • 0TRMAO001 (Boolean expression with three variables)
  • 0TRMFB002 (SAP formula interpreter)
  • 0TRMRE001 (range expression)

If you use an expression with implementing class 0TRMTSM001, you can multiply a value by the length of the time slice in which it is valid. Define the corresponding time unit for this (for example, month or year).

With an expression with implementing class 0TRMTSA001, you can use time slices to aggregate, for example, map the total of all time slices. The return value of the expression is then no longer time-dependent.

If you use a time-dependent expression in the action when creating billing documents, you can create your own billing document for each time slice.

Events

Events P300 and P301 are available when creating additional items for the billing document. For more information, see the documentation on the sample function modules.

FMCA_SAMPLE_P300 (Derive texts for maintaining additional items) and

FMCA_SAMPLE_P301 (Substituting additional items)

Effects on Existing Data

Effects on Data Transfer

Effects on System Administration

Effects on Customizing

You define the Customizing settings for this function in the Customizing of Contract Accounts Rceivable and Payable in the following IMG activities:

Create Application Class Client-Independent

Copy Application Class

Define Additional Settings for Application Class

Copy Implementing Classes

Define Time Units for Time Slices

Define Main/Sub-Transaction for Open Items

Generate Expressions for Forms

Further Information






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 9938 Date: 20240418 Time: 200426     sap01-206 ( 106 ms )