Quantcast
Channel: SCN : All Content - SAP Business Explorer (SAP BEx)
Viewing all 3763 articles
Browse latest View live

Bex Query Authorisation

$
0
0

Hi BW Chaps,

 

I have created a role for specific users to authorise only specific set of profit centers based upon regions.

 

I made profit center as authorisation relevant at back end and also created variable of type characteristic  with processing type manual entry/default value.

Not mandatory though.

 

Now, in the variable screen  when I give blank under profit center and run the query the output of the query is taking all the Profit centers which the user is not authorised and throwing me an error as user is not authorised when I check in Rsecadmin tcode logs.


However it runs fine if the user selects any of the profit centres and run the query.

 

Can any one help me out where lies the problem when I am giving nothing at profit center variable screen.

 

 

Regards,

Sai


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?

Formula to include customer exit variable

$
0
0

Hi All,

 

we have a requirement to derive a local formula in BEx query,

 

Amount * Customer exit variable

Customer exit takes input month and drives the exchange rate present in a table.

 

Is is possible to include customer exit variable inside a local formula? If not, any other alternate way to achieve this scenario?

 

regards

Pradeep

Exception Aggregation Not Working

$
0
0

Dear Experts,

 

I have created a report for billing document details. In the report I have finding the exception aggregation for some billing documents are not working.
Would you please suggest me how can i solve this issue?


At Cube level:

Cube level.png

I am using exception Aggregation average with condition type
desired value  is 20,000 but it is showing 21.818 which is wrong.

 


At Report Level:

report.jpg


Can you please suggest why exception aggregation is not working  here.

 


Best Regards

No. of Working days between two dates at Query Level

$
0
0

Hello Gurus,

 

I have defined date as keyfigure and am deriving the two dates (Start and End Date ) at query level based on a condition. Now,I would like to calculate the no. of working days between these 2 dates which I could not achieve by subtracting from one with another. But,how can we achieve this at query level using factory calendar logic. Please let me know your inputs.

Passing variables to a BEx query dynamically

$
0
0

Hi All,

 

We have a requirement to pass values for variables dynamically to a Bex 7x query because we do not want to prompt any variable screen to the user. I tried few steps as suggested in SAPBEXsetVariables range but still have some questions unanswered. So request your thoughts on the same.

 

Below procedure has been followed.

1. Open Bex Analyzer

2. Navigate to Bex Analyzer (menu) -> Design Toolbar -> Insert Button. This will switch on the Design Mode.

3. Click on the button, select "Workbook-Specific Command" and click on next (Data provider need not be worried about at this point as it can be changed later also).

4. Select "Process Variables" and click on Finish.

5. One more window with an heading "Properties of Button" will be shown with fields like "Name of Button", "Range", "Button Text", "Command Range" and few other.

6. On the right side of this window, list of Static Parameters can be created.

7. As an example, i created below parameters

 

CMD                         0          PROCESS_VARIABLES

DATA_PROVIDER      0          DP_1

 

and created a range having below details and provided this range in "Command Range" field (in button properties)

 

VAR_NAME                     0         #NAME1#              

VAR_VALUE_EXT            0          #VALUE#

VAR_NAME_1                 0          #NAME2#

VAR_VALUE_EXT_1         0          #VALUE2#

 

8. This DID NOT WORK for me. Actually nothing was happening when the button was pressed.

After some investigation, i figured out that i need to have one command like below

CMD                     1      SHOW_VARIABLE_SCREEN

Without this neither the variable screen was shown nor it read the parameter values from the excel range provided.

Once this was done, the input screen was shown and with the values that i provided in my excel range.

 

Here are my questions. Pls provide your valuable inputs.

 

1. Why am i forced to have a command for "SHOW_VARIABLE_SCREEN"? Is this mandatory? problem with this is that user will always be shown a input screen which we don't want (in fact the very reason for this exercise is not to show the parameter screen but to supply values to it from the back end). Is there some setting that i need to do to get rid of this?

 

2. The setup can read values for only  2 parameters. i mean when there is an additional variable, the program is not reading the 3rd parameter values (of course i updated the "command range").

VAR_NAME                     0         #NAME1#              

VAR_VALUE_EXT            0          #VALUE#

VAR_NAME_1                 0          #NAME2#

VAR_VALUE_EXT_1         0          #VALUE2#

VAR_NAME_2                 0          #NAME3#

VAR_VALUE_EXT_2         0          #VALUE3#

 

Thank you. Looking for a sooner response.

 

Lohith

SAPBEXsetVariables range

$
0
0

Hello BExperts,

 

What format/structure does the SAPBEXsetVariables API function expect for its input range? I have been struggling for several days now to figure this out. The description of the API function is below.

 

Function SAPBEXsetVariables(varValues As Range) As Integer 

Set variable Values for User to provide Pop-Up Filter selections (Filter dialogs will be disabled if properly filled)

 

The code I have written attempts to open a workbook, set the values of two variables that it normally would prompt the user for, and refreshes the workbook.

 

Sub TestMacro()    Dim varValues As Range    Set varValues = Worksheets("Test").Range("A6:F7")    Run "SAPBEXreadWorkbook", "W4FSAZJXZ341W13I569KJ28RX"    Run "SAPBEXsetVariables", varValues    Run "SAPBEXrefresh", True
End Sub 

 

The workbook opens and refreshes just fine, but always prompts me for the variable values.  The workbook only contains one query. Searching the Internet reveals that several others have had this problem but I cannot find a solution.

 

It appears that with BI 3.x one could simply overwrite variables values in the hidden "SABBEXqueries" sheet. But it seems that sheet no longer exists for BI 7. Function SAPBEXdebugPrint does not seem to be available for BI 7 either so I cannot see the C_T_VARIABLES structure that some recommend looking at.

 

The last post in the following thread appears to reveal the structure of the range that SAPBEXsetVariables expects, but did not work for me. BEx still asks me for the values of the two variables.

http://forums.sdn.sap.com/thread.jspa?threadID=276850&tstart=0

 

Any help would be appreciated!

 

Edited by: alfredough on Dec 29, 2011 5:48 AM

Issue with display in analyser

$
0
0

Hi experts,

 

I have an issue with the display of values in BEX analyser.

 

Sans titre V.png

 

In fact the value of Raw material is 8,9 and i should display 8900 (Total sales in tons)

I checkec on Query designer, sales in Tons ans Raw materials have the same display properties.

 

What can be the cause of this issue?

 

Thanks.

 

Amine


Bex F4 help no values

$
0
0

hi all:

 

     I encounter a strange status in our BW bex F4 help as below ,please help!!

      when we have SAP_ALL authorization:

       QQ图片20141011134759.jpg

          when we use our key users' authorization (without SAP_ALL) ,just some company's display authorization;

         QQ图片20141011135208.jpg

            in our company about data authorization control, we only control IO 0comp_code;

 

            best regards,

How to maintain variable display settings

$
0
0


Purpose:

When executing the reports in Java web, it is required to change variable display from 'Key' to 'Text' or from 'Key' to 'Key and Text' or from 'Text' to 'Key'.

 

 

Overview:

You execute a report and in variable screen you see that display is 'Key' and you want the display as 'Key and Text' or only 'Text' or 'Text and Key' or even no display.

 

 

Steps to Replicate:

 

  • Execute query or web-template in Java web.
  • Variable screen comes up.
  • Display setting is not as required for Key, Text display.

 

 

Now you need to follow below steps to get the correct display in variable screen.

 

  • Goto transaction code RSD1.
  • Enter the Info-object (characteristic) for which you want the display as per your requirement
  • Goto tab "Business Explorer" and change the Display settings as per requirement as show in below screen.

 

var.PNG

 

This will change the variable display as required.

Variable Settings Default Key and Text

$
0
0

Hi

i have two variables but default settings cause me some problems,

 

i need  variables set in key and text by default, the bussines explorer tab key and text are selected,

 

Key and text.jpg

 

But when i displayed any report with this objects in portal web bex analyzer, only display the key by default

 

Portal variable.png

 

i need the key and text,

regards any suggest.

 

thanx

angel

SAP Bex query design for finance general ledger line items data for financial profitability statements

$
0
0

hello guys , right now i am working on SAP BI implementation project on Finance module data - General ledger line items - FIGL_4. The info cube design is pretty much gud and finished.now i need to design the data in BEx designer. my requirement is to create a report of Company code wise financial profitability statements on any particular date With major revenue. Here in BEx i have multiple dimension data need to be arranged and design properly. but i am unable to know which char and key figs are need to be there and which should be restrict .

 

so can u guys help me to design the FIGL_4 data in BEx. i have important data like - company code, fiscal year , plant, gl a/c, posting date, doc date, reference key, item num, fiscal year/period , variant, item status, business transactions, cost center , profit center , and the key fig data like credit amount /debit amount in different currencies, amount in multiple currency etc..


                                          so help me how the dimensions and key fig need to be design so that i can make a valid report. please go through the screenshots.

 

 

Regards

Ashish

How to display attributes in Input help

$
0
0

Purpose:

You want to display the attribute in Input help (F4 help) when running the report in web.

 

Overview:

You have a characteristic with attributes and want to display these attribute in Input help (F4 help) when running the report in web.

These attributes are active but is not shown in input help.

 

Steps to replicate the issue:

 

  • Execute query in web.
  • Call the Input help (F4 help) for the characteristic having attributes.
  • No attributes are displayed in input help.

 

Now you need to follow below steps to get attributes displayed in input help in web:

 

  • Goto transaction code SE16
  • Enter table name "RSADMIN
  • Check whether parameter "IGNORE_RSD1_MA_ATTR" is available and set to X in table.
  • Please remove this parameter or change the value from 'X' to blank "".

 

You can change the RSADMIN table entry by calling program 'SAP_RSADMIN_MAINTAIN'.

 

This will display the attributes in Input help (F4 help) for the characteristic when running the report in web.

BEX Analyser change variable values

$
0
0

Hi all,

 

I created a workbok bex with a variable V,i run the workbook, after i added some coments  without saving the workbok.

 

When i clic in change variable values for changing data ,i want return to initial format of workbok without comments .

 

Its possible?

 

There is an option ,if i change the variable (button change variable values) the workbok rerun automatically?

 

Thank you

BEx web problem after upgrade: hierarchy variable and OK button

$
0
0

Hi experts,

 

we are busy in an upgrade project in which both portal and BW are being upgraded to 7.40.

After upgrading we find several problems in which we get stuck.

 

First problem: every query that has a variable on an infoobjects marked with a hierarchy does not work in Java Web.
As soon as we press the lookup button the browser freezes.

In ABAP web en Bex analyzer everything is OK.

 

Our release is BW 7.40 SP5. For the Java things we had to upgrade Bex web components to 7.40 SP6.20 (BW Java and portal system).

On OSS, SCN and google we cannot find any clues for this.

We are preparing the OSS call for SAP but maybe anyone of you experts has faced the same issue.

Any advice is welcome.

 

Second problem:

When a variable screen pops up and everything has been filled in, we have to press the OK button twice (instead of once).

The first OK does a check/validate and then returns to the screen instead of proceeding when check is OK.

 

Has 7.4 introduced a new setting we have to adjust for this?

Or might this be a bug?

 

Thanx for your reactions.

 

Marco


Query Performance issue, Multiprovider, Navigational Attribute

$
0
0

We are having a strange Query performance issue.

 

We have a multiprovider with 4 underlying cubes.

The query takes an excessive amount of time on one particular cube.

I’ve narrowed down the issue to a specific navigational attribute. If I remove this navigational from the query filter there is no issue. 

There are only unassigned entries for this navigational attribute in the particular cube.

 

The reportwas running fine before the underlying cube was retransported into the system for a different change.

The Multiprovider was not transported but was active.

I have tried reactivating the Multiprovider with the activation program but is did not have any affect.

 

 

We have a different Multiprovider with the same 4 underlying cubes plus some additional cubes and there is no issue on this multiprovider.

 

 

 

 

Thanks for the help

ingrid

Report of profit centre accounting has data mismatch

$
0
0

Dear Experts,

 

My end users are facing data mis match in reporting. We have Z report  "Budget and Actuals" in profit centre accounting.

 

Cube: 0PCA_C01.

 

1.Update mode (Data Load) - Full Load on daily basis.

2. Datasource & Info source -  0EC_PCA_1

3. Ecc Report: Tx S_ALR_87013326

 

Analysis: Number of records in RSA3 at ECC is same as off Loaded records in BW.

 

Data load is succesful. But still is saying there is data mismatch ECC & BW. They are saying Account Numbers which shows 0 amount (Zero in ECC) but shows some figure in BW report and some accounts has diifernce in figure compare to ECC & BW report.


 

Please advice.

 

Thanks in advance.

Taniya

How to suppress variable screen in templates

$
0
0

Purpose:

When executing the Web Template you do not want the variable screen to be displayed.

 

Overview:

When you execute a Eeb Template you get the variable screen pop-up. You do not want variable screen and only want the result directly.

 

Steps to replicate the issue:

 

  • Execute Web Template in in web
  • Variable screen pop-up comes up.

 

Now inorder to suppress the variable screen pop in Web Template you need to follow below steps:

 

  • Open Web Application Designer
  • Open Web Template for which you want to suppress variable screen
  • Goto Web Template properties
  • Turn OFF "Display Variable (VARIABLE_SCREEN)
  • Save the Web Template.

 

This will suppress the variable screen when executing the Web Template in web.

suppress.PNG

 

Please note : Incase variable screen contains mandatory variable which are not prefilled with default values or with user exits.

                      In such case with mandatory variable being empty variable screen cannot be suppressed.

Bex authorization issue - Query change authorization required but not delet

$
0
0

Hello All,

 

I am facing a strange issue with query authorization,

 

I have provided all the activities apart from DELETE in objects S_RS_COMP and S_RS_COMP1 but still I am unable to change queries in Bex.

 

When I provide activity 06 (delete), I am able to change the query in Bex. I am unable to understand why its not allowing to change the query when change activity is provided in S_RS_COMP and S_RS_COMP1 objects.

 

Just to inform that I have also added required autho objects like S_RS_AUTH (0BI_ALL), S_RFC, S_GUI.

 

Please help me on this.

 

Thanks,

Kishor Wagh

Authorization change in query designer with EHP1

$
0
0

Dear all,

 

We installed the EHP1 recently , but now we receive a "Authorization Change not available for Query <xxx>" error when trying to open a query. Unfortunately I couldnt determine an error number. In the authorization trace via ST01 I only see entries with RC = 0.

 

Thanks for any input!

 

Cheers.

Viewing all 3763 articles
Browse latest View live


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