Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

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.

1 REPLY 1

former_member156446
Active Contributor
0 Kudos

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.