Value for parameters

After some time in developing report in Eclipse, we have finally installed RAD 7, and I have access to our Java code.  I am looking for some advice on how to implementing all these reports(forms).  It will not make any difference if we use them as embedded or in the Enterprise.  We have the complete Business Objects suite, but I see no reason for going Enterprise at this time.  Our reports(forms) will run from 1 to 5 pages, and contain the data for that transaction only.  The will be no huge reports and no reason to access large amounts of data.  I will be using the database for some forms, POJOs for others.  We have decided to use a separate Dynamic Web Project for the forms.  The page code(Java) and the Faces JSPs are in another web project.  I plan to use a PRINT button or menu item to access the forms.  I am hoping it will not be difficult to access the application web project with the forms web project.
I need to access data from the current page and not hard coded for my parameters.  I have two I can hard code, but the rest will come from the application.  Is the follow correct, one correct or neither?  I am suspecting neither.  This form will be using the database.
Integer numberValue = new Integer(7);     
JRCHelperSample.addDiscreteParameterValue(clientDoc, "EndNoteID", "99999999999999", numberValue);
String stringValue = #{pc_NoteList.filter.fromDate};     
JRCHelperSample.addDiscreteParameterValue(clientDoc, "NoteBeginDate", #{pc_NoteList.filter.fromDate}, stringValue);
I have other questions, but let start with with one first.  I do not have an understanding of how I will need to call the reports, but I figure once I understand one, the rest will pretty much be a copy of the one before.

Restarting Webcache fixed it.

Similar Messages

  • Passing different (multi-) values for parameters to drill-through report, based on clicked subtotal in main report

    In Report Builder 3.0, I have made a main report in which the user can filter the underlying dataset using three parameters (all multi-value). The report shows totals grouped by these three parameters, as well as a grand total. What I want is to click
    on a total, which then opens the drill-through report for the corresponding records. I have achieved this for the grand total; the action in the corresponding text box passes all selected values of the parameters to the drill-through report.
    What I cannot figure out is how to make this work right when clicking on a subtotal. When I use the same expression as for the grand total, the same values for the parameters are passed, instead of the subset that apply to the corresponding text box in the
    main report. I expected this to work, because Report Builder /does/ correctly calculate the SUMs for the different levels, even though the expressions are the same.
    My question is: how do I pass different drill-through (multi-) values for parameters, corresponding to the respective subtotals in the main report?
    (FYI: I am using Microsoft SQL Server 2008 R2 and Report Builder 3.0 .)

    Hello Katherine,
    Thanks once more for your quick reply.
    I was aware of the textbox action "Go to report", and how to pass parameters in general. My question concerned how to determine the scope of the passed multi-value parameters (to the values that apply to the respective group/subtotal). The article you linked
    to is informative, but not a solution to my problem.
    A colleague of mine came up with a pragmatic solution: instead of trying to determine the scope of the parameter values, now I "look to the left in the results table". The two screenshots below should illustrate this. (Screenshots are in Dutch. Specific information
    is pixelated.)
    Unfortunately, I am not able to post images. Once my account is verified, I will edit them in. For now, I hope the text speaks for itself enough.
    [Screenshot: Drill-through parameters - 01: Report Builder tablix with subtotals]
    [Screenshot: Drill-through parameters - 02: Textbox properties (selected in screenshot 01) - Action - Go to report]
    The first screenshot shows the tablix in the Report Builder. The second screenshot shows the properties of the textbox selected in the first.
    Notice that I do not pass parameters for the first two columns, but the actual values. I only pass the parameter (containing /all/ user-selected values) for the third column. In the textbox below the selected one, I pass the actual values for the first column,
    and parameters for the last two. In the textbox above the selected one, I pass the actual values for all three columns.
    The only (cosmetic) flaw this approach has is that in the drill-through report, the list of selected parameters might show values that do not occur in the (corresponding part of the) results, and only for those parameters for which the main report passes (all
    user-selected) parameter values, and not the actual values in the results. The results are correct, though.
    If there is a way to directly determine the scope of multi-value parameters for passing to a drill-through report, I would still like know. But for now, this seems to work.

  • Logical DB - passing values for parameters

    Hi experts,
    i writing program basing on logical DB. How can i pass default values for parameters, which are defined in a selection screen for this logical DB?
    Thanks
    Juzio

    in my program PNP is used. identify the selection screen fields. and then use it in initialization event,
    report ztest.
    tables: pernr.
    initialization.
    PNPPERNR-LOW = '12455'.
    PNPPERNR-sign = 'I'.
    PNPPERNR-option = 'EQ'.
    append PNPPERNR.
    PNPBEGDA = SY-DATUM.

  • Creating List of Values for Parameters in Crystal Report

    Dear All,
    I have created a Report using Crystal Report XI and integrated that with VB Dot Net.  It uses a Stored Procedure (SQL 2000) to retrieve data.  The stored procedure has some parameters.  When I run the VB dot net exe, it prompts for the parameters.  However, I like to pass a List of Values to the Parameters, which the end user must select from the same.
    How can I create a List of Values and attach to the Crystal Report.
    Please help me in this regard,
    Naren.

    Are you trying to set a bunch of default values (e.g.; 1st name, last name, address, order number, etc.), or an actual List of Values?
    Also, remember to search the forums for possible solutions. When I enter "parameter" in the search box, I get over 7 pages of links...
    The [notes|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true] database and [articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles] are great information resources also.
    Oh, and confirm exact version of CR used.
    Ludek

  • How to set values for Parameters?

    Hi,
    I have the following Selection Screen;
    SELECTION-SCREEN BEGIN OF BLOCK prog WITH FRAME TITLE text-001.
      parameters: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
                  R2 RADIOBUTTON GROUP RAD1.
      parameters zw_laufd like reguh-laufd.
      parameters zw_laufi like reguh-laufi.
      parameters zw_BELNR like BKPF-BELNR.
    SELECTION-SCREEN END OF BLOCK prog.
    For Parameter zw_laufd the following Module is written;
    MODULE F4_LAUFD_0200.
      REFRESH TLAUFK.
      TLAUFK-LAUFK = SPACE.
      TLAUFK-SIGN  = 'I'.
      APPEND TLAUFK.
      CALL FUNCTION 'F4_ZAHLLAUF'
        EXPORTING
          F1TYP = 'D'
          F2NME = 'zw_laufi'
        IMPORTING
          LAUFD = zw_laufd
          LAUFI = zw_laufi
        TABLES
          LAUFK = TLAUFK.
    ENDMODULE.            
    The Module Pops up a window for selection for Parameter zw_laufd. When I select a value from the popup zw_laufd gets a value and long with that Parameter zw_laufi gets a value too, but this value does not get refelcted in the screen. How to show this in the Selection screen?
    Thanks,
    Kishan

    Hi Kishan,
    Just try this code in a separate program . On selection screen do an F4 on ZW_LAUFI, select any value and then execute . You will see the selected values in list output . I am not sure what is your probelm. Are you doing some other processing in selection screen apart from this code. Or is it that you want to do F4 on LAUDF and want LAUFI to be populated ?????
    <b>data tlaufk like ILAUFK occurs 0 with header line.
    SELECTION-SCREEN BEGIN OF BLOCK prog WITH FRAME TITLE text-001.
    parameters: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
    R2 RADIOBUTTON GROUP RAD1.
    parameters zw_laufd like reguh-laufd.
    parameters zw_laufi like reguh-laufi.
    parameters zw_BELNR like BKPF-BELNR.
    SELECTION-SCREEN END OF BLOCK prog.
    AT selection-screen on value-request for ZW_LAUFI.
    REFRESH TLAUFK.
    TLAUFK-LAUFK = SPACE.
    TLAUFK-SIGN = 'I'.
    APPEND TLAUFK.
    CALL FUNCTION 'F4_ZAHLLAUF'
    EXPORTING
    F1TYP = 'D'
    F2NME = 'ZW_LAUFI'
    IMPORTING
    LAUFD = zw_laufd
    LAUFI = zw_laufi
    TABLES
    LAUFK = TLAUFK.
    AT selection-screen on value-request for ZW_LAUFD.
    REFRESH TLAUFK.
    TLAUFK-LAUFK = SPACE.
    TLAUFK-SIGN = 'I'.
    APPEND TLAUFK.
    CALL FUNCTION 'F4_ZAHLLAUF'
    EXPORTING
    F1TYP = 'D'
    F2NME = 'ZW_LAUFI'
    IMPORTING
    LAUFD = zw_laufd
    LAUFI = zw_laufi
    TABLES
    LAUFK = TLAUFK.
    START-OF-SELECTion.
    write :/ zw_laufi.
    write :/ zw_laufd.</b>
    Cheers.

  • Default values for parameters in Java API

    I have a Crystal report formats with some input parameters set to default values. How do I retrieve them in the Crystal Java API?
    Thanks,
    Chandra Prakash

    I normally do not look at this forum as about all I know about Java is that it comes out of the coffee machine in the kitchen...
    But see if the following KBA will help, even though it is written specifically for .NET:
    1202315 - How do I get a parameters default value's description via the NET SDK?
    - Ludek
    SCN Moderator

  • ORG values for parameters not set in configuration

    Hi All,
    We are creating parent / child roles for FICO & MM for a project. The business requirement / configuration is such that the org values are available only for Company code and Purchasing organization. What is the appropriate way to set this up in the child roles? For e.g. should we put in * for plant , purchasing group etc or leave it BLANK
    Please provide your comments
    Thanks in advance
    Vijaya

    Hi
    FI relies on company codes (mainly) and MM relies on plant, Porg etc (again - mainly) but, without all the other objects being filled in your roles won't work.
    It depends on your client's needs I suppose but it does sound a little open to me but each set up has their own design requirements, you'll have to put * in the rest of the very many org levels (and cost centres, release strategies, etc - too many to mention at org/object) if you aren't given the information either due to lack of knowledge by the functional guys (not likely, hopefully) or a top down 'do what I say approach'.
    I'd get the spec in an email from somebody responsible for the implementation from the business and save it for the auditors...
    Cheers
    David

  • Default values for static report parameters are not visible when scheduling

    Hello
    Crystal Reports 2008 Dev
    Crystal Reports Server 2008
    When I publish a report to the repository and then try to schedule that report, the default value that I have set for a static parameter in the report is not visible.
    In the Parameters section of the Scheduling wizard this parameter is marked as [EMPTY]
    However, when I View the report (right click and select View) from within Infoview, the parameter default value is visible
    I have published in the following 3 ways:
    Publishing Wizard
    File > Save As > Enterprise from withing Crystal Reports Dev
    CMC > Folders > Add > Crystal Reports
    The results are the same for each method of publishing.
    To try to eliminate any DB issues etc i have created a report that is not attached to a datasource. 
    This test report has one Static parameter. 
    I have set 3 values for its list: Entry A, Entry B, Entry C
    Entry X is set as the parameter Default Value
    The parameter is placed in the details section of the report
    When the report is Viewed it will prompt for parameter entry, with the default value present
    When I try to schedule the report is will not have an entry for its parameter
    It seems to me that the default values for parameters should be retained from report design through to report schedule, especially when the default values are retained from report design to report View
    Is this a config problem that i have ?
    Can anyone help me with this ?
    Best regards
    Patrick Coote
    Edited by: PATRICK COOTE on Oct 2, 2008 2:08 PM
    Edited by: PATRICK COOTE on Oct 3, 2008 9:23 AM

    Hi Robert
    Thanks for the reply and apologies for not responding sooner.
    What i have found is that if i use Publishing Wizard to upload reports it is then possible to set values for prompts during the last step of this process.
    Although this is a bit clumsy, it is sufficient for now
    Best regards
    Patrick

  • Dynamic default values in parameters

    Hello,
    anyone knows if it's possible to set dynamic values as default values for parameters in portal?
    i am specially interested in the use the date we are in to pass it to a discoverer worksheet (month or year) via single parameter form or any other porlet that could perform it.
    Many thanks.
    Regards,
    Daniel
    PS
    Is the second thread i create with this question cause i didnt receive any answer before and i am really interested in any solution or knowing that i cant perform it.

    no one have ever used a date parameter (for example, month) that need a default value, and set this default value as the month we are today?
    maybe i didnt explain my problem properly before...
    thanks for any help, i really need this because all the porlets in the portal i am creating are discoverer's reports that presented by month, year or day.
    regards,
    daniel

  • How to Change the return value for the parameters

    Hi, Can anyone help me with my problem?
    I have a parameter called "P1_Projects" defined in the HTMLDB page, on the report region, there are 2 buttons, one is "Go" button to submit the report on the screen, so user can preview the report, then another button "Export to PDF" can be clicked to generate the report using Oracle Report Services. The "Export to PDF" button will use the same set of parameters submitted for the "Go" button.
    So, the parameter "P1_Projects" is being used by these 2 buttons. and I have to pass a "%" wild card for "All Projects". To make the "Export to PDF" button work, I have to safe encode the return value for "%" to "%25" in order to pass the URL formula, but now my "Go" button doesn't work with "%25", it only recognize the "%" wild card.
    Is there a way to conditionally change the value depends which button is clicked?
    Any hint or help is highly appreciated!
    Hong

    try creating a plsql process which sets the P1_Projects item as required.
    in the plsql you can do:
    if :REQUEST = 'GO' then
    xxx
    else
    xxxx
    end if;
    set the condition to plsql expression:
    :REQUEST in ('GO', 'EXPORT')
    NB. the request value is usually set to the button name when a page is submitted from a button

  • Parameter validation failed. It is not possible to provide valid values for all parameters

    I'm trying to test passing in parameter values from the URL.    I have RS 2008 .   I created an ultrasimple report based on a stored procedure output.  There is no validation, No available values, No default values.  
    I'm trying to run the report like this:
    /Reports/Pages/Report.aspx?ItemPath=%2fProduction%2fDBA+Reports%2fTest&iTest=1
    I get:
    Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)
    the one int parameter is iTestId 
    The RS log file says the following:
    processing!ReportServer_0-54!9138!01/25/2013-09:22:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters., ;
      Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters.
    What am I missing?

    Hi F-ram,
    From your description, you want to pass multiple parameters via URL, right? To pass multiple parameters through URL, we can use an ampersand (&) to separate them. For example, I have a report with two parameters p1 and p2. The report is deployed in a
    folder on the Report Server. When I navigate to the report on the Report Server, I can see the report URL is http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render.
    If I need to pass parameters through URL, I can just add &p1=value1&p2=value2 at the end of the URL and the entire URL would be http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render&p1=value1&p2=value2
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Accessing DefaultValues for parameters with dynamic values

    We have a custom user interface we place in front of all Crystal Reports (to maintain look&feel) that reads the parameters from the report and dynamically generates controls for user input.  The only time this doesn't work is for parameters that have dynamically generated default values.  If there is a static list of default values then we get the list from the DefaultValues collection; but if the list is dynamic then the collection is empty.
    Is there a way to force this collection to be populated, or alternatively, a way to find out what SQL query is being used to populate the parameter list?

    I think you may be out of luck. Dynamic cascading parameters (DCPs) are a relatively late addition to the Crystal Reports product line, and the Crystal Reports SDKs haven't caught up to that yet. Currently we don't have SDK access to dynamic value collections, including the SQL queries made for them. The most we can do at the moment is determine whether the parameter field uses dynamic or static values.

  • How to determine the values for Model Parameters in Forecasting

    Hello Gurus,
          On basis we will determine the values  for the Model Parameter values (Alpha, Beta, Gamma, Sigma).
    Thanks,
    Siva.

    Dear Siva,
    the values are dependent from the forecast stratey and forecast model.
    The forecast strategy determines the method or the techniques that are used to create the forecast. You set the forecast strategy in the forecast profile.
    There are some settings that you must make for certain forecast strategies. The table below shows you which settings these are. You make these settings either in the univariate forecast profile or under the Model and Parameters tabs of the Forecast view on the demand planning desktop.
    Model initialization is the process by which the system determines the necessary model parameters for the chosen forecast model. These parameters are in following link:
    http://help.sap.com/saphelp_scm50/helpdata/en/ac/216b74337b11d398290000e8a49608/frameset.htm
    I hope this helps you further.
    Regards,
    Tibor

  • No value for given parameters error when using command parameters in RDC.

    I am trying to create a report using RDC with a parameter in the query, but I keep getting "No value for given parameters" error.  Here is the code I use:
    Dim creport As CRAXDDRT.Report
    Dim appn As CRAXDDRT.Application
    Dim datcmd1 As New ADODB.Command
    Dim adocn As New ADODB.Connection   
    Dim sqltext As String
    Dim x As CRAXDDRT.ParameterFieldDefinition
    Set appn = New CRAXDDRT.Application
    Set creport = appn.NewReport
    Set x = creport.ParameterFields.Add("test", 2)
    x.AddCurrentValue 0
    sqltext = "SELECT Name FROM TestTable WHERE ID={?test}"
    Set adocn = New ADODB.Connection
    adocn.Open "Provider=SQLOLEDB;Data Source=myDB;UID=xxx;PWD=xxx;"
    Set datcmd1 = New ADODB.Command
    Set datcmd1.ActiveConnection = adocn
    datcmd1.CommandText = sqltext
    creport.Database.AddADOCommand adocn, datcmd1
    creport.SaveAs "test", crDefaultFileFormat
    Set datcmd1 = Nothing
    Set adocn = Nothing
    Set creport = Nothing
    Set appn = Nothing

    Hello, Paul;
    If you add your database connection to the command object and put fields on your report without the parameter, do you get the report you expect?
    These are version 8/8.5 samples but the code is the same:
    [Note 1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 2|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Once you have added the database connection follow that with the parameter code.
    [Note 3|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 4|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    If you add the parameter and put the field on the report, can you pass the value successfully?
    Elaine

  • I'd like to need  parameters value for 'BAPI_CUSTOMER_CHANGEFROMDATA1'

    I try to work import parameters for 'BAPI_CUSTOMER_CHANGEFROMDATA1'.
    Import parameters
    PI_PERSONALDATA :
           TITLE_P                        Company
           FIRSTNAME                      Dieter
           LASTNAME                       Berger
           MIDDLENAME
           SECONDNAME
           DATE_BIRTH
           CITY                           Berlin
           DISTRICT                       Hermsdorf
           POSTL_COD1                     13467
           POSTL_COD2
           PO_BOX
           PO_BOX_CIT
           STREET                         Calvinstrasse
           HOUSE_NO                       36
           BUILDING
           FLOOR
           ROOM_NO
           COUNTRY                        DE
           COUNTRYISO                     DE
           REGION                         11
           TEL1_NUMBR                     030-8853-000
           TEL1_EXT
           FAX_NUMBER                     030-8853-999
           FAX_EXTENS
           E_MAIL
           LANGU_P
           LANGUP_ISO                     DE
           CURRENCY
           CURRENCY_ISO                   EUR
           TITLE_KEY
           ONLY_CHANGE_COMADDRESS
    PI_SALESORG       :              0001
    CUSTOMERNO       :               1000
    CustomerNo '1000' is not made by me. I think it might be given by SAP.
    when i put them, it shows the message ' EF2                  826Contact person address different from company address; change not allowed'.
    i don't understand what it means.
    plz, give me data for parameters value.

    Hi,
    Dont pass anything to the field ONLY_CHANGE_COMADDRESS. Just put it blank.
    Still you get the problem after doing this,
    check at the customer master (XD03) contact person tab ( Last tab ) and click on address push botton at the bottom.
    Ensure that the address there and the company code address are same.
    Regards,
    Sai

Maybe you are looking for

  • Is there any way to create a book for ibookstore in windows pc?

    Is there any way to create a book for ibookstore in windows pc?

  • JMS and Java EE 5 Tutorial

    Hello, I'm new to JMS and have been following Suns JMS tutorial here.... [http://java.sun.com/javaee/5/docs/tutorial/doc/bncfa.html#bncfc|http://java.sun.com/javaee/5/docs/tutorial/doc/bncfa.html#bncfc] I followed the example for the Producer / Synch

  • Aggregate functions without group by clause

    hi friends, i was asked an interesting question by my friend. The question is... There is a DEPT table which has dept_no and dept_name. There is an EMP table which has emp_no, emp_name and dept_no. My requirement is to get the the dept_no, dept_name

  • Please Help S4 wont turn on

    Someone please help I have tried to update my phone but now it wont turn on. It has the little green man and says 'installing system update' all it does is get to 100% vibrate, turn off then come back on again with 'recovery booting' in the top left

  • Adobe CS5.5 no Middle Eastern English Arabic download

    When i go to download Adobe CS6 here Download CS6 products the Middle Eastern English Arabic is available but when i want to download Adobe CS5.5 here Download CS5.5 products the Middle Eastern English Arabic is not available why its not there and fr