Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 4032

BEx 7.0 Command (Push) Button won't Refresh Query w/ Parameters

$
0
0

I'm trying to refresh a query using the push / command buttom functionality in BEx 7.0 / BI7, however, it won't work properly. The query is refreshing, but it seems to ignore the paramaters I'm passing it to select a specific dataset.  Does anyone have any idea what would cause that? Or does anyone have a lead to specific instructions on how to use this functionality? The ones I have found are either not comprehensive enough or do not address the specfic task of refreshng a query with dynamic variables/paramaters like I'm trying to do.

Here's what I've done:

  1. From the "BEx Design Toolbox", I inserted a "Button" in cell A1 of my worksheet. From there it inesrted a button on my worksheet and switched BEx to design mode.
  2. I clicked on the design button to launch the Wizard.
  3. From the "Select Command Type" section, I selected the "Workbook-Specific Command" radio button and clicked the "Next->" button.
  4. From the "Workbook-Specific Command" section, I selected "Process Variables" radio button and clicked the "Finish" button. (I did not select the "Display Personalized Variables" checkbox). From there it took me to the "Properties of Button" screen.
  5. I left the standard values for the properties "Name of Buttion", "Range", and "Button Text" alone.
  6. I changed the "Command Range" field to $C$1:$E$4. This is where I'm placing my parameters I want the query to process when the query refreshes.
  7. The "Static Paramaters" include:
    • CMD | 1 | SHOW_VARIABLE_SCREEN
  8. I changed the "Static Paramaters" to the following instead:
    • DATA_PROVIDER | 1 | MY_DP_1
    • CMD | 1 | PROCESS_VARIABLES
    • SUBCMD | 1 | VAR_SUBMIT
  9. I clicked the "OK" button to close the properties screen.
  10. In range $C$1:$E$4, I entered teh following "Dynamic Paramaters" to the following (note the apostrophe I added in the 3rd column - I done this both with and without the apostrophe):
    • VAR_NAME_1 | 1 | 'MYFIELD1NAME
    • VAR_VALUE_EXT_1 | 1 | 'MYFIELD1VALUE
    • VAR_NAME_2 | 1 | 'MYFIELD2NAME
    • VAR_VALUE_EXT_2 | 1 | 'MYFIELD2VALUE
  11. I switched back to analysis mode from design mode and ran the query.

After that I would have expected it to refresh the query using the paramaters I provided in cells $C$1:$E$4, howerver, it doesn't. It refreshs the query fine (I can see the refresh time to verify), but it does not use the paramaters I've provided.

What am I doing wrong?


Viewing all articles
Browse latest Browse all 4032

Trending Articles



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