Help Regarding the Formula Variable

Hi,
We have a scenario where  "CKF = RKF/Formula Variable". When we execute a Query in BEx Analyzer, for this particular CKF values are displaying as 'X'. (i.e Numeric values are not displaying)
When we check in the backend data is available for the RKF.
Can someone please guide on how to validate whether the Formula Variable is working fine or not?
Thanks in advance
Regards,
Seshendra Reddy

Hello,
This post caught my attention because I am facing a similar problem.
I created a Formula Variable with replacement path on Posting Date (0DATE Char), with exception aggregation = MAX and results calc = MAX.  The purpose is to return the last posting date for a set of documents.  However, it seems that if Posting Date is not in the drilldown, then the formula formula returns 'X'. 
This limitation is not mentioned in SAP help... and seems to be a pretty big constraint if the reference char on the replacement path formula variables must be in the drilldown.
Does anyone know how to work around this?
Thanks!
Jenni.

Similar Messages

  • Attributes dissappear from the formula variable after upgrade

    Hi,
    We have upgraded from 3.X to 7.X. When i run the reporrt, i get the error saying that attribute XXXX for characterstic 0object in variable ZFormula variable couldn't found.
    When i went and checked in the formula variable, under replacement path
    Replace variable with
    Info Object
    Replace With
    Attribute value
    Attribute
    I couldnt find my XXXX attribute but with error mesage.
    I tried to create a same formula variable,but could't find the XXXX variable under ATTRIBTE.
    I coldnt find the proper solution or note. Did anyone had issue like this?
    Thanks
    Annie

    Hi,
    Thanks for the replies. But my issue is not with variants. Attributes are missing when I try to assign attribute of char in replacement path and also in my exception aggregation in query designer, reference char isu201D-1u201D.  I am not very sure how can it be u201C-1u201D. Is it upgrade issue?
    Thanks
    Annie

  • Regarding the path variable. somebody please help !!!

    I have a small problem, I have to change the path variable often. So I thought of creating two .bat files to change it when i needed. But the problem is in XP...
    set Path=%Path%;C:\myfolder;
    command doesnt seems to be working. Actually it doesnt change the Path system variable at all. Please help me with this and Sorry if i have posted the questing in a wrong forum.
    Kawisha.

    Hi
    First of all as I know there is a limit for the length of the path string.
    For the second time if you change the path in a CMD than this doesn't change the path string of the system only the CMD path string has changed.
    If you want to change to system path string than do it in the Control Panel/System/Special Tab/Enviroment Variables/System Variables/Path.
    Ott Karesz
    http://www.trendo-kft.hu

  • Problem with the Formula variable

    Dear All,
    There is a need to convert INR values to USD values. Since my source table in r/3 is not having currency value stored i cant use currency translation type to achieve the same.
    So i am using formula variable to determine the Exchange rate.
    I have created the CKF with the following calculation = INR values / 'ZEXC_RT'.
    Here zexc_rt is a formula variable which is a customer exit and of type Number.
    Now in cmod i am writing a code to determine the value for this formula variable. But the problem is with data type of formula variable and tcurr table UKURS (Exchange rate) field. I have defined formula variable as Number and my UKURS field is of decimal data type because of which the currency conversion is not taking place.
    Here is my code below . Kindly suggest how can i achieve this.
    My logic is :- Whenever the user runs the report take the system date and determine the previous month. Then go to tcurr table and get the exchange rate which matches with the previous month date.
    WHEN 'ZEXC_RT'.
    *   IF I_STEP=2.
        CLEAR L_S_RANGE.
        DATA:  v_date(10).
        DATA:  v_rate type C.
        DATA: z_date(8).
        concatenate sy-datum+0(4) sy-datum+4(2) '01' into v_Date.
        v_date = v_date - 1.
        concatenate v_date+0(4) v_date+4(2) '01' into v_date.
    select SINGLE UKURS into v_rate from tcurr where GDATU = V_date
    and KURST ='M'.
        l_s_range-low = v_rate.
        l_s_range-opt = 'EQ'.
        l_s_range-sign = 'I'.
        APPEND l_s_range TO e_t_range.

    Hi Anup,
    I am not able to get the exact problem.
    CKF is not working means it is giving the INR Values or it is giving some random value.
    Please check your code first by writing a text program in se38 if you are able to read the value correctly from TCURR.
    Domain UKURS has a conversion routine EXCRT. You may require to use it to get the correct value.
    Once you get the right value in the program, you can use the same logic in your formula variable and you should get the correct values.
    Let me know if it helps.
    Regards,
    Gaurav

  • Need help regarding the dunning form

    Hi,
    I have to display all the sales and payments of a cusomter for all the periods that are older than the run date in a dunning form. (i.e) if the run date is 04-aug-05 and if the slaes are there in 3 months(april, May, july) then i have to display three line items with sales and payments for that corresponding three months in the line items. As this is a dunning form i cannot change the print program. any table which have all the sales for a period which i can access directly in the script. can anyone suggest how to handle this.
    regards,
    Asha

    Hi,
    You can call a subroutine within a program (your z program)
    /:   PERFORM ADD_AMOUNT IN PROGRAM SAPLZFTP_F150
    /:           USING &W_AMOUNT&
    /:   ENDPERFORM
    In the z program create this subroutine.
          Form ADD_AMOUNT
         -->FT_INVAR  Text Symbol table for input  variables
         -->FT_OUTVAR Text Symbol table for output variables
    FORM add_amount TABLES ft_invar   STRUCTURE itcsy
                           ft_outvar  STRUCTURE itcsy.
      STATICS:
        w_value_l    TYPE  f150d-salfw.
            READ TABLE ft_invar INDEX 1.
            IF sy-subrc IS INITIAL.
    you can check all this part of the code how you want to
    process your data whether its numeric or character or
    whatever
               w_value_l = w_value_l + ft_invar-value.
            ENDIF. "IF sy-subrc IS INITIAL.
    ENDFORM.                    " ADD_AMOUNT
    TO BESPOKE THE PRINT PROGRAM FOR THE DUNNING
    Dunning outputs use the function module FI_DUNNING_PRINT_NOTICE. You can copy this to a Z function module and make some changes to the data selection. You will have to look into the code and decide what changes you need.
    The process to use a bespoke program to do the dunning print is as follows:
    UNDER FI GLOBAL SETTINGS in the configuration,
    There are Business Transaction Events. Within that you can configure the same to enable a Z function module in place of the standard function module (from the FUNCTION GROUP F150)
    • Create function group ZFTP_F150
    • Copy standard function module FI_PRINT_DUNNING_NOTICE of function group F150 to ZFTP_FI_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    • Copy standard function module PRINT_DUNNING_NOTICE of function group F150 to ZFTP_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    • Within the function module ZFTP_FI_PRINT_DUNNING_NOTICE, change function module call for PRINT_DUNNING_NOTICE to ZFTP_PRINT_DUNNING_NOTICE
    • Create a new include ZFTPI_ROUTINES within the function group and copy the subroutines LOG_MSG, LOG_MSG_TAB, & LOG_SYMSG from the function group F150 to this include
    AS AN ALTERNATE, YOU CAN COPY THE WHOLE FUNCTION GROUP
    • Maintenance view TBE31 (SM30). Change the function module from FI_PRINT_DUNNING_NOTICE to ZFTP_FI_PRINT_DUNNING_NOTICE against the event 00001720 FI-FI entry
    Hope this helps.
    regards,
    Satya

  • Help Regarding the Reports in BI

    Hi Everyone ,
    I have a question from BI Answers.
    So in 11g we can find all the recently viewed reports in the Most Recently viewed tabs in Home page ri8.
    We have a report with a Report Prompt on date and also we have this same Report on the dashboard .This Dashboard also contains a Dashboard prompt on date .
    We have a requirement .
    When the user opens the report from recently viewed tab .He need to get the date from the particular Report date prompt But When the user tries to open the report from Dashboard ,the dashboard date should pass to the report and the date which is in the report should be negated .
    Ex: Dashboard prompt has a date with june 13th and report has a date with may31. when the user tries to open the report from Recently viewed tab he need to see the data with MAY 31 and when he tries to open the same report from the dashboard then the JUNE 13th should pass to the Report and the report date MAY 31 should be negated .
    IS this possible with creating the repository variables and session variables for the dates .
    Any help is very Appreciated
    Thanks
    Sam

    Hi Sunny
    You can acheive something like your requirement by using a presentation variable and its default value.
    In your dashboard prompt, have it set a presentation variable called, say, v_date
    In your report put a filter on the date column and set it to "is equal to / is in". Click "Add More Options" and choose "Presentation Variable". In variable expr put: v_date and in the default type your report date in the correct format.
    Paul

  • Need help regarding the few clarification in writing cmod

    Hi All,
      I need to write a cmod by creating a new project for that. The main purpose is to define variables in it which will be used in reporting(restrictions).
    Now  I need to enhance that structure with RSR00001 code since it dealys with declaring the variables.
    But this enhancement code is being used in some other project as well, because of it I am unable to use it in my project..
    Can you please explain me how can I overcome this situation.
    Thanks,
    vinay.

    Hi Vinay,
    Write this code in CMOD :
    data:
      z_include  type program,
    Z_return.   
    when others.
    * Select the include program using the variable
        perform select_include using    i_vnam
                               changing z_include
                                        z_return.
        check z_return = 0.
    * Check that include program exists
        perform check_include_program using    z_include
                                      changing z_return.
        check z_return = 0.
    * Process the appropriate variable by calling the generic form
    * 'PROCESS_VARIABLE' in the include program just selected
        perform process_variable in program (z_include)
                                 tables   e_t_range
                                          i_t_var_range
                                 using    i_vnam
                                          i_vartyp
                                          i_iobjnm
                                          i_s_cob_pro
                                          i_s_rkb1d
                                          i_periv
                                          i_step
                                          lv_zs_bsw_offset
                                 changing e_meeht
                                          e_mefac
                                          e_waers
                                          e_whfac
                                          c_s_customer.
    FORM select_include  using    p_var
                         changing p_include
                                  p_error.
      select single zinclude
        into p_include
        from zvariables
        where zvarname = p_var.
      p_error = sy-subrc.
    ENDFORM. 
    form check_include_program  using    p_include
                                changing p_error.
      data:
        l_name type programm.
      select single name
        into l_name
        from trdir
        where name = p_include.
      p_error = sy-subrc.
    endform.
    Then you can create a table having two column, variable value and its corresponding program.
    You will then not need to disturb the CMOD Code.
    -Vikram

  • Need help regarding the location of Exchange 2013 Logs for parsing

    Hi, I am trying to create reports based on the logs that are created on my exchange server. I am using
    exchange 2013. My problem is that I cannot handle every log, and instead want specific types of logs.
    I need help finding the specific locations of the following types of logs (If they even exist), so that I can parse them and use them effectively:
    Audit Logs (Mailbox logons, Mailbox permission changes, Mailbox property changes,
    Exchange store changes)
    Mail Report Logs (Mailbox size and growth, Mailbox storage growth, Enabled users, Expired and Soon-to-Expire Mailboxes)
    Exchange Traffic Reports (Details on size and amount of messages sent and recieved, Internet traffic [to and from], Traffic between exchange users)
    I understand this might sound like a huge undertaking, but any help that can be provided would be appreciated.
    Again, I need information on the locations of these types of logs on the exchange server, so that I can parse them. Collecting them all and searching through them is not practical for my available resources.
    Thanks,
    Matt

    Audit Logs (Mailbox logons, Mailbox permission
    changes, Mailbox property changes, Exchange
    store changes) ---- these are two type of logs, 1. mailbox audit logs and that is stored in each mailbox under dumpster
    http://technet.microsoft.com/en-us/library/ff461930(v=exchg.150).aspx however you need to
    enable
    it for individual mailboxes... 2. admin audit log, this is stored into a system mailbox dumpster.... http://technet.microsoft.com/en-us/library/dd335052(v=exchg.141).aspx
    Mail Report Logs (Mailbox size and growth, Mailbox
    storage growth, Enabled users, Expired and Soon-to-Expire Mailboxes) ---- there isn't any specific log for this, you would need to create some time of script to collect this every day for you and store it somewhere... This is a good start... http://www.stevieg.org/2011/06/exchange-environment-report/
    Exchange Traffic Reports (Details on size and
    amount of messages sent and recieved, Internet traffic [to and from], Traffic between exchange users) ----- This you can get from message tracking log... http://technet.microsoft.com/en-us/library/bb124375(v=exchg.150).aspx

  • Need help regarding the maximum limit for data type

    Hi,
    this is Sravan. for my application am inserting the bulk data in XML format into a column of Database table.
    the sample inserted XML data will be in format... like
    '<ACC count = "10">
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    </ACC>'
    this data in XML can have more than 1000 accounts.
    now, i need to take a Parameter value from XML node and write into a file. for this i have written a procedure by looping the Nodes from XML data and building Dynamic Query like..
    if nvl(v_int, 0) > 0 then
    v_sql := '';
         for v_count in 1..v_int
         loop
         if v_sql is null then
              v_sql := 'select extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@ac_no'')||extractvalue(empdetails, ''/ACC/Acc' || v_count
    ||'/@cn_nr'')||extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@eflag'') string from sample1';
         elsif v_sql is not null then
                   v_sql := v_sql || ' union all select extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@ac_no'')||extractvalue(empdetails, ''/ACC/Acc' || v_count
    ||'/@cn_nr'')||extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@eflag'') string from sample1';
              end if;
         end loop;
    end if;
    i will get this variable "v_int" from <ACC count = "10"> ACC count Attribute, here 10 is the value for v_int variable but in real time the variable value can be more than 1000.
    at the time of Building Dynamic Query I make using the Variable v_SQL which is of Data Type "Long",
    this variable stores dynamic query which is build at the time of executing procedure but this v_sql Variable is throughing Exception that ....
    "numeric or value error Character String Buffer is Too Small"... but Long Data type will store upto 2GB..
    this variable cant able to hold much data which is dynamically build.
    will you please help me to resolve this issue Or will u suggest me another method to pick the data from XML column.
    thanks,
    sravan.

    user11176969 wrote:
    i changed the code, now its working fine.
    direct assigning the dynamic query to a Clob variable raised error.
    for dynamic query building i used another variable and assigned this variable value to actual query variable.Nice!

  • Need some help regarding the backgrounds

    I am new to adobe dreamweaver & I would like to ask some sort of a stupid question
    When I save a website over the net, the folder always contains the background & the other images as small tiny images while when using Dreamweaver if I want to use a background image, I just load it.
    My question is do they actually load the background image as small parts or the browser devides the image to smaller parts when saving the page?
    Thanks for ur help & I hope some 1 gonna answer me soon enough.

    If you (or someone else) use a repeating background image (128X128 for instance) the browser, per instructions from the HTML or CSS, will "tile" the same image over and over to create the background. This doesn't display multiple copies of the image, but references it over and over alongside and below itself until the page reaches it's end.
    One exception to this is when there is a single large image (1024X768 for instance) used as a background, which usually doesn't repeat. In that case, if you were to download it, it would download as the one large image.
    Another exception is if the image is cut into pieces and put back together in divs inside the page. Often this is done to create the illusion of an image in a layer above the page, unrestricted by the square dimensions of HTML layout.

  • Help regarding the calling of a oracle function from the OTL.

    Hi,
    I created a Oracle function like get_employee_id() which will return the employee id if the name and department exists.
    If not exists it will insert the record and return the emp_id.
    get_employee_id(name,department)
    if name and department exists id will be returned
    else record will be inserted and emp id will be returned.
    emp_id is a sequence which will be triggered to auto increment.
    Problem is::
    Not getting a correct way to access get_employee_id() from OTL interface.
    I am trying like
    query << "BEGIN :3<int> := get_employee_id(:1<char[128]>,:2<char[1024]>); END;" ;
    otl_stream oos(1, query.str().c_str(), db());
    oos << emp_name ;
    oos << emp_dept ;
    while(true){
    oos >> emp_id ;
    if(!oos) break ;
    Please let me know what is the correct way of accessing this.Thanks for the help in advance.

    Sorry, I posted this on another forum. C++ Call Interface (OCCI)
    Thanks,
    Jagdish.

  • Help regarding the Function Module GUID_CREATE

    Hi Experts,
    Can some one explain the functionality of GUID_CREATE function module.Thanks in advance.
    With regards,
    Srini...

    Hello,
    Guid for unique identification assigned list
    It think it will generate the one unique key in the program.
    DATA: con_log_guid   TYPE  guid_16.
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_16 = con_log_guid.
    WRITE con_log_guid .
    Try this example it is generating a 16number id.

  • Need Help regarding the JVM for the ARM926EJS Processor

    I Want to develop an application in java for the IMX.27 board which has ARM926EJS Procesor. This processor is jazelle enabled hardware.
    My questiion is that how to get the JVM for this. So that i will use my Java appliaction. I am using linux OS.
    Thanks in advance.

    Hi Narendra,
    Sun actually has a VM for the ARM ... well, actually 2 VMs for the ARM. Depending on your needs, there's a solution for JavaME CLDC, JavaME CDC, or JavaSE. There's also the open source implementations for CLDC and CDC. Here's how to get more info:
    JavaME: http://java.sun.com/javame/index.jsp
    CLDC open source project: phoneME Feature: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemefeature
    CDC open source project: phoneME Advanced: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemeadvanced
    Embedded SE: http://java.sun.com/j2se/embedded/offerings.html
    email inquiry to: [email protected]
    Regards,
    Mark

  • Need some help regarding the component usage

    Dear ALL,
    I have one scenario something like this .
    I have a main component say ZComp1  and in it i have created one view in which we two drop downs and i have 28 view containers depending upon the drop down values these view containers will be visible here all the view container i am using for displaying by means of component usage (i.e 28 compoenents i am calling into my main ). So now when i run my main application it is taking minimu of 2 mins to display the screen .  To test whats the problem i have written some code in the handle default of main window and  set the break point what i observed is quite surprising that when i run the apllication it takes hardly 2 mins of time to reach my handledefault method (which is the first one to trigger when i run the apllicatin) . Please suggest me what can be doen to overcome this issue. or suggest some alternative to improve  performance.
    Note : When there is less amount of data in the screen then it takes less time to execute or else it takes hell lot of time plz suggest :(.
    Awaiting for your valuable suggestions.
    Regards,
    Sana.

    Hi Misbah,
    28 VCO are too much in  a view.
    So, try to revamp teh design and reduce the VCO's in a view.
    Another thing would be, Every WDDOINIT, and WDDOMODIFY view of the used components would be called when you try to load the component at first.
    In your case that is happening, and please check and confirm it.
    A proper modular design would be a better approach in handling the situation.
    Good day!
    Regards,
    Shashikanth. D

  • Can anyone help regarding the Admin Login page and Normal User Page.

    Hi Friends,
    I have worked on normal login page it has been worked well. But now i have to create the Admin login page. That means, I have written the code in the following way.
    public String userLogin_action() {
            // TODO: Process the button click action. Return value is a navigation
            // case name where null will return to the same page.
            com.sun.sql.rowset.CachedRowSetXImpl crs = new com.sun.sql.rowset.CachedRowSetXImpl();
            String Name =  getUserName().getText().toString();
            String password =  getUserPwd().getText().toString();
             try {
                crs.setDataSourceName("java:comp/env/jdbc/Employee");
                crs.setCommand("SELECT * FROM srni.UserTable");
                crs.setTableName("UserTable");
                crs.execute();
                crs.beforeFirst();
                while(crs.next()){
                info("Cursor is been moving");   
                boolean ok = crs.getBoolean("Admin");
                info("Value of ok:" + ok);
                String Username = (String) crs.getObject("UserName");
                info("Usernames are:" + Username + Name);         
                if(Username.equals(Name)&&(ok)){
                info("Login Successfull");
                java.util.Date Date = new java.util.Date();
                info(" Admin Logged on :" + Date);
                return "toUserPage";
                info("Login Failed or Admin doesn't exist");
            catch (Exception e) {
                error("Login Failed : " + e.getMessage());
            } finally {
                crs.close();
            return null;
        }You can see there that i have used the boolean type of value for verifying wheter the user is admin or not. If the admin type of column in database is true then it must allow the admin to certain page. Otherwise it must not redirect. So i have used this logic. When i am checking it is showing everything true,but it is not redirecting and it is saying that login failed. Please try the above code with a sample database table and verify it. You can see the output like this.
    Cursor is been moving
    Value of ok:true
    Usernames are: srinu srinu //here it must not go to next cursor,because srinu has been identified, but it is not behaving like that.
    Cursor is been moving
    Value of ok:false
    Usernames are: Chandu srinu
    Cursor is been moving
    Value of ok:false
    Usernames are: kirank srinu
    Login Failed or Admin doesn't exist The above output describes that it is moving the cursor from first row to the last row and checking all the usernames i n each row with the given username, and it is also checking wheter it is admin or not. Currently i have three rows so it is moving three times. It is retreiving every value correctly but in comparing it is not comparing. What to do.
    Please help me out from this problem.
    Thanking You in Advance.

    The buttons are all created using the same library object (but MC), except for the code you have in the revised file does not call on that for the con button.
    You have it calling on something with a linkage name of "con", which a quick check tells me doesn't exist--so it is undefined in the code when you try to use it.  I found this by using trace(newConBut._x); after its _x value was assigned, as I mentioned you should try.   So the first thing you want to do is change the following line from...
    var newConBut = _root.attachMovie("con", "conbut", _root.getNextHighestDepth());
    To
    var newConBut = _root.attachMovie("but", "conbut", _root.getNextHighestDepth());
    so that it uses the but MC that serves that purpose in the library.  Then you want to correct the _x assignment of the buttons to what I think you had earlier...
    newConBut._x = 650-newConBut._width;
    newRecBut._x = newConBut._x-newRecBut._width;
    Here is a picture of what those changes do (note, without the XML file I had to finagle things just to work, so the biutton labels aren't what they will be)...

Maybe you are looking for

  • Nokia Podcasting v.1.20 bug report: does not disco...

    The version of Podcasting included on current device Software Updates (v. 1.20.0) no longer disconnects wi-fi after performing an automatic download. Previous versions would disconnect wi-fi after it had been used to download podcasts. With the new v

  • How to retrieve string array using Session?

    Hi, I am having some problem retrieving string arrays through session. String personalData[] = new String[17]; personalData = (String [])session.getValue("PersonalData"); The coding above isn't working. Advise pls.. Thanks

  • Updatable materialized view site - replication

    Hi all, I have a shared instance database (with multiple schemas) hosting different applications for different customers. I'm now going to move out one of the application - the materialized view site to another database in new server. (as per request

  • Imbedded photo's in the emails I receive

    I have noticed that pictures are being attached to the emails I receive. These pictures were not intented to be part of the email. The pictures appear to have been taken from either Linkedin or Facebook of people I know. How is this happening? They a

  • Sun Application Server 8.1  (System Properties)

    When trying to access the System Properties, I get the following exception: <i>org.apache.jasper.JasperException: access denied (java.util.PropertyPermission * read,write)      org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.ja