Crystral reports - including paramater values on report

Hi,
I have a parameter which can have multiple values and which is used in the selection formula.  I would like to display all the values of the parameter in the report header but only the first one input shows.  I have tried enlarging the display box but it doesn't help.
Please can you tell me if it is possible and how to achieve a list of parameters?

Hi Diane,
It is a bit complex - you need to create a formula - something along the following lines
Local StringVar testValue := "";
Local NumberVar i := 0;
while (i <= UBound({?test_param})) Do
testValue := testValue + ' ' + {?test_param}<i>;
i := i + 1
testValue
This will display the params selected with a space in between
You then display this formula rather than the parameter.
Hope this helps
Alan
BTW for a faster response I would post this in Crystal Reports and Xcelsius category under Crystal Reports Design.
Edited by: Alan McClean on Jan 7, 2009 1:03 PM

Similar Messages

  • Crystral reports viewer activex control 11.5 - export to pdf - misaligned

    good morning
    i have been advised to post here for a better response
    i have a slight issue im trying to get an answer for with crystral reports viewer activex control 11.5
    when exporting data from the report on screen to pdf, everything is mostly ok except for some lines which are not correctly aligned with everything else
    when i do a print instead to software such as primopdf, the alignment is fine, its exactly as it looks on the onscreen report, howeverm primopdf is unable to print the whole report due to a control error & it also takes far too long exporting the data out of crystal reports
    obviously, getting the activex control export to pdf working is the preferred option, else why bother using it
    has anyone else had similar issues & what did you do to resolve?
    i wouldnt be suprised if the answer is simply to update to the latest version
    Thank You & Regards,
    Matteo Vinci II GradOIEAust
    SD Innovative Solutions

    Well, perhaps not the latest version, but certainly the latest Service Pack would be the place to start. For CR XI r2 (11.5), the latest SP can be downloaded from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe
    If that does not help, have a look at [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d3639373635463644364636343635334433393339333832363639373635463733363137303645364637343635373335] kbase.
    Now, the above was created for CR 10.2, so the registry for CR XI r2 is:
    HKLMsoftware usiness objectssuite 11.5crystal reports.
    You may have to create the "Export" folder and PDF folder so that this looks as:
    HKLMsoftware usiness objectssuite 11.5crystal reportsexportpdf
    Now, Right-click the pdf sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Restart IIS, and try the application again.
    If this does not help, let me know if this is a web or a win app.
    Ludek

  • How to include the value of the discount in the stock value ?

    Hi Friends;
    Is it possible to include the value of the discount (SKTO price condition) in the value of the stock when receiving a purchase order with MIGO
    How can I accomplish this?
    Best regards

    Like this?
    Done using chart Inspector.
    For details, see Chapter 7,  Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
    Regards,
    Barry

  • INCLUDING NEW VALUES  in materialized view log

    CREATE MATERIALIZED VIEW products_mv
    REFRESH FAST ON COMMIT
    AS SELECT SUM(list_price - min_price), category_id
    FROM product_information
    GROUP BY category_id;
    Could anybody tell me why INCLUDING NEW VALUES are necessary in materialized view log for such an aggregate materialized view?
    Thanks,
    P.

    Answer depends on your need; do you need these values on your mv log -
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/basicmv.htm#sthref545
    Best regards.

  • How to write a formula that includes the value of a cell from another external numbers file ?

    Hello,
    Maybe my Numbers is too old : Numbers '08 v 1.0.3
    But it doesn't seem to allow me to write a formula that includes the value of an external cell...
    Any answers ?
    Upgrading to Numbers '09 ?
    Thanks !

    Olivier,
    Be sure to Send Feedback to Apple using the Feedback tool in the Numbers menu. That will help the Numbers design team prioritize their feature requests for the next version.
    Jerry

  • How to get procedure paramater value dynamicly ?

    How to get procedure paramater value if the parameter name is stored in a text variable?
    example:
    create or replace circle_area(p_par1 varchar2, p_par2 varchar2) IS
    begin
    for v_col in (select * from USER_ARGUMENTS where OBJECT_NAME = $$plsql_unit order by position) loop
    DBMS_OUTPUT.PUT_LINE('column_name : ' || v_col.ARGUMENT_NAME);
    --v_col.ARGUMENT_NAME contains the parameter name.
    Q1: how to get value of the parameter dynamicly?
    Q2: how to get value of procedure parameter which name is stored in a text variable?
    end loop;
    end;
    thanks for help
    Cecak

    Let me explain it again what I need using different words.
    I need to write an universal code which will be able to identify name and value of parameters of called procedure/function.
    It means I do not want to hardcode the list of all procedure/function parameters into one command DBMS_OUTPUT.PUT_LINE('p_par1 is '||p_par1||', p_par2 is '||p_par2.....) placed as first statement of a monitored procedure/function.
    If a new verison of the same procedure/function having one additional parameter is compiled I would not need to modify the first command of the procedure/function to show name and value of the additional parameter because it would be done dynamicly.
    SQL> create or replace procedure procedure1(p_par1 varchar2, p_par2 varchar2) IS
    2 begin
    3 for v_col in (select * from USER_ARGUMENTS where OBJECT_NAME = $$plsql_unit order by position)
    loop
    4 DBMS_OUTPUT.PUT_LINE('column_name : ' || v_col.ARGUMENT_NAME);
    5 end loop;
    6 end;
    7 /
    Procedure created.
    SQL> set serveroutput on size 10000
    SQL> begin
    2 procedure1('par1','par2');
    3 end;
    4 /
    column_name : P_PAR1
    column_name : P_PAR2
    PL/SQL procedure successfully completed.
    How can I get value of the procedure parameters if the parameter's names are stored in a text variable?
    My DB version is:
    SQL> select * from v$version;
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Thanks
    Cecak

  • How to include #/Blank Value in Report

    Hi,
    Our cube is loaded with Flat file,The cude didn't had any master data only transaction data.The records are based on user name in flat file there some records with out user name in flatfile with BLANK which is #
    The data is loading into cube where blank is loaded as balk spack
    but in report i want to restrict the user name to exclude the bank (User Name) Records with out user name...But the # is not appearing in the user name list in Bex to restrict...how can i include the #
    Thanks

    Krishna,
    In the report you want to exclude the data where username is #. Correct? And when you try to do that in the Query Designer, you don't see the # value in the list?
    In the list if you dont see it, simplest way is this... There is a search box at the bottom of that screen. In that type #. Dont hit search. Click on the left arrow which moves the values to the right. Now right click on the value and say "Exclude from Selection".
    Let me know if I understood your question correctly and if you can get it to work.
    Gova

  • Include character value variable processed by customer exit in the report

    I have defined a character value variable' processed by 'customer exit'. i am troubleshooting a problem so I need to see the value of this variable. Is there a way to display this variable in the report. If so, what section, rows or columns? And how to configure?
    Thanks,
    Sharon

    Hi,
    You can add directly the variable, in BEx Analyzer 7.0 you can add variables in the Excel Cell that you would.
    Steps:
    - Select the Excel Cell
    - In the BEx Design Toolbox, select Insert text
    - When you are in Design Mode - click over the text element
    - Go to Constants tab and select the Custom Exit Variable
    - Save the workwook
    Regards,
    Dani

  • Width of the Crystral Report Viewer Control

    I am having problems getting the CR Viewer control to fit the entire screen.  I have tried setting page widh = "100%" pagezoomfactor = 100.  It's always the same size.  Any ideas?
    Thanks.
    Paul O
    Visual Studio 2005
    C#
    Windows XP Pro

    Not sure what version of CR you are using. All I can do is assume (never a good idea) that it is the bundle with .NET 2005(?). If that is the case, download SP1 and see if that helps;
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • To include  a  value '#' in users filter vaue selection

    Hi Gurus,
    Thanks a lot for the continuous help from all of you and Again I am looking for ur valuable suggestions for my follwing problem :
    In my query I have a characteristic RunID which is included in the Free Characteriostics.
    according to the Functionality user will select one or multiple values of RunID,whenever he'll run the Query.
    I want taht whenever a value is selected,the filter should also include'#' in the selection with the value selected by the user .
    Please help me to achieve this.
    I'll assign the points for any helpfull suggestion.
    Thanks in Advance !!
    Best Regards,
    Praveen
    Message was edited by:
            Praveen Kumar

    Hi Preetha,
    I want '#' value to be included bcoz this query is made on an Multiprovider which inturn has one DSO and one infoset created on the same DSO .
    Purpose of this query is to compare the  records in different Runs of the Report .
    Report creates a RunID in each Run .
    I am having two Characteristics in my Query RunID1 and RunID2 .
    Now to compare the two Runs ,user has to select two values for the two RunIDs .
    Once he clicks the filter button for RunID 1 and select some value ...the records are filtered for that value .
    that means it does not have any reords from the other infoprovider and RunID will show  no values to select when he'll try to filter for RunID 2.
    To get values in RunID2 ,he should also select '#' value  with other values while filtering for RunID 1 and vice versa .

  • InfoPackage OLAP variables used in the ZXRSRU01 INCLUDE - I_STEP value ?

    Dear All, as I am aware OLAP variables used in InfoPackage Data Selection are processed in the standard user exit (EXIT_SAPLRRS0_001) - INCLUDE ZXRSRU01 where the customer created global reporting variables are also processed when queries are run and are processed according to the value of I_STEP being 1, 2 or 3.
    When processing the variables according to the running of InfoPackages the value of I_STEP in this case seems to be 0. Is this always the case for the value of I_STEP = 0 when processing according to InfoPackage?
    I have meticulously searched documentation and can only find the I_STEP = 0 value when applied to Authorisation processing.
    We are creating separate Includes depending on the value of I_STEP instead of having one great block of code in the ZXRSRU01 Include.
    We obviously want the InfoPackage code to run only when the InfoPackage runs instead of it being checked every time a query is run.
    Also is there an easier way to see where a customer variable is used:
    1) rather than creating a dummy query that uses the variable to restrict a characteristic and using the right click mouse funstion to see where the varaible is used in queries? and
    2) also when the variable is used in InfoPackage selection is there a transaction or feature somewhere to see where this variable is used in these selections as opposed to looking at the table RSLDPSEL via SE16 selecting on variable name
    i.e is there a nice "where used" feature that shows comprehensively where a customer user exit variable is used across the board.
    Thanks
    Mark

    Hi Sarah,
    You don't need any FM for your issue.
    Please try thie sample code :
    DATA: VAR_INPIUT LIKE RRRANGEEXIT.
    CASE I_VNAM.
      WHEN 'ZVAR2'.
       CLEAR L_S_RANGE.
       IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
    *Reading value of ZVAR1
        LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
          WHERE VNAM = 'ZVAR1'.
          CASE VAR_INPIUT-LOW.
    *FILLING ZVAR2
           WHEN 0.
              L_S_RANGE-LOW     = 10.
           WHEN 1.
              L_S_RANGE-LOW     = 20.
          ENDCASE.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
          EXIT.
        ENDLOOP.
      ENDIF.
    ENDCASE.
    Hope this helps
    Joe

  • Hyperlink including filter values

    Hello all,
    I am using a pushbutton in Visual Composer that should load a query in web view with some filter values. Somehow the query is not filtered for the variable ZVAR_FI_PSU_AUTH and value SPUA.
    What am I doing wrong?
    Thanks in advance
    Ralph
    <u><b>Hyperlink</b></u>
    "http://amdn094.d20.intra:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZQUFIDASHBOARD_001&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZVAR_FI_PSU_AUTH&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=SPUA"
    <u><b>Message</b></u>
    No metadata is available for "SET_VARIABLES_STATE "
    <u><b>Details of message</b></u>
    No metadata is available for “SET_VARIABLES_STATE”.
    <parameterList>
    < param name=”BI_COMMAND_TYPE”value=”SET_VARIABLES_STATE”/>
    < param name=”VARIABLE_VALUES”>
    < param name=”VARIABLE_VALUE” index=”1”>
    < param name=”VARIABLE”value=”ZVAR_FI_PSU_AUTH”/>
    < param name=”VARIABLE_TYPE”value=”VARIABLE_INPUT_STRING”>
    < param name=”VARIABLE_INPUT_STRING”value=”SPUA;”/>
    </param>
    </param>
    </param>
    </parameterList>

    Hi Hariharan,
    Goto Change mode of the Infoobject- Business Explore tab Query Def. Filter Value Selection-- Select Valules in Master Data Table-- Activate.
    Now try executing the report.
    Hope this helps.
    Veerendra

  • Choose whte records to show based on paramater value

    Post Author: chrisbg
    CA Forum: Formula
    I have a report that will bring back all the customers in table.  Sometimes i want to only select one customer not all the customers. 
    WhileReadingRecords;if {?CustomerCode}='ALL' then{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_USERID} = {?SessionOperator}else{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_USERID} = {?SessionOperator} and{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_CUSTOMER_CODE} = {?CustomerCode}
    after creating this formula the report doesnt even run.  is there a way to say if ALL is value in the parameter then return everything and a customer such as ABC123 is entered only return customer ABC123?

    Post Author: SKodidine
    CA Forum: Formula
    You have two parameters, {?SessionOperator} and {?CustomerCode}.  If the user enters 'ALL' for {?CustomerCode} then you want to fetch all records in the customer table which match that particular userid entered for {?SessionOperator}; otherwise fetch only those records which match userid = {?SessionOperator} and customercode = {?CustomerCode}.  Am I correct?  If that is the case then the below selection criteria should do the job.
    if {?CustomerCode}='ALL' then{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_USERID} = {?SessionOperator} and {CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_CUSTOMER_CODE} = {CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_CUSTOMER_CODE}
    else{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_USERID} = {?SessionOperator} and{CFC_PRODUCT_DISCONTINUE_REPORT.CFPDR_CUSTOMER_CODE} = {?CustomerCode}
    Your original formula should work.  If this is not what you expected, could you elaborate and give some examples?

  • How to include null values from DB

    Hi,
    I want to see all columns values even though it may contain null values. Right now all null columns are being suppresed by XSQL. Is there any way i can configure this.
    Thanks in advance
    Regards
    Veera

    use the following attribute in the <xsql:query> element (see the xsql help!):
    <xsql:query null-indicator = "yes">..
    </xsql:query>
    Indicates whether to signal that a column's value is NULL by including the NULL="Y" attribute on the element for the column. By default, columns with NULL values are omitted from the output. Valid values are 'yes' and 'no'.(Default value is 'no')

  • Is there a way to not include zero values in sums and an average?

    I'm working on a new performace evaluation & would like to sum the score of each line, then get an average of the total scores.
    example:  stength (1 value), Solid Performer (2 value), Performer (3 value), Recommend Development (4 value), N/A (zero value)  then a total score of all the values, not including the zero value. 
    Then an average score of all the scores given.
    Hope this makes sense! 
    Thanks in advance for the input!!!

    If you use the calculation option "The field is the ____ of the following fields:", nulll values and zero values are included as zero and the number of number of items use is the number of fields selected.
    If you want a different calculation, then you will have to write a custom script to sum and count the fields you want to include in the calculation.

Maybe you are looking for

  • New preview function for iPad–error message "Multiple page sizes not supported"

    When I try to use the new preview function with my iPad I get the error message "Multiple page sizes within a layout are not supported". I have a page that is 768 x  1296. I would really like to preview this folio before publishing. Any suggestions?

  • Safe boot issues tried everything

    Howdy From NZ I have a MBP with a bad case of safe Boot Issues Things I have tried: Disk Repair Checked S.M.A.R.T status of HDD under linux and run a full surface scan to check HDD is fine Replaced SATA Cable Reloaded OSX (upto yosimite) tried anothe

  • Does the Conficker worm affect Macs sharing a network with a PC?

    I asked this on Yahoo! Answers, but I am not sure. I want to receive an answer from a reliable Macintosh user. My sister and I share the same network to access the internet, but she is a PC owner while I run a Mac. Will I be affected by this worm?

  • Re-installing iMovie

    Hi Everyone, I bought my iMovie off the apple store afew months ago, and with it have created afew decent movies. But just yesterday, I had simply dragged a photograph into my filmstrip, for the program to stall. iMovie became unresponsive and then v

  • Driver for a camera

    I have a Creative Labs 73PD0000000 webcam. Where can I find this driver? If It is possible I'd like to download the Windows XP's webcam driver! Thank you!