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

passing two variables to a BADI that fills a virtual characteristic.

I posted in the BW forum but did not get any help.

I have a BADI that populates a virtual characteristic (enhancement of RSR_OLAP_BADI). This BADI gets a date variable value from the query. Can I send another variable value to the BADI? I want this because I want to add another retriction based on state. If I don't add this restriction to the BADI, it will go thru all the records in the cube and make it slow. How can I do this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 22, 2008 at 08:48 PM

    Hi there.. if that state field is available in the badi you can use that field.. check the attributes in the BADI if that field is a part of any table or is that an importing parameter..

    if <table>-<state> = 'US'.
    
    proceed ahead..
    
    endif.

    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.