Parameter in XLR

Hi all,
I have created a parameter in my report in order to filter my results by posting period.
However when I execute my report, I can only select one posting period.
How can I modify my parameter so that I can select a range rather than just one?
Any help mych appreciated.
Thanks,
John

Hi,
John O'Brien 
we tried but we are not retreving data exactly within
a days. we are designed trail Balance report
through XL Report. how you solved this plz help me.
i need to take From date to Todate.amount in TB
and P&L based on Project code. here we are
getting amount based on Project code but it's
retreving up to last entry amount through Project
code. plz help me. how i can get this ?
regds,
sampath.

Similar Messages

  • XLR where got the parameter of a report job stored

    Hi,
    does anybody know where XL Reporter stores the parameters of a Report-Job? I found the output path stored in XROBJ. In this Table is also an ID called "VariablesI". I think this is the foreign-key but I don't find the related Table.
    There is no Documentation in the database tables reference either.
    Thanks
    Christian

    Hi Gordon,
    Thank you for your quick responces.
    As every other tidbit (like output path and so on) is stored in one of the XLR Database Tables (XRDBV, XROBJ, XRREL, XRUDF, XRXLS and XRXML) I hoped that the parameters would be stored in one of them as well.
    I will advise the customer to set up a second Report-Job in every Company with different parameters.
    If someone read this and know about the storage place (it have to be stored anywhere) please let me know anyways. There are more Reports where this posibility would be apreciated as they are producing effort and costs each year.
    I would going to let a query get verified by SAP for the "partners executing Queries" Programm then.
    Thanks so far.
    Kind Regards
    Christian

  • XLR sample - sales report by item by sales rep

    Hi all,
    I am using the above report at client site and its working great.
    The cust now has a requirement to modify this and include a column that looks at same period -12mths.
    I can easily do that by -
    - duplicating the existing columns 
    - applying period parameter to columns and not the report default
    - and changing the parameter to be @per-12.
    This doesnt seem to work however as the parameter is an expression which means I can select a range of periods.  XLR gives error:
    Definition parsing failed: syntax error near @per-12.
    It only seems to work when I have the parameter as a dimension so that only 1 period can be selected.
    Can XLR do the calculation for the range of periods -12 mths?
    My client wants to create a quarterly report so selecting 1 period is not going to be sufficient.
    I hope what I have explained is clear.
    Thanks for any advice,
    John

    Hi,
    There is a detailed syntax explaination document in portal> Docment Resource Center, you can download it and check.
    There also the explaination regarding @period-12
    For multiple selection, you can use Selection icon(next to the Expand icon) for columns to show more columns for different period.
    hope this helps you.
    maggie an
    SAP BusinessOne Forums Team

  • XLR and Items with leading zeros

    Forum,
    Does anyone know the best way, in XL Reporter, to deal with Item Codes that have leading zeros?
    Scenario:
    We have 2 items:  001, and 0001
    When I pull these into XLR and generate the report, Excel converts the numbers to "1"
    I have tried every cell format I can think of and have not come up with a solution.
    "Text" type returns the XLR syntax (=ixDimGet("ITM", "ItemCode")), "General" returns the "1" without leading zeros, etc.
    Anyone have a solution?
    Thanks in Advance,
    Brad Windecker

    Hi Brad,
    Seems like there's not direct solution for this one, function ixDimGet automatically removes leading zeros.
    Anyway, I would suggest that we utilize Macro Programming for this one.
    Here is a short macro code I developed, assuming the item Code is placed in Column B and the macro will automatically extract the parameter from the function call in Column B (=ixDimGet("00002") and place it Column C.
    Just place the ff code in SHEET1. The macro is utilizing the Worksheet Change event
    Const colItemCode = 2
    Const colShowCode = 3
    Private Sub Worksheet_Change(ByVal Target As Range)
       If Target.Column = colItemCode Then
         strFormula = Target.Formula
         If Left(strFormula, 9) = "=ixDimGet" Then
            itemCode = Mid(strFormula, 12, Len(strFormula) - 13)
            With Range(Chr(64 + colShowCode) & Target.Row)
               .NumberFormat = "@"
               .Value = itemCode
            End With
         End If
       End If
    End Sub
    Constant colItemCode is referring to the column of the Item Code
    Constant colShowCode is referring to the column for the exracted Item Code
    Hope this help
    Laurence Resubal

  • XLR Report Job

    I created a new report job in SAP B1 8.8 XLR. Under properties >  'Output' tab, the report job was initially set up as 'save to disk', The report was generated succesfully saved to my hard drive. After that, I tried to change the output to 'send by e-mail'. I went thru the address book and selected my name from the list (I assumed the list is pulling from Excahnge server). The report failed and returned following error message:
    - Description: provide sender e-mail address
    - Parameter: sender e-mail address
    I tried to hard code my e-mail address in the e-mail address field but it's not working as well.
    I went into properties > packages and highlighted the report packages line, Clicked 'update parameters' at bottom, Nothing happened. I clicked 'set parameters' and message indicated 'the package contains no parameters'. I thought once I specify the e-mail address info under output tab, it should be good to go. Guess that's not working. Any idea?

    Hi,
    Julie is correct. You need to specify sender email address under Tools menu. You also need to type in the full email address instead of choosing from the list.
    Thanks,
    Gordon

  • Parameter for Xl Reporter

    Sir/Mam
                    I build one xl report in xl reporter but i whant make parameter for ther posting date wise i tried all way but its not work it only genrated all data in that company i whant tosort repot about ther posting date how can do it. i maked parameter also but it not sort please reply with perfect solution

    It will not be easy to describe the complete process to make parameter working for XLR.  However, could you share your steps tried so far.  That might save a lot unnecessary explanations.
    Thanks,
    Gordon

  • Revaluation to USD in XLR

    Dear experts,
    I have a  P&L statement created in XLR. This report is Periodic with YTD totals. I have a column expansion on the periodic figure column.
    Once the report is generated, i want to revaluate every periodic balance to USD. However, the USD rate for each period is different.
    If I set a parameter, then all the periods end up using the same rate.
    How to have each period, use a rate specific to its period ?
    Please advice.
    Cheers,
    gautam

    NO REPLIES - ABANDONED

  • Logical AND in MDX Reporting Services Parameter

    Hi, I would like to implement logical AND on a cube parameter. I have seen examples of hard-coded logical AND in MDX.
    (http://salvoz.com/blog/2013/12/24/mdx-implementing-logical-and-on-members-of-the-same-hierarchy/)
    But I'm not sure how to apply this to a parameter's MDX dataset.
    Here is an example of the automatically generated MDX which uses logical OR:
    This is the drop down parameter:
    WITH MEMBER [Measures].[ParameterCaption] AS [Department].[Department].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS
    [Department].[Department].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS
    [Department].[Department].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue],
    [Measures].[ParameterLevel]} ON COLUMNS
    , [Department].[Department].ALLMEMBERS ON ROWS
    FROM [MyCube]
    And the demo report dataset is:
    SELECT NON EMPTY { [Measures].[CompanyTbl Count] } ON COLUMNS,
    NON EMPTY { ([Product Level No].[Product Level No].[Product Level No].ALLMEMBERS ) }
    DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM
    ( SELECT ( STRTOSET(@DepartmentDepartment, CONSTRAINED) )
    ON COLUMNS FROM [MyCube]) WHERE
    ( IIF( STRTOSET(@DepartmentDepartment, CONSTRAINED).Count = 1,
    STRTOSET(@DepartmentDepartment, CONSTRAINED), [Department].[Department].currentmember ) )
    CELL PROPERTIES VALUE,
    BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,
    FONT_NAME, FONT_SIZE, FONT_FLAGS

    Hi,
    I can see there just one parameter @Department@Department in your script. But if you had two parameters that should return resultset affected by two parameters. You can do it as either select from subselect from subselect.
    Example 1
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1) ON COLUMNS FROM
    (SELECT StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Or crossjoin between 2 parameters
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1)*StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Jiri
    Jiri Neoral

  • Report RFKLBU10: Missing Parameter for Logical filename in Release ERP 2005

    Hello Experts,
    Report RFKLBU10 in Sap Release 4.6c hat a parameter "Old dataset logical name".
    The new version of this report in SAP Release ERP 2005 there is no such parameter.
    Is this a SAP-Bug ?
    Best regards,
    Mike

    There are no Export or Print events accessible for the viewer
    Since it sounds like you are creating the reportdocument object in your click event, the settings on this object become out of scope on successive postbacks executed by other events.
    to get around this without major changes, you can place your "report" object in session in this event and retrieve it from session on successive postbacks.  This should solve your problems around navigation, printing and exporting.  What you will need to do is check if the session object exists (usually in page_load or page_initialze) and if so, retrieve it from session and bind it to the viewer's reportsource.  If the session object does not exist, then do nothing (ie you have not clicked your button yet that retrieves the parameter values from session and loads the report).  Also, in your click event you can check if the report session object exists and if so, remove it so that it can be re-created with your new parameter values (ie i'm assuming the only time you want to set parameter values is in this event).
    Dan

  • Unable to capture the parameter values from a PL/SQL procedure

    hi.
    i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
    Please help me regarding.
    i'm using following block for calling the procedure.
    declare
    err_cd varchar2(1000);
    err_txt VARCHAR2(5000);
    no_of_recs number;
    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
    cntr_var number:=0;
    begin
         rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
         dbms_output.put_line('The error is ' ||err_cd);
         dbms_output.put_line('The error is ' ||err_txt);
         dbms_output.put_line('The cntr is ' ||cntr_var);
         for incr in 1 .. OUT_SIGN_TAB.count
         loop
         cntr_var := cntr_var + 1 ;
    Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
    end loop;
    end;
    Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
    Following is some related information.
    the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
    TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
    TYPE "SEARCH_SIGN_TYPE" AS OBJECT
    (ref_no VARCHAR2(22),
    ciref_no VARCHAR2(352),
    ac_no VARCHAR2(22),
    txn_type VARCHAR2(301),
    objid VARCHAR2(1024))............

    We don't have your rt843pq procedure, but when commenting that line out, everything works:
    SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
      2  (ref_no VARCHAR2(22),
      3  ciref_no VARCHAR2(352),
      4  ac_no VARCHAR2(22),
      5  txn_type VARCHAR2(301),
      6  objid VARCHAR2(1024))
      7  /
    Type is aangemaakt.
    SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
      2  /
    Type is aangemaakt.
    SQL> declare
      2    err_cd varchar2(1000);
      3    err_txt VARCHAR2(5000);
      4    no_of_recs number;
      5    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
      6    cntr_var number:=0;
      7  begin
      8    -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
      9    dbms_output.put_line('The error is ' ||err_cd);
    10    dbms_output.put_line('The error is ' ||err_txt);
    11    dbms_output.put_line('The cntr is ' ||cntr_var);
    12    for incr in 1 .. OUT_SIGN_TAB.count
    13    loop
    14      cntr_var := cntr_var + 1 ;
    15      Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
    TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
    16    end loop;
    17  end;
    18  /
    The error is
    The error is
    The cntr is 0
    PL/SQL-procedure is geslaagd.Regards,
    Rob.

  • Unable to capture value inside parameter T_LFBK of FK03 in display mode

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Replacing NULL and EmptyString('') with "Unknown" in SSRS parameter dropdown

    All,
    What I want to do is, in the SSRS parameter drop down, instead of showing NULL and Blank values(), i want to categorize them as "Unknown", so, if the user selects "Unknown" from the SSRS drop down parameter, he should be able to see all
    the records that have NULL values or empty strings in that particular column in the result set.
    Can you tell me, how should I handle it in my main stored proc as well as in the dataset?
    Right now, i have something like this:
    Where
    (t1.name in (select value from dbo.Split(@TName,',')) OR @TName IN ('All'))
    -- Where t1.Name has empty strings and NULL values. Both of these values should be categorized under "Unknown"
    -- How would the dataset query look like? Right now I have this query for populating the drop down for that parameter:
    Select All
    UNION
    Select Distinct Name
    Order BY 1

    Hello,
    Please refer to the following stored procedure:
    SELECT
    CASE WHEN TName IS NULL OR TName = ''
    THEN 'Unknown' ELSE TName END AS TName
    From DemoTable
    Then, use following query code to get the parameter values:
    SELECT Distinct
    CASE WHEN TName IS NULL OR TName = '' THEN 'Unknown'
    ELSE TName END AS TName
    FROM DemoTable
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Host parameter null and convert SOAP to HTTPUrl

    Hi,
    We are trying to fire a SOAP request and print the response but its throwing this error
    Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
    The piece of code is:
    HttpClient hc = new HttpClient();
    System.out.println("Came here");
    int iResultCode = hc.executeMethod(post);
    executeMethod(post) is failing but when I print the value of post, its �org.apache.commons.httpclient.methods.PostMethod@fd54d6�
    Can anybody throw some light on this error and how to solve it??
    Also, there�s another issue.
    We are upgrading from Weblogic 7.2 to 9.1
    Earlier we were able to pass the request and get the response in HTTPUrl form but now after upgrading, its getting passed in SOAP format. Is there any way to bypass the SOAP and get it in HTTPUrl format or what are the configurations to be made to adapt to the SOAP format?
    connection =(HttpURLConnection) url.openConnection();
         This line was returning HTTPUrl format, now its coming in SOAP format

    your PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that

  • SOURCE_PACKAGE is INCOMPATIBLE with the FORMAL PARAMETER DATA_PACKAGE

    Hello Experts,
    Infocube A is getting updated from shopping carts DSO. I have added 3 new fields in SC DSO then cube transformations got inactive.  I do not want 3 new fields in cube. we have report on DSO. Below is syntax error when  checking transformations.
    Error: In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter "SOURCE_PACKAGE" is incompatible with the formal parameter "DATA_PACKAGE".
    3 New fields are available in tys_SC_1 but not available in tys_SC_1_full. I tried to insert 3 fields in tys_SC_1_full but still it is showing same syntax error.  And more TYPE is availalbe tys_TG_1_full.  This type does not have 3 fields.
    Please  advice.
    Thanks in advance.
    Regards
    Venkata.

    Hello Rathy,
    I have resolved issue by addinng fields to data package. Issue is becasue of 4 fields in source and I have added only 3 fields in data package. Added one more field to data package and no syntax errors when checked.
    Thanks for the input and points assigned.
    Regards
    Venkata Agraharam.

Maybe you are looking for

  • DeploymentError

    Hi All, While I am tryng to deploying getting error like this. Deploying on partition "default" of "/Farm_soa_domain/soa_domain/soa_server1" ... Deploying on "/Farm_soa_domain/soa_domain/soa_server1" failed! There was an error deploying the composite

  • Analtic function first window size

    Hi if i use the analtic functin max as select max(sal) keep (dense_rank last order by empno) from emp; what will the the window size in this case. what i mean is i dont specify the sliding window in this case what will be the default. regards Nick

  • Disabled GL Code combination

    What happens to a transaction already in the system when a GL Code combination is disabled? What needs to be done if there are transactions exists for a disabled Gl account code combination? Thanks

  • Any problem?

    i tried to do expdp in production when i copy and paste the syntax i did not paste properly i am getting out put as follows please let me know how to exit it and issues in production? C:\Documents and Settings\oracleadmin>exp ondemandlogs/ieeondemand

  • Runtime error..any ideas??

    Dear All, When i try to run javac or jar executable on windows 2000, i get the following error: Error opening registry key 'Software\IBM\Java2 Runtime Environment' Any ideas?? Also, i am making use of the javac in the IBM websphere 5.0 runtime librar