Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10482

Re: How to Manipulate Result Set in BEx/BO

$
0
0

Hi Divahar,

 

1. You can only find the Formula Variables you have created. But this formula variable will contain the value of the char that you want to add for each row of the report. So this should be enough.

 

2. Bex supports if else condition.

SAP Help link

http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm

Here is an example copied from an external link

"

Using If-Then-Else in Bex

Conditional Calculations (IF-THEN-ELSE)

You can make conditional calculations using Boolean operators An expression in the form
IF THEN ELSE can also be made using a formula in the form
* + NOT *

Example: IF Actual Costs > Plan Costs THEN Plan Costs + Plan Deviation ELSE Actual Costs

can be written as the following formula:

(Actual Costs > Plan Costs)*(Plan Costs + Plan Deviation) + (NOT (Actual Costs > Plan Costs)) *Actual Costs

or

(Actual Costs > Plan Costs)*(Plan Costs + Plan Deviation) + (Actual Costs <= Plan Costs) *Actual Costs

"

Refer to page 12 of the below document as well.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d08b56a8-daf5-2e10-2397-904d6aeb55c2?QuickLink=index&overridelayout=true&52845277662714

 

Regards,

Sujit.


Viewing all articles
Browse latest Browse all 10482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>