Quantcast
Channel: SCN : All Content - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 3763

Need to perform calculations on a specific characteristic in a BeX query

$
0
0

Hi,

 

I have a requirement to perform calculations based on Characters.

 

The data that is currently displayed in the report.

 

   Date              User               Activity                A        B

04/24/2014       BR3TXA         PTWY                 10        12

04/24/2014       BR3TXA         CLX1                  25        04

04/24/2014       YEXM035       NOWE               14        15

04/24/2014       YAXP134        DONQ                08       05   

04/24/2014       YRST112        PTWY                12       05

 

If Activity is PTWY, then A should be A * B = A. For the rest of the activity type, the value in A should be the same.

 

The result should display as Below:

 

 

 

 

  Date                  User               Activity                A        B

04/24/2014       BR3TXA         PTWY                 120     12

04/24/2014       BR3TXA         CLX1                  25        04

04/24/2014       YEXM035       NOWE               14        15

04/24/2014       YAXP134        DONQ                08       05   

04/24/2014       YRST112        PTWY                60       05

 

 

 

Is there a way out in IF, THEN, ELSE statements. Or Customer Exit variable with Code in CMOD would work?

 

 

 



Viewing all articles
Browse latest Browse all 3763

Latest Images

Trending Articles



Latest Images

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