Custom Report Giving Exception

While calling my custom report from webconsole i am getting these exceptions
Class/Method: tcReportOperationsBean/getPagedReportData encounter some problems: {1}
Caused by [Nested Exception]:
java.sql.SQLException: Missing IN or OUT parameter at index:: 16
and
C lass/Method: ReportAction/displaySectionalReport encounter some problems: Error executing stored procedure
Please do give some suggestion.

I am trying to find why this page does not appear : front_page_admin.cgi. My machine address is :http://y2k/identity/oblix/apps/admin/bin/front_page_admin.cgi
I also have encountered a problem when I was setting up identity console. It gave me an option to select a user but there were no users there, including Administrator. What might have been the cause? This is the serious and major problem. Thank you in advance. Adam Earthman

Similar Messages

  • Custom report  using KM API Error

    Hi All,
    I have to create a report using KM API. i got the custom report using KM API from sdn and I imported into my NWDS. While i compile it, it is giving me this error.
    "The project cannot be build because the classpath for com.sap.netweaver.bc.rf.common.exception.ResourceException is not found."
    I have imported all the required jar files.
    How can i rectify this error?  Could anyone help me out in this issue?
    Regards,
    Divya

    Hi Divya,
    > I have imported all the required jar files
    First, I don't know what you mean with "imported" - in any case, you should <i>not</i> put the JARs into your project but just reference these.
    Also, obviously you have <i>not</i> referenced <i>all the required jar files</i>; ResourceException is part of bc.rf.common_api.jar, which is part of portal application com.sap.netweaver.bc.rf, at least for NW2004s.
    Please use the ClassLocator tool (search the WebLogs for this term to get some initial instruction) to avoid such questions in the future. It will make your life much easier.
    Hope it helps
    Detlev

  • Custom reports do not run with error message: Routine FDPREP cannot read ..

    Hi
    Can anybody help me with this issue pls?
    The dev system is cloned from production a few days ago. After running the post clone procedure, the dev is working fine except when we are trying to run custom reports, it errorred out with error message - Routine FDPREP cannot read the file /fmis/11.5.0/reports/US/POXPRPO1.rep. I have checked the env files, and they seem ok. $CUSTOM_TOP is set to the correct value. Other standard Oracle reports are running properly. The custom report file extension is in low case (.rdf). I've even tried to compile the report manually by using rwcon60.sh, the rep file was created under that folder but concurrent manager is still giving the same error message. So I am suspecting whther it is the path issue, as from the error message we can see up there, it is not showing the absolute path. Can anyone pls shed some lights on this for me?
    Thanks!
    Liang

    Hi hsawwan,
    Echo $FMIS_TOP(Custom Top) returns /global/app/fdev/home/fdevapp/findevappl/fmis/11.5.0, which is the correct path.
    Interesting thing is I checked the custom forms and they are working properly , our current configuration is form server and web server are sitting on one node, and CM, admin and database are sitting on the other node. So it seems it is the CM node settings caused the problem. However, I've just compared the APPSORA.env, customfindev_XXXXXX.env $FMIS_TOP (Custom Top) on the two nodes, and nothing seems out of ordinary.
    Thanks,
    Liang

  • 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.

  • Error while running a custom report in OIM

    Hi All,
    I have created a new custom report for OIM and written a stored procedure for that. But while running the report from Admin console, its throws the below error:
    java.sql.SQLException: ORA-00911: invalid character
    ORA-06512: at "IDM.XL_EXCEPTION", line 149
    ORA-06512: at line 1
    ERROR,19 Jun 2011 22:09:31,665,[XELLERATE.WEBAPP],Class/Method: ReportAction/displayTabularReport encounter some problems: Error executing stored procedure
    Thor.API.Exceptions.tcAPIException: Error executing stored procedure
    Line 149 : DBMS_OUTPUT.PUT_LINE('select stmt ='|| select_stmt);
    "select_stmt" is a select query based on the OIM tables.
    Please advice.

    Seems like there is a invalid character in your SQL (Report's store procedure). Could you share with me whole content of this "select_stmt" variable?
    regards,
    Thiago L Guimaraes

  • Reading values from standard report in custom report dynamically

    Hello Gurus,
    I have a strange requirement, We have some standard reports which displays output in drop down blocked data. I want to create a custom report which will get that data in my internal tables.
    Just to elaborate this requirement, I will give you a example:
    I have a standard report which output as first line 'A' and second line as 'B'. Now when I press drop down in 'A', it displays line items say 1,2,3,4,5.... Similarly block 'B' once when pressed displays line items 6,7,8,9,10.
    Here I want a custom report which directly read data from this standard report and gives us the values of line items 1,2,3,4,5 in one internal table and similarly items 6,7,8,9,10 in another internal table.
    Hope the question clarifies the requirement now.
    Request you to please provide the resolution.
    Thanks,
    Harjeet

    Hi Harjeet,
    Use sumit statement for standard program and export the list to  memory. and then read list from memory and use in your custom program.
    Use below code for reference.
    DATA: t_list TYPE abaplist OCCURS 0.
    SUBMIT rfdopr10
                    ************** your options
                    AND RETURN
                    EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject       = t_list
      EXCEPTIONS
        NOT_FOUND        = 1
        OTHERS           = 2.
    BR,
    Vijay

  • How to convert the customized report sales price list into excel sheet

    hi friends,
    i am faceing the probulem in VK13 report is not conveting into excel sheet, then i developed the one customized report,
    in this report i am using the tables are a506, konp,and makt, result is coming and it converted into excel sheet in my systam. when i was clik on the excel sheet icon it comming  excel format it working fine and save it. But in menubar list>export> localfile and select redio button spredsheet this navigation only it print the three colums not coming the total colums,
    same program test in another system it not converted into excel sheet, when i am click on excel sheet icon  it's given the message is 'VIEW CAN NOT BE SWITCHED, PRODUCT NOT INSTALLED OR INTEGRATION NOT ACTIVE'. but i giving the print privew it giving the three colums only,.
    In program i am using regular using reuse_alv_grid_display FM only.
    sorry this qusition is repeted becuse before that one mising some text.
    any one plz help me.
    thanks
    raj

    nice answer

  • Custom report templates with the help of BI Publisher.

    Hi All,
    I have created custom report templates with the help of BI Publisher it is working as we excepted.
    refered : https://blogs.oracle.com/kyle/tags/reports
    But our requirement want to change the color of heading and include filters in output report, It is possible, if yes pls share you comments?
    Best Regards
    Pradeep

    how silly of me!
    just restarting the tomcat sorted the problem!!!

  • Custom report to get MD04 but for n materials

    Dear All...
    Do you know if already exist a report that show same information than the MD04?
    Is needed to put several material numbers and get the MD04 information to can do sorts, filters, download to excel.
    Is like the MDLD transaction but instead to print it, have the ability to save it in a excel file.
    The Idea is to have a customized report that can be run by 1 or more materials and show like a "photo" on how is MD04 now.
    Have you a case like this?
    How I can create that report?
    Any idea?

    BAPI_MATERIAL_STOCK_REQ_LIST gives you all data of MD04.
    MD_STOCK_REQUIREMENTS_LIST_API is a FM that is called inside BAPI_MATERIAL_STOCK_REQ_LIST and returns only details of a element (when you click magnifying glass icon in MD04).
    You should test both FMs in SE37 transaction providing it a material and a plant(optional), and check what import data you need.
    CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
            EXPORTING
              MATNR                          = p_matnr
              WERKS                          = p_werks
            IMPORTING
              E_MT61D                        = wa_mt61d
            E_MDKP                         =
            E_CM61M                        =
              E_MDSTA                        = wa_mdsta
            E_ERGBZ                        =
          TABLES
            MDPSX                          =
            MDEZX                          =
            MDSUX                          =
            EXCEPTIONS
              MATERIAL_PLANT_NOT_FOUND       = 1
              PLANT_NOT_FOUND                = 2
              OTHERS                         = 3.
    This is a little example of the FM call.
    Note that function modules only receive a single material, so in your report you must call the function as many times as materials you have and store return items in internal tables before you display them.

  • Custom Report .csv export problem

    I have set up a custom report so I can download a csv file with all orders starting 4/1/2014. It is working well except for one small hiccup. Whatever is in the very first position in the first row (the first column header) has a few weird control characters in it that hang things up when importing the file elsewhere. When I download the csv I have to open the csv, fix the first header by retyping it, and resave the file before I can import it into another application.
    For example, if the first header is Company Type, the csv includes it as
    "Company Type"
    If the first header is Name, it is in the CSV as
    "Name"
    Any idea why this is happening?

    additional details: I can only see the control characters if I open the file in Excel. If I open the csv in a text editor they do not show. However, even though not visible in a text editor, unless I retype "Name" for example, the file fails to import into another application, in this case ShipStation.com. I've also found that, strangely, I can only seem to fix the problem in Excel - trying to fix the file in a text editor by deleting "Name" and retyping it doesn't work.
    Also, I am on a Mac if that makes a difference.

  • Custom Report Syntax - Prompt for limiting collection

    I'm building a customer report that will display maintenance windows for multiple devices.  I'd like to be able to filter the number of devices reported by collection (as to not have EVERY device in the console listed all at once).
    I've got the report working for everything except the filtering part.  Do I need to add a new Dataset and then filter it somehow?  Here's my only dataset so far:
    FIELDS: Computername, CollectionName, Next_Maintenance_Window
    QUERY:
    select
    v_FullCollectionMembership.Name as Computername ,v_Collection.Name as CollectionName,
    v_ServiceWindow.Description as 'Next Maintenance Window'
    from v_ServiceWindow
    inner join v_FullCollectionMembership on (v_FullCollectionMembership.CollectionID = v_ServiceWindow.CollectionID)
    inner join v_Collection on (v_Collection.CollectionID = v_FullCollectionMembership.CollectionID)
    order By Computername
    What do I need to add to be able to select the collection 1st then run the query above?

    HI
    Or you could do it like this:
    Create a new dataset and paste in the following Query:
    SELECT
      v_Collection.Name
      ,v_Collection.CollectionID
    FROM
      v_Collection
    Where CollectionType=2
    Insert the following code in your own Query (dataset) right before order by Computername
    Where v_Collection.Name = (@CollID)
    Expand Parameters in Report Builder, you should see a paramter called @CollID
    Right-click CollID and fill in the following information on the general page:
    Name: CollID
    Prompt: Collection
    On the Available Values select Get values from a query
    Dataset: Dataset2 (the new dataset you just created)
    value field: Name
    Label field: Name
    Design your layout in report builder and run the report. You will get a drop-down box with all your device collections.
    This report is not "RBAC" enabled

  • How to Created custom report for Ship not Billed (SD/FI)?

    Hi all,
    I am anticipating  to write some abap reports..Here is one of them..
    Anyone can help  me with writing a Report , how to do 'Custom Report for shipped not Billed(SD/FI)' ..But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
    Appreciate your help!
    Regards,
    Boby

    Hi Boby,
    You need to create custom transaction to achive these results.
    you will have selection-screen ,it would be :
    Date : Here date would be mandatory  - Ranges Option
    Customer  - Optional field - Ranges
    Order #  Sales Order (Optional) Ranges
    Invoice #  - Invoice # (Optional) Ranges
    You will get the data based on ur selection-screen criteria ...
    First you will have customer order details from diffrent table
    VBAK,
    VBAP,
    LIKP
    LIPS
    VBRK,
    VBRP
    KNA1,
    VBFA Tables ( See the my sample program )
    Output would be :
    Customer #   Custome Name    Order #   Delivery #   Invoice #   Netpr, Netquantity ,
    Check the condition  whether invoice table has VBRK-RFBSK  = ''.
    See the my sample program : This is sales report by monthly..
    REPORT ZFDSALES_REPORT no standard page heading
                           message-id zwave.
    Data Declaration Part
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Reward Points if it is helpful
    Thanks
    Seshu

  • Short dump in custom report in production

    Hi Experts,
      I have a custom report which is run through SM37 as a background job. it takes long time to run and then get canceled with       short dump in production but it runs fine in development.
    description of short dump.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          03.05.2010 11:33:06
    Short text
    |    SQL error in the database when accessing a table.

    Hi,
    Please go through the below notes
    [Note 1379839 - RuntimeError DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1379839]
    [Note 1098183 - RunErr dbif_rsql_sql_error with exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1098183]
    [Note 1410849 - Runtime error DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"|https://service.sap.com/sap/support/notes/1410849]
    This is mainly program error and need corrections...
    Compare the Patch level on both DEV and PRD server. Also make sure, whether program you are using on developement is modified (Corrected) or standard one.
    If you search for the SAP Notes with "DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB" string, you will get several hits. See the notes which are applicable in your scenario...
    Regards.
    Sumit Nene

  • Content Tracker Reports Query file modification issue - Custom Report

    Hi All,
    I was trying to generate a custom report using Content Tracker. I was successful in doing so. However, I found that sometimes it does not pick up the updated query file of Content Tracker reports.
    I made a change in my query:
    from SELECT * FROM Users to
    SELECT dname FROM Users
    the change is written on the file but when i generated the report from C.T. UI, it's still showing me the old results having all the columns. Tried bouncing the server as well, but no use.
    I also added a new query 24 hrs back (as SELECT count(*) As UsersNum FROM Users), it's still not recognizing it and giving error as Failure of server APACHE bridge: No backend server available for
    connection: timed out after 10 seconds or idempotent set to OFF;
    and the log says,
    Unable to execute service SCT_GET_DOCUMENT_INFO_ADMIN and function sctExecuteQuery.
    Unable to create the result set for query '(null)'. SQL statement to execute cannot be empty or null
    What could be the resolution of this issue?
    I am using UCM 11g + SSXA.

    Server bounce.
    Issue is not file update but some other issue, ongoing in another thread by Me.

  • Float value giving exception.

    Hi,
    I am using a bean for a shopping cart. I used this code
    public float getCost()
              Enumeration enum=hashtable.elements();
              String[] tmpItem;
              float totalCost=0.00f;
              while(enum.hasMoreElements())
                   tmpItem=(String[])enum.nextElement();
                   //totalCost += (Integer.parseInt(tmpItem[3]) * Float.parseFloat(tmpItem[2]));
                   totalCost += (Integer.parseInt(tmpItem[3]) * Float.parseFloat(tmpItem[2]));
              return totalCost;
    which is giving me this exception.
    reported this exception: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found. Please report this to the
    administrator of the web server.
    java.lang.NoSuchMethodError: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at
    ShopBean.getCost(Compiled Code) at Checkout.doGet(Checkout.java:20) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at
    javax.servlet.http.HttpServlet.service(Compiled Code) at
    com.sun.server.ServletState.callService(Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code) at
    com.sun.server.http.servlet.InvokerServlet.service(Compiled Code) at
    javax.servlet.http.HttpServlet.service(Compiled Code) at
    com.sun.server.ServletState.callService(Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code) at
    com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code) at
    com.sun.server.http.HttpProcessingState.execute(Compiled Code) at
    com.sun.server.http.stages.Runner.process(Compiled Code) at
    com.sun.server.ProcessingSupport.process(Compiled Code) at com.sun.server.Service.process(Compiled
    Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at
    com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at
    com.sun.server.HandlerThread.run(Compiled Code)
    Can any one correct me please?
    Thanks
    Uma

    Hi
    Here is the code which will be calling the bean
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class Checkout extends HttpServlet
         String itemsvalues,itemno;
         String[] tmpItem;
         public void doGet(HttpServletRequest req,HttpServletResponse res)
              try
                   ServletOutputStream sos = res.getOutputStream();
                   ShopBean cart =(ShopBean)req.getSession().getValue("cart");
                   int totalItems = cart.getNumOfItems();
                   System.out.println("totalItems="+totalItems);
                   sos.println("<h4>In Checkout.java</h4>");
                   float totalCost = cart.getCost();
                   sos.println("<h5>Total cost is:"+totalCost+"</h5>");
              catch(Exception e)
                   e.printStackTrace();
    This class is giving me exceptions
    Thanks
    Uma

Maybe you are looking for