Skip to Content
author's profile photo Former Member
Former Member

Usage of BEx User Exit to perform calculation in BEx Query

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 02:48 PM

    Hi Carlos,

    in BEx you can use two type of exits: the first one that is related to variables (and here you can do only static calculation with no relation to actual processed records in your query) and the second one related to virtual objects...in these forums you can find a lot of related threads...anyway take a look to www.service.sap.com/bw -> SAP BW InfoIndex -> Variables

    Hope it helps !

    Bye,

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 02:48 PM

    Hi,

    Yes you are on the right path and to tell you the reason why variable not getting filled, you have to post your code otherwise you can also debug the code by putting a BREAK-POINT in the exit.

    Shashi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.