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 advance

Kindly 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

Similar Messages

  • Syntax for declaring global variable in report

    Hello all,
    Kindly let me know syntax for declaring global variable in report?
    Thnks,
    SUnny

    Hi 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.

  • 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. Arora

    Hi 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

  • Global Variable in report

    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.

  • How to get value for a global variable from an exel file?

    Hallo all,
    I am a beginner in LabVIEW and I have  a problem in reading datas from an exel file . I would like to import a group of data with timestamps from exel file to a global variable. for ex. speed, acceleration and position of 4 different sensors to each of its global variable.
    It will be very nice if anyone can give me some ideas.
    Thanking you in advance

    ...continued here

  • Why does Labview create a .vi for each global variables?

    Hello,
    I wrote an Labview application which use several global variables (almost 30 variables). All the variables are of variable type "single process". For each of these variables, Labview creates a vi.
    For example, for the variable "_TS.Measures.channes", Labview creates a vi named "TS_'_TS.Measures.channels'.vi". Which means, I have almost 30 "name of variable".vi files: this is confusing!
    All my VI are inside library (.llb). When I try to put the VI of a global variable in a library, Labview can't find them anymore.
    May be can somebody explain me, why LabVIEW does create these VI and how is it possible to put them in a library.
    Cheers,
    Risotto

    Hi everybody,
    Thank you for your answers, I get a lot of informations.
    Yes, I use the new shared variables in LabVIEW8, which I am using like sort of global constants. Now I am understanding what guys are telling me all this about global variables in LabVIEW7.1. Sorry, I forgot to say I was using LabvVIEW8.
    I will have a look on the tutorial too.
    But yet one point about the library collecting all the shared variables in the windows explorer and in the project explorer: When I create a shared variable in my LabVIEW project - for example "test1" as double/single process - the variable doesn't appear in my file directory, but it appears in the project explorer in a library (.lvlib).
    When I drag/paste my shared variable on the block diagramm of my VI, then a file "Math_test1.vi" appears in my file directory. There is no extra .llb created to contain my shared variable vi.
    If I drag/paste the file "Math_test1.vi" in the Math.llb (see picture), then the file is moved in the llb and disapeared from the directory.
    If I created another shared variable "test2" as double/single process and put it on the VI, then LabVIEW creates2 files in the directory: "Math_test1.vi" and "Math_test2.vi". So that I get 2 vi for the "test1" variable now (one in the llb and one in the directory).
    I use several library in the project explorer. But the  library in the project explorer seems to create file with other extension (.lvlib) than the sdtandard LabVIEW library (.llb).
    Cheers,
    Risotto
    Attachments:
    picture.jpg ‏223 KB

  • 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
    Steve

    Hi,
    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

  • 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 ?

  • Best practice for mutable global variables

    I have read around a couple of posts regarding the topic and still haven't come to any with just the right answer for the best way to work with a variable which everybody other object needs to read and/or write? I have read about multiple ways for immutable variables but not quite sure what to do with mutable ones.
    I prefer to declare them in a global.h file
    extern NSString *currentUserName;
    and then in the global.m file
    NSString *currentUserName = @"none";
    in this scenario a user can login or logout at any time so every object throughtout the program should be able to change the username.
    Any inputs as to why thise shouldn't be done like this? Any other ideas?
    Message was edited by: rnieves_liberty, changed tags for code

    Is this a multithreaded application? If it is, then you will need to use some sort of locking on it. I prefer the "@synchronized" directive.
    The proper way to handle something like this is with a singleton. Ideally, that singleton should be a UserNameController. It, and only it, should be able to update the user name. Anyone else has read access only.

  • 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äbe

    Try RS_PROGRAM_INDEX
    table compo returns. filter with type = D
    Will you please check GET_GLOBAL_SYMBOLS & RS_PROGRAM_INDEX _SOURCE

  • Tables to get the hierarchy used for the global Variable

    Hello,
    we are using a characteristic Reporting Unit "ZCS_RDRUN" with a input ready variable "ZCS_RV_MM_REPUNITHIER_RDM".
    The reporting unit is a hierarchy characteristic and the variable is a hierarchical variable of type Hierarchy node variables fixed to a hierarchy we are using for this query. We do have selected a hierarchy for the input ready variable e.g. Total Group. My question would be is it possible to read out the selected hierarchy of the input ready variable from a table? If YES, from which table? I know that we could read out all input ready variables but i dont know how to read out the hierarchy selected for the input ready variable of type "Hierarchy node variable".
    I would be very thankful for all your help
    Thanks and kind regards,
    Muri

    You check the query run times and other details in the work load analysis (ST03) or using the table RSDDSTAT .
    inorder to check the information using the above two methods -make sure the Bi stats are maintained in your system
    http://wiki.sdn.sap.com/wiki/display/MaxDB/WorkloadMonitor%28ST03orST03N%29

  • Global variable in reporting

    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

  • 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 advance

    some 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

  • How do you override global variable values when calling oraxsl or xsl.exe?

    I am a newbie to oracle xslt.
    I have down loaded the latest version of xdk (10.1.0.2...). (Jan 2, 2009).
    In the past I haveI used micorsoft's "msxsl.exe" to perform my transformations.
    I am looking for a more up-to-date transformation tool.
    I found Oracle's version, and thought I would try it out.
    I have run the "bin/xsl.exe -hh" command.
    I read its help data. It states that variables are
    passed by coding a pramater "-V <var> <value>".
    I have also examined the oraxls.bat file.
    I found the documentation on "oracle.xml.parser.v2.oraxsl" class.
    It states that parameters are passed after the "-p" switch.
    It says the value of the -p parameter is "a list of paramemters".
    I don't find this sufficient information to be useful.
    I can spend days guessing, and I might get lucky.
    I thought it my be better to ask for help.
    I need to pass in (override) values for 3 global variables.
    I saw the method
    "setParam(namespace, variable, value)",
    near the documentation for the "oraxsl" class.
    How do you format the options string to communicate more than one param statement?
    (in either xsl.exe and/or oraxsl class).
    Suppose I have an xslt stylesheet as follows:
    ==================================================
    <?xml version="1.0" ?>
    <xsl:stylesheet version="1.1" xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >
    <xsl:param name='a' select='"default_a"' />
    <xsl:param name='b' select='"default_b"' />
    <xsl:param name='c' select="'default_c"' />
    <xsl:template match='/'>
    this is value for a: <xsl:value-of select='$a' />
    this is value for b: <xsl:value-of select='$b' />
    this is value for c: <xsl:value-of select=$c' />
    <xsl:apply-templates />
    </xsl:template>
    </xsl:stylesheet>
    ========================================================
    Now as part of the calling of the XSL processor I want to change the value of these
    three global parameters.
    I want:
    a="current_a",
    b="current_b",
    and c="current_c"
    How do I express this using xsl.exe and its paramter string (-V ????).
    and/or how do I express it to the oraxsl class ( -p (xsl, a,"current_a"), (....) )???
    The syntax for specifying this information is not very clear in either situation.
    Of course I am making the "assumption" that by "param" they are
    refering to "global parameters" (as in my stylesheet), rather than some other global parameters of XLST.
    As an aside inquiry:
    I had hopped that the Oracle's xsl Verion 2 routine could handle xslt 2.0 commands
    such as "xsl:for-each-group", since it handled multiple xsl:outputs.
    From reading some of the documentation it seems it only handles xslt 1.0 syntax/commands.
    Is this true? (or is the documentation not up-to-date?).
    Any help on passing param values to xsl.exe and/or "oraxsl" class is appreciated.
    Thanks.

    Here is the line from one of my testing .bat files that passed in one parameter. I can't recall if I've passed in two, but this will give you a starting point for passing in multiple
    java -cp %CPath% oracle.xml.parser.v2.oraxsl -p show_image='yes' %ValXML% %ValXSLT% As for XSLT 2.0 support, it appears it does per {thread:id=503445}

  • How to print global variable in smart form table cell

    hi,
    i have smartform and i insert table in it, i also have set global variable, i want to show variable in table cell.
    regards
    shahid rais

    Hi Shahid Rais 
    You can use this global variable that has been declared in anywhere as you like.
    For displaying global variable in table lines, You can first set the column and row of the table by using the table tab in table node . Then, u can decide either the variable u want to used will be placed on header, main, or footer. After that, right click on one of the table part, and choose create table line. After choosing the correct line type as already been declared in the table painter, just simply right click on the table cell, and then create text node.
    You can now enter your variable by using "insert field".
    And don't forget the & & signs before and after your variable name.
    Regards,
    William Prawira

Maybe you are looking for

  • Saving files troubles

    Hello, My documents are sometimes not saved when I reopen them. This happenend to me about 7 times in the last 2 months, since I work with CC, on my new iMac. never happened to me in the last 8 years. Please, inform me about the problem and the solut

  • How to revert back the changes that are moved to Production

    Hi all, We have done changes to my DC.We moved the activity into production.We need to revert back the changes in all the systems. Is there any procedure to acheive this? Thanks and Regards, Rajesh.A

  • Ethernet has self assigned IP Address,will not connect to internet?

    Ethernet has a self assigned IP Address and will not connect to the internet. I am on -  Mac os X - 10.7.5 Using a BT Broadband Router, my power mac is connected to the network via TP-Link Plug POWERLINE. This has worked great for ever! A week ago, m

  • TS3274 Sound won't work for games

    THe sound won't work for games unless I plug In headphones. The setting shows like the sound is on.

  • Help with OS X Yosemite

    I downloaded Yosemite onto my macbook pro and now the music I had on my computer, which was from my cd collection is disappearing. I have no trouble logging in to airport at home, but I can't stay logged into airport when I am at school. I never had