8
7/21/2019 SAP TRM Derivation Step - Enhancement http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 1/8 Generated by Jive on 2015-07-09+02:00 1 Derivation type: Enchancement Deriation type "Enchancement" is usefull when all other derivation types are not able to cope with a derivation- task. With ABAP code you can get any data you need.  Scenario: we will take as example scenario from Derivation type: Table lookup. In Analyzer we use some characteristics. One of them is WYQ14S "Country". We need it to set as "Country of Organization's Registered Office" of Business partner while Automatic integration TRM and Analyzers.  IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Analyzer Settings - > Automatic Integration of Financial Objects in Transaction Master Data -> Money Market -> Define Derivation Strategy (tr. AFO_FOI_DER_MONEY)  In general screen of derivation press "Create step" button or F5. Select "Enchancement" step.

SAP TRM Derivation Step - Enhancement

Embed Size (px)

DESCRIPTION

SAP TRM Derivation Step - Enhancement

Citation preview

Page 1: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 1/8

Generated by Jive on 2015-07-09+02:00

1

Derivation type: Enchancement

Deriation type "Enchancement" is usefull when all other derivation types are not able to cope with a derivation-

task. With ABAP code you can get any data you need.

 Scenario: we will take as example scenario from Derivation type: Table lookup.

In Analyzer we use some characteristics. One of them is WYQ14S "Country". We need it

to set as "Country of Organization's Registered Office" of Business partner while Automatic

integration TRM and Analyzers.

 

IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Analyzer Settings -

> Automatic Integration of Financial Objects in Transaction Master Data -> Money Market -> Define Derivation

Strategy (tr. AFO_FOI_DER_MONEY)

 

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

Select "Enchancement" step.

Page 2: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 2/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

2

Pay attention to Ehchancement ID - RMDRM001 - we will need it later.

Press "Project management" button.

Enter Project Id - "ZDERIVAT" and press "Create" button

Enter project short text and press "Enchancement assighnments".

Page 3: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 3/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

3

Enter Enchancement ID (from the first screen of newly created derivation step), save and press "Components"

button.

Activate project and make a double click on Function exit.

Page 4: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 4/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

4

Here you can find Function EXIT_SAPLCFADMM_001declaration - we will use it.

I_DATASTR - Analysis Structure id.

I_STEP_ID - derivation step id.

I_DATA - date of execution.

This is our Source field declaration. We use them in our select as they have values we need to get data for

Target fields.

Page 5: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 5/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

5

This is Target field declaration. You have to put values that you will get through ABAP code into this fields.

E_EXIT_IS_ACTIVE - always set this field as "X" in order to pass data from variable to target fields in

derivation.

E_FAILED - if you failed to obtain data - set this field as "X".

 

Make a double click on include ZXRMDMMU01. The system will ask you if you want to create new include.

Page 6: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 6/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

6

Create include and enter type of programm - "I Include programm".

Page 7: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 7/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

7

Enter ABAP code into include.

 

SELECT SINGLE CNTRY_COMP FROM BP001 INTO E_RM_CHAR WHERE PARTNER = I_MONEY_MAR

After all you have to activate newly created data.

Activation our include.

Page 8: SAP TRM Derivation Step - Enhancement

7/21/2019 SAP TRM Derivation Step - Enhancement

http://slidepdf.com/reader/full/sap-trm-derivation-step-enhancement 8/8

Derivation type: Enchancement

Generated by Jive on 2015-07-09+02:00

8

Don't forget to activate project by pressing and then activation button, then

get back to initial screen.

Enter Source field and Target field.

Derivation step is ready.

 

For other Derivation topics reffer toTRM Derivation (index)