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

Conervting 0FISCPER to a keyfigure

$
0
0

Hi,

 

how to find out the max 0FISCPER of a Order in BEX by 
the right setting of a replacemant path variable ?

 

How to convert the charcteristic 0FISPER correctly to a keyfigure

( http://scn.sap.com/docs/DOC-27491 ) ?

 

 

For Example - in goes the ORDER TABLE with the follwong data:

 

ORDERNO        FISCPER     PRICE

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

M1                  001.2014     11,11

M1                  005.2014     22.22

M1                  012.2014     33.33

A1                  010.2015     11,11

A1                  005.2015     22.22

A1                  001.2015     33.33

 

Out should go the desired result of the BEX Query:

 

M1                  012.2014

A1                  010.2015

 

I need to convert the 0FISCPER ( 007.2014) to a keyfigure, than find the max of it.
Problem is -i guess - the formatting of the 0FISCPER which is in the mmm.yyyy notation.

 

What settings will fit for the necessary replacemant path variable ?

 

Pretty easy basically in SQL - but how in BEX :

SELECT ORDERNO, MAX( 0FSICPER) FROM ORDER_TABLE

GROUP BY ORDERNO.

 

ThanXs

 

Martin


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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