4
10/25/12 Convert a Characteristic into a Key Figure (BEx) | SCN 1/4 scn.sap.com/docs/DOC-27491 Getting Started Newsletters Store Solutions SAP Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Login Register Welcome, Guest Search the Community Activity Communications Actions Brow se 0 created by Jordan Lazarus on Apr 29, 2012 1:28 PM, last modified by Jordan Lazarus on Apr 29, 2012 1:55 PM This is a very simple document to demonstrate how to use characteristics in a BEx Query as a part of a calculation. Example: There are two date: Start Date & End Date (characteristics) in the query and we want to use the difference [End Date - Start Date] in a calculation. So how to we use a data or any other characteristic in a Formula? I will explain the same step by step with screenshots. Here I take an example as a Date. Step 1: Create a new formula. Step 2: Create a new Formula Variable. Step 3: Change the Processing Type to "Replacement Path" and select the characteristic to the characteristic which Convert a Characteristic into a Key Figure (BEx) Share Share Like 0 Version 1

Convert a Characteristic Into a Key Figure (BEx) _ SCN

Embed Size (px)

Citation preview

Page 1: Convert a Characteristic Into a Key Figure (BEx) _ SCN

10/25/12 Convert a Characteristic into a Key Figure (BEx) | SCN

1/4scn.sap.com/docs/DOC-27491

Getting Started Newsletters Store

Solutions SAP Services & Support About SCN Downloads

Industries Training & Education Partnership Developer Center

Lines of Business University Alliances Events & Webinars Innovation

Login RegisterWelcome, Guest Search the Community

Activity Communications Actions

Brow se

0

created by Jordan Lazarus on Apr 29, 2012 1:28 PM, last modif ied by Jordan Lazarus on Apr 29, 2012 1:55 PM

This is a very simple document to demonstrate how to use characteristics in a BEx Query as a part of a calculation.

Example: There are two date: Start Date & End Date (characteristics) in the query and we want to use the difference

[End Date - Start Date] in a calculation.

So how to we use a data or any other characteristic in a Formula?

I will explain the same step by step with screenshots.

Here I take an example as a Date.

Step 1: Create a new formula.

Step 2: Create a new Formula Variable.

Step 3: Change the Processing Type to "Replacement Path" and select the characteristic to the characteristic which

Convert a Characteristic into a Key Figure(BEx)

ShareShare Like 0

Version 1

Page 2: Convert a Characteristic Into a Key Figure (BEx) _ SCN

10/25/12 Convert a Characteristic into a Key Figure (BEx) | SCN

2/4scn.sap.com/docs/DOC-27491

we need as a key figure.

Note: Make sure the characteristic or the part of the characteristic which you want to use as a key figure is numeric.

Step 4: Go to the "Replacement Path" tab and Select the "Replace with" value as "Key".

Here in the "Offset Setting", you can specify the offset (position of the character) and the "Offset Length" from where

you want to use the value as a key figure.

Example: Date is "20120415" (YYYYMMDD) and let's say you want to use the "Day" part of the date as a key figure. I.e.

15. So you set the Offset start as 7 and Offset Length as 2. If you to use the whole date as keyfigure, You can use

"Offset Start" as 0 and Offset length as 8.

or

Page 3: Convert a Characteristic Into a Key Figure (BEx) _ SCN

10/25/12 Convert a Characteristic into a Key Figure (BEx) | SCN

3/4scn.sap.com/docs/DOC-27491

Average User Rating

(3 ratings)

0

Products: SAP Business Explorer (BEx)

Step 5: In the formula created in Step 1, insert the formula variable which we created and we have the characteristic

ready to be used as a key figure or for calculations.

We can use the same procedure show above to use any characteristic as a key figure.

910 View s Tags: formula, variable, characteristic_as_keyfigure, replacement_path

ShareShare Like 0

3 Comments

Jayasri Vinoth May 9, 2012 8:02 AM

Page 4: Convert a Characteristic Into a Key Figure (BEx) _ SCN

10/25/12 Convert a Characteristic into a Key Figure (BEx) | SCN

4/4scn.sap.com/docs/DOC-27491

Follow SCNContact Us SAP Help Portal

Privacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi, In the Replacement Tab, under replace with we have 5options. For more clearer explanation aboutthis you can check out the below link: Replacement Path: Replacement with a Characteristic Value (SAP Library - BI Suite: BusinessExplo...

Like (0)

Alberto Garcia Aug 29, 2012 9:38 AM

Great article.I had to modify other things in order to have values displayed, but this helped me a lot!

Like (0)

Namita Agraw al Aug 29, 2012 2:29 PM

Thank You so much for the demonstration. This is the exact scenario where I get stuck mostly. And seriously. this helped me a lot, to get rid of unwanted error messages Thank You. Namita Agrawal