Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
grigoriy_babitskiy
Active Contributor

Derivation type "Derivation rule" works the following way: IF x THEN y.

Scenario: Depending on Product Groups different Profit Centers are assigned.

Header 1Header 2Header 3
SecurityPC80001Securities TRM department
LoansPC80002Loans TRM department
OTC Transactions: Money Market, FX, DerivativesPC80003OTC TRM department
Listed Options / FuturesPC80004Option/Futures TRM department

IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Transaction Manager -> General Settings -> Accounting -> Link to Other Accounting Components -> Additional Account Assignments -> Define Derivation of Additional Account Assignments (tr. TPM_DERIVE_ACCNT)

In general screen of derivation press "Create step" button or F5.

Select "Derivation rule" step.

Enter Source field - PRODUCT_GROUP "product group".

Target fields - PRCTR "Profit center"

For your purposes you can use other fields

The full list of Source fields:

SOURCESAA_REFAccount Assignment Reference of Position Management
SOURCESACCOUNTING_CODEAccounting Code
SOURCESACCOUNT_GROUPSecurities Account Group
SOURCESACC_SYMBOLAccount Symbol for Account Assignment Reference
SOURCESBP_RLTYPBP Role
SOURCESBUSTRANSCATBusiness Transaction Category
SOURCESBUSTRANSIDIdentifier of the Distributor Business Transaction
SOURCESCHART_OF_ACCOUNTSChart of Accounts
SOURCESCOMPANY_CODECompany Code
SOURCESCURRENCY_CATCurrency Category
SOURCESDEAL_NUMBERFinancial Transaction
SOURCESDIS_FLOWTYPEUpdate Type
SOURCESDOCUMENT_DATEDocument Date in Document
SOURCESDOCUMENT_TYPEDocument Type
SOURCESFLOW_NUMBERNumber of a Distributor Flow
SOURCESFUNDFund
SOURCESGL_ACCOUNTGeneral Ledger Account
SOURCESGRANT_NBRGrant
SOURCESIGT_STATUSIGT: Status of an Intragroup transaction
SOURCESISSUERIssuer Identity Key
SOURCESKONTRAHENTBusiness Partner Number
SOURCESLOANS_CONTRACTContract Number
SOURCESPORTFOLIOPortfolio
SOURCESPOSITION_ACCOUNTFutures Account for Listed Options and Futures
SOURCESPOSTING_CATPosting Category
SOURCESPOSTING_DATEPosting Date in the Document
SOURCESPOSTING_KEYPosting Key
SOURCESPOSTING_PERIODFiscal Period
SOURCESPOSTING_YEARFiscal Year
SOURCESPRODUCT_GROUPProduct Group
SOURCESPRODUCT_TYPEProduct Type
SOURCESRFHAZUTransaction activity
SOURCESSECURITY_ACCOUNTSecurities Account
SOURCESSECURITY_IDSecurity ID Number
SOURCESTRANSACTION_TYPEFinancial Transaction Type
SOURCESVALUATION_AREAValuation Area
SOURCESVALUATION_CLASSValuation Class
SOURCESVBUNDCompany ID of Trading Partner

The full list of target fields is

TARGETSGSBERBusiness Area
TARGETSPARGBTrading Partner's Business Area
TARGETSPPRCTRPartner Profit Center
TARGETSPRCTRProfit Center
TARGETSPSEGMENTPartner Segment for Segmental Reporting
TARGETSRMVCTTransaction Type
TARGETSSEGMENTSegment for Segmental Reporting
TARGETSVBUNDCompany ID of Trading Partner
TARGETSXREF3Reference Key for Line Item

And press "Maintain Rule Values".

Enter data from scenario table into Derivation rule.

------------------------------------------------------------------------------------

One of the usefull things is we can use Source fields intervals - button when you create Derivaton rules.

Example: Depending on Amount in Nominal Currency and Nominal Currency we assign Financial Transaction Type to newly created transaction from external systems.

IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Transaction Manager -> General Settings -> Transaction Management -> External Link -> Define Mapping for Spot Exchange and Forward Exchange Transactions (tr. FTR_XI_MAP_FXLEG)


------------------------------------------------------------------------------------

Let's get back to our first scenario about Profit centers. We are not using Conditions, so our derivation step will be executed always.

On "Attributes" tab we can define additional parameters: it's up to you to use this attributes.

  • Issue error message if no value found

You can choose attribute to specify for each derivation step whether an error message should appear if no target values are found. For derivation rules, this option is automatically set as the default setting. If you do not want to maintain derivation rule values for every possible combination of source values, you should deactivate this error message display.

  • It should be possible to maintain rule values using the validity date

If you activate this attribute, you can then make derivation rule entries for rules that have a "valid from" date.

  • Step ID for Direct Call

This attribute is not required in general. It is only useful if you program, for example, a batch input for the data input transaction KEDE and want to directly access maintenance for a specific rule. To activate this attribute, right from general screen of Derivation choose "Goto -> Direct call using step ID". You can then enter one of the available step IDs.

The derivation step is ready. Save it.

Don't forget to Test it Derivation: Test your derivation steps.

For other Derivation topics reffer to TRM Derivation (index)

8 Comments
Labels in this area