Text for Exit Variable Values

Hi
We are populating the variable with the exit function module and I am using this variable as an user restriction of values. When my user opens the input box to select the values of this variable, there not able to see the attributes that are there for that characteristic as well as description of the master data values. The only thing that they are seeing is the key values that are populated by the exit. Can you please let me know what is the reason for this behavior and we are using web excel interface and using BW 3.5 version
Thanks,
Raj.

Hi Guys
I have solved this. I had to select the Planning level in the variable component to populate the text in the variable of type exit.
Thanks,
Raj.

Similar Messages

  • Using Broadcaster to run a query for sequential Variable Values

    Hi SDN Community
    I came across a powerpoint slide regarding broadcasting which i hope to use in one of our reports.
    We are on SAP BW 35.
    Broadcaster has been used
    Your opinion would be greatly valued in regards to the direction i should proceed for our particular purpose.
    We basically have a report which is a web report.  This contains much html and javascript enhancements.
    But it essentially has queries with a series of variables.
    The customer would like the Queries to be cached for each variable value for performance reasons, on a daily basis.
    eg. Run the same query for Variable value BMABRM, then BMASRM, etc...
    In a loop fashion.
    Do not need to set a process chain to trigger broadcaster, or rather simply to schedule the broadcaster to run daily.
    I would basically then want to run this (cache) query in an iterative fashion, ie. rerun it for all the sites.
    Can you please make a recommendation to which is the best approach, whether a process chain should be set up, and any experience you may have had setting up a query to rerun for different variable values.  We would of course want the query to run successfully before rerunning it for the next variable to avoid locks, etc.
    Thank you in advance.
    Simon

    Hi Rahul,
    i have been trying to use the process chain functionality to do this but unsure how to do it.
    Which objects do you use in the process chain:
    Trigger Event Data Change (for Broadcaster)
    or Execute APD Model
    or Precalculation of Web Templates
    i am unsure how to incorporate the queries into the process chain.
    If you have any steps , it would be much appreciated.
    Thank you.
    Simon

  • Wrong text description for exit variable

    Hi,
    I have a problem with descriptions of variables created on 0FISCPER. I created two exit variables 'Z1' and 'Z2' and the related Function module that reading a custom table (I read the last closed period) build a range. For the first variable the range is 001.2006 to the last closed period. For the second variable the range is from (last closed period + 1) to 012.2006.
    The manual layout (dynamic for 0FISCPER) shows for the columns related with the first variable the description of the first period (January), for the other acts the same (May - the first value of second variable)
    Values from infocube are selected correctly so the problem seems to be specific of texts.
    Thank you in advance,
    Andrea

    Hi Andrea,
    first check if fiscal year variant is restricted to a single value. Then look into the customizing for the FYV. It's possible to maintain texts for periods there, so check if those are correct.
    If it still does not work, open a message to SAP support.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Importing a text file with variable values into web reporting

    Hello,
    I'm looking for a possibility to import values from a text file into a variable selection in Web reporting.
    With BEx reporting in Excel this is possible, by clicking on the multiple selection button in the variable popup screen, and subsequently selecting the "Import from Text file" button.
    However, this function seems not to be available for web-reporting...
    It would be great if someone could help me out with this!
    Thanks & regards,
    Arvid

    Hi,
    we could resolve this issue, so i thought it may also be helpful for others:
    In our example we used a file with numbers for materials. This file is stored somewhere in a directory, to which SAP BI must have authorization to read.
    The file looks something like this:
    4711
    4712
    4713
    4714
    The file is named "import.txt" and lays in directory "/usr/sap/EC6/files/bi/"
    *&  Include           ZXRSRU01
    * global variables
    Data: intern_range LIKE LINE OF i_t_var_range,
          l_s_range    TYPE rsr_s_rangesid,
          line(100)    TYPE c,
          p_file(128)  TYPE c,
          length_rangelow  type i,
          tmp_rangelow     like l_s_range-low.
    * internal tables for selection-transfer from transaction
    * Data: BEGIN OF it_file occurs 0,
    *        it_p_file(128) TYPE c,
    *      END of it_file.
    IF i_step = 1.
    ** variables can be changed or set before pop-up appears
      CASE i_vnam.
    * take material from external file to selection-list
         WHEN 'ZSD_UPMA'.
    ** call of transaction, with which the path can be set
    *CALL TRANSACTION 'ZBW_VARIABLE' using it_file
    *MODE 'A'      " call should be visible, so that variable can be set
    *UPDATE 'S'.   " first transaction, then processing
    ** Der Pfad, der in dem Selektionsbild eingegeben wird, wird an die Variable übergeben
    ** Der Set-Parameter ist in Report ZSD_SELECT_VARIABLE
    *  get parameter id 'VAR' field p_file.
    p_file = '/usr/sap/EC6/files/bi/import.txt'.
    * further handling of variable in BI
          OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            READ DATASET p_file INTO line.
            WHILE sy-subrc = 0.
              IF line(2) <> '//'.
                l_s_range-sign = 'I'.
                l_s_range-opt  = 'EQ'.
                l_s_range-low  = line.
    * fill with leading Zeros
    * in variable tmp_rangelow the value from l_s_range-low is taken
        tmp_rangelow    = l_s_range-low.
    * read the length
        length_rangelow = strlen( tmp_rangelow ).
    * in our case: material has 18 characters
        while length_rangelow lt 18.
          CONCATENATE '0' tmp_rangelow INTO tmp_rangelow.
          length_rangelow = length_rangelow + 1.
        endwhile.
    * initialize l_s_range-low
        clear l_s_range-low.
    * set with filled values
        l_s_range-low = tmp_rangelow.
    * transfer to structure
                APPEND l_s_range TO e_t_range.
              ENDIF.
              READ DATASET p_file INTO line.
            ENDWHILE.
          ENDIF.
          CLOSE DATASET p_file.
        ENDCASE.
    ELSEIF i_step = 2.
    ** in step 2 all variable values from pop-up input can be processed or
    ** User Exit variables can be derived
    * UserExit Ende.
    ENDIF.
    Hope i could help!
    Best regards,
    Tobias

  • Customer Exit Variable Value

    Hi Everyone,
    I've been searching around this forum and couldn't find what I'm looking for hence resulted me starting a new thread here. I'm a fairly beginner in ABAP and I come across a problem where I have no idea on how to solve it.
    Basically, I have a customer exit with multiple variables and it is being filtered out by certain criteria, the question is when I did not fill in any input and execute the query, the result is return as expected however, if i fill in an input that is not supposed to display, it will display as well, and when I debugged, there's no value  E_T_RANGE in the export  Sorry, I might cause some confusion here, but I'm not sure on how to re-phrase my current situation
    I'm guessing that, the variable stores the value eventhough it's being filtered based on the criteria, is that possible? My question is, is it possible to clear the current value in the variable and export the value (E_T_RANGE) ?
    Regards,
    Kilo

    Hi Kilo,
    thanks a lot.
    This is what SAP documentation says about usage of this exit:
    "With this enhancement to global variables in reporting you have the
    option of determining your default values for variables. You can use
    this enhancement for variables, for which 'Processing by Customer-Exit'
    has been selected in the variable maintenance. This is valid for all
    variable types (characteristic value, node, hierarchy, formula and text
    variables). You use the Exit EXIT_SAPLRRS0_001 for this.
    You could, for example, establish the default value of a characteristic
    value variable depending on the user."
    In your exit, first thing to do is check what variable has been passed in parameter I_VNAME. Check if this variable has been set for 'Processing by Customer-Exit' in reporting.
    I think the way to exclude certain values is to use the SIGN 'E' in the range, i.e.
    l_s_range-low = '<variablevalue to exclude> '.
              l_s_range-high = ' '.
              l_s_range-sign = 'E'."Exclude
              l_s_range-opt  = 'EQ'.
    Also, I think the exit is called 3 times per variable name, for you I_STEP = 2 and I_VNAM = 'Z_MUL_O_ZBO00021_091' is relevant.
    I have limited experience with BEX reporting so you may check SAP Help for [Customer Exits in Reusable Query Components|http://help.sap.com/saphelp_nw70/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm]. There is info about  [Dependencies for Variables of Type Customer Exit with sample source code|http://help.sap.com/saphelp_nw70/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm]. Check also R. Prem Kumar's very good article [Using User Exit for Variables in BEx Reporting|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09d4588-3832-2c10-e185-f778d9dbea85?quicklink=index&overridelayout=true].
    Hope this helps you to solve the issue.
    Note: When asking a question, give a short description of what you are doing and what you want to achieve in business terms and natural language. Add relevant technical details and help is just around the corner.
    BTW: Did you search and/or find the information in the links I gave? G*gle was my servant here.
    Regards,
    Clemens

  • Wrong description for exit variable

    Hi,
    I have a problem with descriptions of variables created on 0FISCPER. I created two exit variables 'Z1' and 'Z2' and the related Function module that reading a custom table (I read the last closed period) build a range. For the first variable the range is 001.2006 to the last closed period. For the second variable the range is from (last closed period + 1) to 012.2006.
    The manual layout (dynamic for 0FISCPER) shows for the columns related with the first variable the description of the first period (January), for the other acts the same (May - the first value of second variable)
    Values from infocube are selected correctly so the problem seems to be specific of texts.
    Thank you in advance,
    Andrea

    Hi Eugene,
    thank you very much for your reply. The problem I described arise in BW-BPS trying to build a planning layout with actual and plan periods. So I have two variables on 0FISCPER. In the related Function Modules I select the last closed period from a custom table building two ranges : from 001.2006 to the last closed period for the first variable (actual data) and from (last closed period + 1) to 012.2006 for the second.
    Data selection from infocube works correctly, but columns texts are wrong.
    ES:
    Jan 2006 Jan 2006 Jan 2006 Apr 2006 Apr 2006 .....
    Actual   Actual   Actual   Plan     Plan
    Thank you,
    Andrea

  • Enabling Key and text for the Variable Selection screen

    I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?

    Hi,
    Did you try to log out and log in again into BEx?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Problem regarding Selection Text for a Variable declared in ABAP

    Hello Experts,
    I am new to ABAP development. I have declared a variable in ABAP..Then i went to GOTO>Text Elements> Selection texts.
    Then when i am selecting a date to have dictionary ref, then the text part is changed to "Date in Format YYYYMMSS in 8 C", then i can't customised it any more. But i want to display the text as "START DATE"..but while running. it's displaying "DATE" only.... How i can get rid of this situation?
    Another problem : the limitations for th text in selection text is upto 33 charcaters by default..How can i change that so that i can accomodate as many characters i want.
    Please help...I got stuck here for long time
    Thanks
    ANUPAM

    Hi,
    In the selection texts, don't use the check box to use the dictionary reference. So that you can declare your own text here.
    If any text symbol is already declared and now if you want to increase the text, by default the maximum length is assigned.
    So simply delete and insert the text symbol again. It will work.
    For the selection texts, if you want to use more length, then use as below.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS pc_check AS CHECKBOX.
    SELECTION-SCREEN COMMENT 4(60) text-020.
    SELECTION-SCREEN END OF LINE.
    Here the text-020 will come in the selection screen for the above check box.
    Regards,
    Nangunoori.

  • Key and text for variable

    Dear ALL,
    I m having one variable for that i need key and text in bex analyzer.
    how to enable the key and text for a variable.
    pls asap
    regards,
    Jenish

    Hi jenish kumar ,
    if i under stan your requirement correctly,  need to have both text and key values for variables with F4 help.
    you need to chnage the properties of that infoobject at infoobjects level or at infoprovider level,
    this is at infoprovider level
    in RSA1-> go to change mode of infoprovider (Multiprovider/ cube) on which Query is build) then Expand  Charecteristc Dimension -> select infoobject -> right -> select provider-specific properties -> select Display '0 Key and Text' . Activate infoprovider and Run Query and check the Selection screen.
    hope this helps
    Regards
    Daya Sagar

  • Tool Tip Text for field values in ALV report

    Hi,
    How to get the tool tip text for the field values in ALV report.
    Thanks & Regards,
    Pallavi.

    Hi,
    In fieldcatalog specify the TOOLTIP.
    <b>
    LVC_S_FCAT-TOOLTIP
    </b>
    In this speicfyteh tooltip you want.
    Then append this to the fieldcatalog.
    Hope this solves ur problem.

  • Getting error while trying to set text for form value field in oaf

    Hi ALL,
    When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
    I tried below way.
    OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
                containlineid.setText(pageContext,"test");
    Thanks

    HI Keerthi,
    I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
    after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
    public class XXDPECONTAINLINESCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          OARawTextBean startDIVTagRawBean =
          (OARawTextBean) webBean.findChildRecursive("DivStart");
          System.out.println("debhorizontal"+ startDIVTagRawBean);
    // addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
         String preplenish = pageContext.getParameter("item1");
          String pworkorder = pageContext.getParameter("item2");
          String pdmr = pageContext.getParameter("item4");
          String punloading = pageContext.getParameter("item6");
          String prrnum=pageContext.getParameter("item16");
          String pworknum=pageContext.getParameter("item14");
          String pdtr=pageContext.getParameter("item13");  
          Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
          OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("item11")!=null)
            if(am !=null)
              am.invokeMethod("getSearchData",param);
          if (pageContext.getParameter("item30") != null) {
            String recout = (String)am.invokeMethod("getSelectedData");
               System.out.println("deb multi select test"+recout);        
                System.out.println("1111test1"+pageContext.getParameter("item32")); 
                OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
                System.out.println("1111test2"+pageContext.getParameter("item32"));
                //containlineid.setValue(pageContext,recout);
                System.out.println("1111"+pageContext.getParameter("item32"));
              ///  System.out.println("22222"+containlineid.getValue(pageContext));
            containlineid.setValue(pageContext,recout);
            containlineid.getValue(pageContext);                            
               System.out.println("1111test3"+pageContext.getParameter("item32"));
    --------------Error it is giving in the page as----------------
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
    Thnaks

  • Problem in transporting the Customer exit variable

    Hi all,
    i have careated a variable to capture the current date in my report, with the processing type, Customer Exit. and, its getting populated fine in my DEV environment. basically, i have to compute the number of days, in which net due date is being compared to the current date.  when i transport this to the QA environment, the values for number of days is gettting some junk value, wherein in DEV its showing the exact values. It seems i have to take cetain measures in transportation of the Customer Exit.
    please advice.
    Thanks in advance
    Sneel

    Hello ,
               In the Quality after you run the report check in the layout option>display text elements> variables and check what value is displayed for the use exit variable , if it is correct then problem may be in the selection you gave when you run the report if the user exit variable value is wrong , then set a break point in the code and run the report from rsrt and check where the error is.
    hope it is clear
    assign points if useful

  • Offset on exit variables on 0FISCPER?

    Hi,
    We are having an IP environment here. A copy function is supposed to roll forward values from one period to the next. Originally I had developed an exit variable pointing to the target period, and I have set up the copy like that:
    From: Target Period -1
    To: Target Period
    Now it seems IP cannot cope with this. If I develop a separate variable for the source period and do like that it works:
    From: Source Period
    To: Target Period
    How can that be? Can I not use an offset for exit variables (type exit, single value, mandatory, no user input allowed), coding in step 1 of the include?
    Many thanks,
    Andreas

    Hi Andreas,
    Why does it seem to you that you cannot use offset in IP? Did you get any error messages - if you did, please post the details. I think you should be able to use offsets to variables, just make sure the variable is created on a standard time characteristic like 0calmonth and is of type 'single value'.

  • Problem with User exit variable

    We're using an user exit variable (var2) for YTD calculation (For getting the first month of current year). It gets value from another exit variable (var1) which has by default value last month of current year(populated in I_step1 from sy-datum). If the user wants he can change the default value of var1. It works fine when the query is executed the first time. But if the user calls the variable screen again, the variable screen does not show var1 in the popup and the user gets an error message that no value could be determined for var2. How can this issue be resolved or is there any other method to satisfy this requirement.
    Your help would be appreciated and rewarded.
    Thanks & Regards
    Hari

    Hi Ravi,
    Sorry, there's a correction. <b>var2 is used for getting the first month of the year selected by the user in var1</b>. If the user doesn't enter a value for var1, then var2 should take first month of current year from var1 which has by default last month of current year (populated in i_step1 from sy-datum). The user can select the value of var1 according to his requirement. Then var 2 should get first month of the year selected. That's why I'm using two exit variables.
    It works fine during the initial run of the query. But when the user clicks on the variable button in the toolbar and executes the query, var1 is not being displayed and an error message <i>No value could be determined for var2</i> is shown. All other variables used in the query are displayed except var1.
    Krzys, Is the option <i>Can be changed in Query Navigation</i>  available for Exit variables. I'll check that and get back to you.
    Boujema, Thanks for the OSS note.
    Thanks
    Hari

  • Transfer variable values via ABAP betweenn planning areas

    Hello,
    I'm using an ABAP-coding (BPS How-To 'variables type user-exit) for transferring variable values between planning areas. It works fine for single-, multi- and interval-selection, but not for single hierarchie nodes.
    I don't want to transfer the values beneath the nodes but the node itself. Has anyone experience with that or changed the ABAP-Coding.
    Note, I'm using a variable type hierarchie as destination and get always a dump, when the ABAP is executed.
    Appreciate your help, thanks in advance...

    Hello,
    I am having the same problem. Can the function module Z_VARIABLE_GET_DETAIL from the "How to...BPS Variables of Type Exit" be modified to get the node value of a hierarchy node variable so it can be used as a global variable?
    Thanks, Linda

Maybe you are looking for

  • CREATION OF PURCHASE INFO RECORDS

    Hi All ,   Can anybody tell me how to use standard program RM06IBI0 for creation of purchase info record. Thanks in advance, Best Regards, Sugeet.

  • Customer Statement send by email

    Hi,     I have a problem in sending multiple customer statement seperatly to each customer by email .Here  i can able to send email to all the customers but the attachment contains all the customer statements.but i want to send the particular stateme

  • Dynamic column in recordset

    CS3 / ASP / VBScript How can I select what column gets searched based on the a URL paramenter? Here's what I'm trying to do: there are two fields in the search form: a textfield and a drop-down menu. A word or phrase can be enbtered in the first fiel

  • How to make crosstab cell value become hot link which can link to other?

    Dear Gurus: I am using Bi beans in a project, i create a crosstab in one .jsp file,the crosstable can display data correctly,but i want to make every cell value become hot link which point to a url,this url contains measure info and all dimension inf

  • Best Practises with ACS Replication & external databases

    I am looking for a best practise with the following scenario: 2 ACS Servers in 2 separate locations, each providing mutual backup to each other - i.e. all devices/users in Site X point to local ACS Server X 1st and remote ACS Server Y 2nd. In Site Y