How to add a specific parameter in custom report

hi,
I have created a custom report in OIM 10g. I have three input parameters. startdate, enddate and resource object name,. With start date and end date the report is displaying correctly. when i add the resource object name as the third specific parameter is throwing the below exception
java.sql.SQLException: Missing IN or OUT parameter at index:: 15
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1869)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStoredProcedure(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readStoredProcedure(Unknown Source)
at com.thortech.xl.dataobj.CallableStatementUtil.execute(Unknown Source)
at com.thortech.xl.ejb.beansimpl.ReportOperationsBean.getPagedReportData(Unknown Source)
I have given the input parameter correctly in meta data also. anywhere else we need to mention the specific parameter?
Thanks

Hey,
From OIM 9.1.0.2 Reports you have two options:
With OIMReports:
1- Including in XML files the parameters as section: Examples of InputParameter tags and ReturnColumns tag
2-And Creating a New Entry in the REP Table.
http://docs.oracle.com/cd/E10391_01/doc.910/e10365/reporting.htm
Section: How to create Report in OIM 9.1.0.2.
With BIPublisher(easiest way-license is needed):
Once you downloaded and install BIPub in your application server you will have access to all OIM report definitions.Then it is just a matter of learning how to change a report definition. It's very simple.
It has a 'desktop tool' that you can install in your desktop. This specifc tool provides an extension to MS Word(MACRO) and you can even work with Word to generate report templates.
Descriptions:
0- deploy BIPublisher and OIM reports to your apps server
1- Install the BIPublisher desktop tools in your desktop
2- Modify the report query using the BIPub interface and add your UDF fields
3- Run the report you want to modify from BIPub and export the generated data as XML
4- Download the report template in RTF format
5- With RTF file(open it) in your MS Word
6- Load the XML file you generated in step 4 in your MS Word
7- You could load this specif xml change what you want. (word will have a 'BI Publisher' menu with different operations you can do)
7- With Report template(save it).
8- Update the report template in the report definition(using the BIPub web interface
9- Run the report again
It means that front end page you need to edit this in Word page.
The sources are here: http://www.oracle.com/technetwork/testcontent/oim-reports-9102-130923.zip
I hope this helps,
Thiago Leoncio.

Similar Messages

  • How to add a specific order type into any particular report

    Hi All,
    How to add a specific document type(order type) into any particular report in order to review OTD performance.
    I need to add one specific order type to existing reports which will help to check the performance of the delivery type for that particular order type to the users.
    Thanks,
    Raj

    Hi Rajesh,
    thanks for the reply when i tried as the way you said.. but the system is asking more details like varient. so if you can clearly specify the process for order type (VOV8-- table TVAK) so it will helpful for me.
    Thanks
    Raj

  • How to add a validator to a custom tag

    Hello,
    I would like to know how to add a validator to my custom tag as an attribute.
    <mytags:custom validator=???/>
    Thanks.
    Sebastien

    Are you wanting to use one of the JSF validators or a home brewed one?

  • How to add F4 help for the custom field of a custom table

    Hi All,
    How to add F4 help to the custom table field? in the table maintainance when user clicks on F4 i want to provide possible values for this field I am trying to write the code in the screen of table maintainace like the following
    PROCESS ON VALUE-REQUEST.
      FIELD ZTEST_MAH_F4-KUNNR MODULE zVALUE_kunnr .
    But when i am double clicking on module it's giving options to create include program but after that it's giving user is currently editing the table i am not getting this can some body clarify my doubt it's gr8 if some body give some examp code
    Thanks&Regards
    mahesh

    Hi,
    Create a subroutine under the event and call the following FM
    1. Select all the related data into an itab, for ex i_kunnr
    2.    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
        DDIC_STRUCTURE         = ' '
           retfield               = 'KUNNR'
        PVALKEY                = ' '
           dynpprog               = sy-repid
           dynpnr                 = '1000'
           dynprofield            = <selection screen field>
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
           value_org              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
          TABLES
           value_tab              = <b>i_kunnr</b>
        FIELD_TAB              =
           return_tab             = < return table >
        DYNPFLD_MAPPING        =
         EXCEPTIONS
           parameter_error        = 1
           no_values_found        = 2
           OTHERS                 = 3

  • How to pass in a parameter into a report viewer on a jsp - and hidden

    Hi, I've built a php application and am using the java environment to enable the crystal report/viewer.  The developer was looking how to pass in a parameter into a report viewer on a jsp. Ultimately the end product we need is to get an HTML report viewer loading a report file with hidden parameters so to not expose other customer data (it's a shared database for multiple customers) preferably loaded from php using maybe the php java bridge. Would anyone happen to have any sample code or any guidance?
    <%@ page contentType="text/html; charset=UTF-8"
       pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <%
    // just a test to grab rpt name from GET
    String rptFile = "report_files/" + request.getParameter("rpt");
    %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName=""
    isOwnPage="true">
       <crviewer:report reportName="<%= rptFile %>" />
    </crviewer:viewer>
    Many thanks in advance!
    Mark

    I am not aware of any html tags you can pass to the viewer for parameter values.  Normally, you would load the report in code and then use the SDK with the report object to pass parameter values.

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

  • How to add the double headings in Alv Report.

    Hi All,
    Plz suggest me how to add the double headings in ALv Report.
    Ram

    Hi,
    Try out this program....
    REPORT  ypm_historycard_rep.
    TYPE-POOLS : slis.
    DATA : it_cbm TYPE STANDARD TABLE OF mara.
    DATA : it_layout TYPE STANDARD TABLE OF slis_layout_alv WITH HEADER LINE,
           wa_fcat TYPE slis_fieldcat_alv,
           it_fcat TYPE slis_t_fieldcat_alv.
    START-OF-SELECTION.
      SELECT  *
      FROM  mara
      INTO CORRESPONDING FIELDS OF TABLE  it_cbm
      where matnr = 'D80K7'.
    END-OF-SELECTION.
      it_layout-zebra = 'X'.
      it_layout-colwidth_optimize = 'X'.
      it_layout-f2code = '&ETA'.
      APPEND it_layout.
      DEFINE macro4fcat.
        wa_fcat-col_pos = &1.
        wa_fcat-fieldname = &2.
        wa_fcat-tabname = &3.
        wa_fcat-seltext_l = &4.
        append wa_fcat to it_fcat.
        clear wa_fcat.
      END-OF-DEFINITION.
      macro4fcat    '1'  'MATNR'         'IT_CBM'   'MATERIAL NO'    .
      DESCRIBE TABLE it_cbm.
      IF sy-ucomm = '&F03'.
        MESSAGE 'hi hello good morning "press enter button" this is quiz' TYPE 'S'.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      i_callback_program                = sy-repid
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'
      is_layout                         = it_layout
      it_fieldcat                       = it_fcat
       i_save                            = 'A'
      TABLES
      t_outtab                          = it_cbm
      EXCEPTIONS
      program_error                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  html_top_of_page
    *       text
    *      -->TOP        text
    FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
      DATA: l_text(255) TYPE c.
      DATA: text1(255)  TYPE c.
      DATA: t_header TYPE REF TO cl_dd_table_element ,
            wa_header TYPE REF TO cl_dd_table_area.
      CALL METHOD top->add_gap
        EXPORTING
          width = 10.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'hello'
        sap_style     = 'HEADING'
    CALL METHOD top->add_gap
        EXPORTING
          width = 20.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'HOW ARE YOU'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 50.
      CALL METHOD top->add_text
      EXPORTING
        text          = '____________________________________________________________'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 90.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'YOU CAN TRY LIKE THIS'
        sap_style     = 'HEADING'.
    ENDFORM.                    "html_top_of_page
    Regards
    Debarshi

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How to add a formula column in a report

    Hi
    I have made a report based on a query.
    There are 3 columns in the query and all the 3 are displayed.
    Now I want to add a new column (fomula column) to the report.
    I want to write a query inside the formula column. To execute the query col1, col2 and col3 values are required in the formula column.
    Could you please tell me how to add a formula column in the report and how to pass database column value to inside the formula column
    regards

    Here is how you would create a formula column:
    Open data model of the report.
    Formula column button is on the left side of the tool palette.
    Click on that button.
    Now click in the query group where you want to place the formula column.
    You would see a new field something like CF_1. That is the formula column.
    Double click on the field CF_1. It will open property inspector.
    You would see, Datatype of the formula column is Number. Change this as per your requirement.
    Double click on PL/SQL Formula property. It would open up a editor. Here you can write the code.
    And now to access the data model column here, you can use : and column name. i.e. :col1 or :col2, etc
    And remember you have to return the value back to the formula column. Like this: RETURN(some value).
    You can also take a help from here:
    http://download.oracle.com/docs/html/B13895_01/orbr_howto.htm#sthref1309
    Hope this helps.

  • How to create ''from to '' parameter in XL reporter for templates

    Hi,
    How to create ''from to '' parameter in XL reporter for templates
    Can anyone help me in this regard
    thanks,
    Suresh Kannan

    Suresh,
    1. Goto Report Designer
    2. there u can find "Advanced Report Builder" on left side of the window
    3. At the below u can find three buttons like "Parameters", "Properties","Apply"
    4. Click on "Parameters"
    5. then Parameters window will populate
    6. Click the new Button
    7. Name: give as u like
    Category: Literal
    Type: Date
    Attribute: Leave blank
    Default Vale: Leave Blank
    Prompt: From Date
    This is the process to create the parameters.

  • How to add a dynamic parameter with VB 6?

    I'm building a simply application that will open crystal 11 reports and add a single parameter. I've been able to get this working however I don't know how to set the parameter as dynamic and add to the list of values?

    Hi Jason,
    Please search Forums before posting a question. There are others doing the same whcih include samples on how to. Here's one of them: Loading a prompt list dynamically on an ASP.NET page in Crystal 11
    I assume you are using the RDC ( craxdrt.dll ). The RDC has been deprecated since version 9 meaning there have been no updated or new fucntionality added to it. Since Cascading Parameters were introduced in CR 11 the RDC has no API available and nor does the .NET components. Check the posting above for more info.
    Also the RDC is not supported in .NET so you should upgrade CR and move to .NET Suite.
    Thank you
    Don

  • How to add some extra parameter in SAP instance profile

    Dear Gurus,
    I want to add login/min_password_lng and login/fails_to_user_lock in my instance profile.Please guide me the steps how I can add this by using RZ10 T.Code so that it takes changes in program RSPARAM.In our scenario we have 1 CI server and 2 application server.
    Please guide me the steps so that I add this parameter.
    Advance Thanks
    Nirmal

    Hi,
    1. Execute RZ10 T-code
    2. Choose the Instance Profile such as <SID>_DVEBMGS00_<HOSTNAME>,<SID>_D00_<HOSTNAME>
    3. In Edit Profile , select "Extended Maintenance"
    4. The Profile will be open in Display mode. To Add/change the new Profile Parameter, the Profile needs to be in Change mode.
    5. To add New Profile Parameter Push Create/ Press F5,
    6. New Screen will be generated with Parameter Name and Parameter Value Inputs. Provide the required parameter name and its value (in your case [login parameters|http://help.sap.com/saphelp_nw04/Helpdata/EN/22/41c43ac23cef2fe10000000a114084/content.htm]). Then Press Copy.
    8. Once the changes are made, choose Copy to return to the initial screen of Transaction RZ10.
    9.Then save and activate the profile that has been changed.
    10. After this the instance has to be restarted.
    Regards,
    Bhavik G. shroff

  • How to add a specific view to a folder in Finder?

    Hello Everyone,
    I was wondering if there is a possibillity to add a specific view to a specific folder in Finder.
    I know this sounds abstract, let me explain:
    In OS 10.5 there are now 4 views for the Finder:
    - Icons
    - List
    - Columns
    - Cover Flow
    Usually I prefer icons, but for my movies and pictures folders I prefer Cover Flow.
    It would be handy to preset Cover Flow as view for the movies and pictures folders while other folders remain unaffected and still view as icons, instead of constantly having to change the view.
    Is there any way to accomplish what I am trying to do?
    Thanks Beforehands

    Lawrence,
    What you want to do is possible.
    Open your folder (the one you want to "customize"), then choose View>Show View Options. At the top, you will see a check-box labeled "Always open in xxx view," "xxx' being whatever view is currently set for the open window. Change the view on the window, using the icon in the Toolbar, to set your desired view, then enable the checkbox in the View Options. Close the View Options, then close the window.
    Initially, changing the view on this one window will change your view globally. Not a problem; just change the global setting back to your desired view when you open the next Finder window.
    Scott

  • How to add a input parameter in Web Intelligence ?

    Hi,
    I create a report in Web intelligent rich client and I want to prompt user to input a parameter such as report date then show this value in a report cell. Please tell me how to do ?
    Thanks
    Mau Vu Huu

    Hi Mau,
    Try this Formula
    =UserResponse("Enter Date")
    Note :"Enter Date" = Promt Text
    Refresh your report to get the name to use. It will give you the name of the prompt right above the prompt values. Make sure you put double quotes around it. I've attached a screenshot of what you are looking for:
    Now write a formula in Block cell
    =UserResponse("Enter Date")
    Regarsd,
    Mahi

  • How to Displaying Operating specific data in Discoverer Reports.....?

    Hi Experts,
    My Requirement : I need to develope one custom report where it has to display operating unit specific data based on the resposibility selection in Discoverer.
    My Approach : I prepared the below query and I am trying to pick Business_group_id from profile options and passing to the query.(You can observe the condition which is highlighted as red color)While i am running the query I am getting zero records.
    Please suggest me how to achieve the my requirement of displaying operating unit specific data in Discoverer.
    SELECT  A1.PERSON_ID
           ,A1.employee_number
           ,A1.first_name
           ,A1.last_name
           ,A1.known_as PREFERRED_NAME
           ,A1.GENDER
           ,A1.date_of_birth
           ,A1.Marital_status
           ,A1.original_date_of_hire
           ,A1.Organization
           ,A1.Location
           ,A1.Job_name
           ,A1.OLF_DEPARTMENT
           ,A1.OLF_DEPT_SUBGROUP
           ,A1.salary
           ,A1.salary_change_date
           ,A1.HIRE_DATE
           ,A2.PERSON_ID SUPERVISOR_ID
           ,A2.EMPLOYEE SUPERVISOR
           ,A3.PERSON_ID SUPERVISOR_ID_1
           ,A3.EMPLOYEE SUPERVISOR_NAME_1 
    FROM (
    SELECT PAPF.first_name
          ,PAPF.last_name
          ,papf.known_as
          ,papf.*** GENDER
          ,papf.date_of_birth
          ,papf.marital_status
          ,papf.employee_number
          ,PAPF.person_id
          ,PAAF.supervisor_id     
          ,PAPF.original_date_of_hire
          ,(SELECT name FROM  hr_all_organization_units WHERE Organization_id=PAAF.organization_id) Organization
          ,(SELECT location_code FROM  hr_locations WHERE location_id=PAAF.Location_id) Location
          ,(SELECT name FROM  per_jobs WHERE job_id=PAAF.job_id) Job_name
          ,PPP.proposed_salary_n SALARY
          ,ppp.change_date salary_change_date
          ,ppgk.segment1   OLF_DEPARTMENT
          ,ppgk.segment2  OLF_DEPT_SUBGROUP
          ,papf.original_date_of_hire HIRE_DATE
      FROM per_all_people_f PAPF 
          ,per_all_assignments_f PAAF
          ,per_pay_proposals  PPP
          ,PAY_PEOPLE_GROUPS_KFV ppgk
    WHERE 1=1
       AND PAPF.person_id=PAAF.person_id
       AND papf.business_group_id=paaf.business_group_id
       AND PAAF.assignment_id=PPP.assignment_id
       AND paaf.people_group_id=ppgk.people_group_id
       AND ppp.change_date =(SELECT MAX(change_date)
                               FROM per_pay_proposals
                              WHERE assignment_id=PPP.assignment_id)
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date<font color="red">AND PAPF.BUSINESS_GROUP_ID = TO_NUMBER(FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID '))</font>
    ) A1
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE,PAPF.PERSON_ID,PAAF.supervisor_id
    FROM per_all_people_f PAPF
    ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
    AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
    AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A2
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE
    ,PAPF.PERSON_ID
    ,PAAF.supervisor_id
    FROM per_all_people_f PAPF
    ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
    AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
    AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A3
    WHERE 1=1
    AND A2.PERSON_ID(+)=A1.SUPERVISOR_ID
    AND A3.PERSON_ID(+)=A2.SUPERVISOR_ID
    AND A4.PERSON_ID(+)=A3.SUPERVISOR_ID
    ;

    Pl identify versions of OS, database, EBS and Discoverer. Have you reviewed these MOS Docs ?
    373634.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite Release 12
    1074326.1 - Using Discoverer 11.1.1 with Oracle E-Business Suite Release 12
    313418.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite 11i
    1073963.1 - Using Discoverer 11.1.1 with Oracle E-Business Suite Release 11i
    HTH
    Srini

Maybe you are looking for

  • With the latest version of itunes, are you able to search your library by purchase date?

    With the latest version of itunes, are you able to search your library by purchase date?  My prior itunes software had Name, Time, Artist, Album, Genre, Rating, Plays and Purchased.  With Version 11.0.3 of itunes, 'Purchased' is not a tabbed option t

  • IPad2 Doesn't see internet.

    Just bought my iPad2. It worked fine in the Apple Store. It apparently connects to my home network but does not see internet. Safari gives the error message that it is not connected to the internet.  I use Time Capsule as my router. Everything else w

  • Trouble Forwarding HTML Messages with Entourage

    I use Entourage for email at home. Occasionally, I would like to be able to forward an email message to someone and keep the original HTML format intact. I have my preferences set to reply to messages in whatever format they were sent. For some reaso

  • Log area is full

    Hi SAPDB Gurus, Our quality box live cache log area has become full and when I try to run a log backup I get below message. -24755,ERR_SESSIONLIMIT: No session of type 'User' available -24994,ERR_RTE: Runtime environment error 2,utility session is al

  • I cant get into my ipod cause i forgot the passcode

    i need help cause i forgot my passcode n can not get into my ipod what do i do????