cancel
Showing results for 
Search instead for 
Did you mean: 

Variable to store a result of a complex calculation in bex query

Former Member
0 Kudos

Hello all,

I've got a query in BEX with some key fields to display and also need to perform some calculations not supported in bex formulas.

I think this could be made in a BEX user exit and I'm trying this by creating a project in CMOD assigning EXIT_SAPLRR0_001... Working with INCLUDE ZXRSRU01 and so on.

I just want to know if this is possible this way because I execute my query and the variable created never get any value at runtime.

Could anybody help me or give an idea on how to use BEx user-exits?

Thank you very much,

Carlos Hinestrosa.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try formulas avialable at the update rules level, rather than do it in User Exit variable.

tom_francis2
Active Participant
0 Kudos

I think what you want to do should be done using Virtual Infocubes. (see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to implement a virtual infocube with services)

The user exit you are referring to can be used to do some calculation on variables entered in the variable selection screen, but cannot be used to do calculation at row level.

Hope it helps,

Tom

Ashwin
Active Contributor
0 Kudos

Hi!

I think it should work .here are some links to help topics on using user exits.

presentations

https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700005475091999E

Help:

http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

propably they might help you

With regards

Ashwin