ZXRSRU01 (RSR00001 BI: Enhancements for Global Variables in Reporting)
Hi,
we are using Userextit RSR00001 to define partproviders of a multiproviders by using variables and a custom table because our multiproviders contain more than 60 partproviders
i_step = 1
SELECT * FROM zvar_cube_userex INTO wa_zvar_cube_userex "
WHERE bex_variable EQ i_vnam.
IF sy-subrc EQ 0.
l_s_range-low = wa_zvar_cube_userex-infoprovider.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDSELECT.
At the end of i_step = 1 in I_T_VAR_RANGE we get following entries
ZINP_CP2 0infoprov I EQ ZCPCRAG
ZINP_CP2 0infoprov I EQ ZCPCRAG01
ZINP_CP2 0infoprov I EQ ZCPCRAG02
ZINP_CP2 0infoprov I EQ ZCPCRAG03
Now our question.
Cubes ZCPCRAG ZCPCRAG01 and so on are yearly cubes, devided by 0fiscalper. Now we think about, additional to our 0infoprov determination ( depending on query) using SAP standard possebility "Logical multiprovider partitioning" via table RRKMULTIPROVIDERHINT.
- Is that possible ?
- Is ther somebody who used it in the same way?
Harald
Thanks rakesh&sangeetha
In my senario
I created one report,on report I created on custmor exit varible
for calday
when I execute the report in 3.x analyzer Iam getting break point screen(I will take u to cmod)
If I execute same report in BI.7 It,s not displying break point?
(with out asking the variable values ,its directly executing the report)
why like this ?
Similar Messages
-
Syntax for declaring global variable in report
Hello all,
Kindly let me know syntax for declaring global variable in report?
Thnks,
SUnnyHi Sunny,
All data declaration in the main program is global.
Only if you do some data declaration withtin the subroutines then the scope of the variable is limited to that FORM ....ENDFORM.
As you read in the above reply for a global variable in FM you need to declare in the top include.
This means that you want this variable to be made available to all the Function Modules in that Function Group.
If you want to make the variabe be available only within that FM then do the declaration in the source code itself.
hope this explaination helps,
Taher. -
Problem with view object for global variables
Hi,
I'm using jdeveloper 11.1.2.3.0
We are using view object with transient attributes for global variables.
we defined the view as explained here:
http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
also we defined one of the attributes as primary key.
When we start to test our application with disable connection pooling we got some problems.
sometimes the row in the global view object is deleted.
(for example after using executeEmptyRowSet on other view object).
it looks strange, we couldn't fוnd why does it happen.
Any idea?As Timo said, it is very hard to help without source.
Are you sure that you do the next step:
After the call to super.prepareSession(), add code to create a new row in the transient view object and insert it into the view object. -
Using offset for global variables in FOX
Dear all,
I'm using global variables (i.e. defined in planning area)in my FOX formulas by using VARV-command.
I'm doing this for fiscal year, which has default value current year. However I'd like to use this variable also for next year thus creating the following code:
DATA CURYEAR TYPE 0FISCYEAR.
DATA NEXTYEAR TYPE 0FISCYEAR.
CURYEAR = VARV(Z021VA01).
NEXTYEAR = CURYEAR+1.
This gives a syntax error. Anabody any idea how I can use offset in the FOX for my variables?
Thanks in advance!
Kind regards, HarjanHarjan,
Use TMVL function to get the offsets.
DATA CURYEAR TYPE 0FISCYEAR.
DATA NEXTYEAR TYPE 0FISCYEAR.
CURYEAR = VARV(Z021VA01).
NEXTYEAR = TMVL(CURYEAR, +1).
hope it helps. -
Incorrect value for global variable
Hi,
I am facing an issue in a query. In the query there is a Global variable 'Volume type'. In the default value tab of the variable it is given Default value as Litre. In the table RSZGLOBV also i have checked the global variable and there also the 'Internal Characterestic value' is shown as Litre itself. But when I execute the query, it is giving an out put like:
For the keyfigure Volume,
If the keyfigure is having some non zero value, it is showing Litre.
If the kayfigure value is zero, it is showing KG.(which is wrong). For zero also it should display 0.00KG.
Please help.Hi Nitin,
changing the default within the variable would impact all queries.
Only if it was an exit variable, you could define within the exit to do different things depending on the query.
I would suggest the user uses personalization - but this impacts all queries where this variable is used for this user.
regards
Cornelia -
BADI for BI Global Variables in Reporting
Hi all,
We have requirement in our project like, we want to write BADI for all BI Global Variable. As already Customer exit is available for all the BI global variable , but as there is limitation of IF-ENIF Statements in Include program of Customer Exit Function module , So we are planning to go BADI. Does any one have idea on BADI for BI global variable.
Thanks in advanceKindly check below link for your kind information.
http://www.scribd.com/doc/40764652/SAP-BI-Global-Report-Variable-User-Exit-Modularization
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true
How to declare Global variable in BADI
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30de01e0-b6f5-2b10-fba1-b9193b82da2a?quicklink=index&overridelayout=true
Re: virtual keyfigure using BADI
Regards,
Kamruz -
Alternate For Global Variables.
I am working on Forms6i in Payroll System.
I have around 300 common global variables in my Module. When I switch over from one form to another, The variables stored in the previous Form are replaced by the new Form.
When I Come back to oldone form. I have faced Errors. How can I Solve This problem ?
I tried by using Local Parameters. It works but my forms will be bulky. I Could I solve this problem. Reply Urgently,
Thanks For Co-ordination.Hi,
What u can do is have Package Variables.
These Pkg can be created on the Oracle Server and can be used by the form.
U'r case of Global variable is unique.
Regards,
Ganesh R
null -
Substitiute for Global variable
i have a doubt if we can use anything other than a Global variable like:-
:global.<var_name>
for a variable i define at the form level, say 'When-new-form-instance' trigger and use it at block & item level.
In a big application, there is a doubt of using a Global variable twice.
Regards.Hi,
Decalre a variable in an package specification and use that for your purpose.
Global variables are good and bad at the same time. Once declared the live for the whole session. Each of them occupy 255 bytes of memory, so it's bad practise to use them heavily. Instead you can use the same variable again and again, but be aware: Since they keep their value they could lead to undesired behaviour unless you are careful and null's them (or give them a default value) each time you have used them. Often I capture their value in the pre-form trigger, store the value in a package variable within the form, and then give the global a value of '-1' (which is my default).
/Michael -
User Exit for Global Variables
Hello Gurus,
Which is the user exit where I can sed the code for the global variables
for eg:
0CYTLM - Cummulated to last month
If I want to write my own code, is it the same exit
thanks in advancesome docs may useful
http://help.sap.com/saphelp_nw04/helpdata/en/5c/8db0be555411d189660000e829fbbd/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a49bd590-0201-0010-51b9-ea4295036979
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/db37ce90-0201-0010-3c83-948c94792ae4 -
Use global variable in reports which is declared in forms
Hi All,
I have declared and used a global variable in Forms and after that I'm running a report and I want to use the same variable in reports.
How can I use that.
Regards
Praveen Kr. AroraHi Rizwan,
Thanks for prompt reply.
Can you explain in more detail with example.
Though I'm calling report from menu item and I have created report file with three parameters.
In menu item I have created a parameter list with same three parameters but whenever I tried to run then it gives Invalid ID error for all three parameters.
Regards
Praveen Kr. Arora -
i am working with some global variables in all of my application including forms and reports. the global variables are created in the when new-form-instance trigger of the main form. the global variables are accessible throught the forms but i d,not know how i can access the same global variables in my reports. pls some one help me to solve the problem.
If you only want to read the global parameters in Reports, you can pass them as parameters. Otherwise, you must put your global variables into a database table, for forms and reports are not sharing the same session.
-
Hi
RSZGLOBV is used to find all variable from this table? how can i get text for that variable? any t-code or table is there to get variable text also?You can copy the VARUNIID from RSZGLOBV and enter in table RSZELTTXT where ELTUID = VARUNIID
-
What's BADI about Customer Exit Global Variables in Reporting?
Dear Experts,
In BW side, about BW variable enhancement, i alway writing code in CMOD EXIT_SAPLRRS0_001/INCLUDE ZXRSRU01.
when have many peoples change this exit, will have appear some management issues, such as when have a person changing this exit, i can't chang it. and request management also have management.
Do you know which BADI can do it and replace CMOD's exit? Please advise.
Thank you very much.
Best Regards
SteveHi,
If you still feel that you are facing the issue, then you can create a new include for your project inside the
Include ZXRSRU01 and you can handle the datasources for your projects there.
You can also make use of this document Enhancing / Modifying Multiple Data Sources in Parallel which you can get by searching SDN
Prathish -
Get names of global variables from report (like Tab "Globals" in debugger)
Hello,
is it possible to get a list from all available variables in a report at runtime like the tab "Globals" in the new debugger?
The problem is that i don't know the names of the variables. So i could not do a dirty assign with field-symbols.
best regards
Marcel GäbeTry RS_PROGRAM_INDEX
table compo returns. filter with type = D
Will you please check GET_GLOBAL_SYMBOLS & RS_PROGRAM_INDEX _SOURCE -
Can't enhance ZXRSRU01 (customer exit for global vars)
Enhancment RSR00001 - BI: Enhancments for global variables in reporting
In function exit EXIT_SAPLRRS0_001
i'm trying to enhance ZXRSRU01 but get SAP message:
Program names ZX... are reserved for includes of exit function groups
what's wrong with that?????Hi
Please mark the quetion as answered if its solved
Regards
Amiya
Maybe you are looking for
-
Socket Connection Vs HTTP connection
I'm trying to get a better understanding of which to use to connect a midlet to a servlet. Does anybody know of any advantages socket connections have over http connections i.e performance or anything you can think of? Or is there any reason http con
-
Can iPhoto stream pictures to my apple tv 2?
I have a MacBook Pro running IOS Lion and I was wondering if it is possible to stream photos to the apple TV using iPhoto or something else. Thanks.
-
How do I figure out whether my MacBook Air can run with OS X Maverick? I think its a late 2008 MacBook Air, but the installer wont allow me to install. Thx, flying gorilla odel Name: MacBook Air Model Identifier: MacBookAir1,1 P
-
Mail cannot connect to account....
i keep getting this message sometimes a couple times a day ? "mail cannot connect to account ..." and i have to re enter my password everytime?
-
Hello Everyone, How to update zero to a column value when record does not exist in table but should display the column value when it exists in table Regards Regards Gautam S