JSON error when passing items into a Dynamic PL/SQL action

Hi,
APEX 4.1.1, Oracle RDBMS 11.2.0.3
I have a recipient field whose value is intended to be dependent on two other fields on the page (a select list and a number field).
I have an on-change 'set-value' DA on the number field with a set type of 'PL/SQL Function Body'.
Currently the function body is simply "return '1234';".
This works unless I specify 'Page Items to Submit'. Once I do this, the recipient field is no longer populated and FireBug console reports the following error:
SyntaxError: JSON.parse: unexpected character
http://loordv02/i_411/javascript/apex_4_1.min.js
Line 16
Any ideas?

I was getting the same error, so I looked at the records for the POST event in firebug. Scrolling through the Response tab, I found the following:
<div class="rc-body">
<div class="rc-body-r">
<div class="rc-content-main">
<div class="sErrorText">
<strong>ERR-1002 Unable to find item ID for item "" in application "108".</strong>
<strong>Unexpected error, unable to find item name at application or page level.</strong>
<div><div class="error_technical_info"><a href="#" onclick="htmldb_ToggleTableBody('error_technical_info_expand_icon', 'error_technical_info'); return false;"><img src="/m/htmldb/builder/rollup_plus_dgray.gif" class="pseudoButtonActive" id="error_technical_info_expand_icon" alt="">Technical Info (only visible for developers)</a><ul id="error_technical_info" style="display:none"><li>is_internal_error: true</li><li>apex_error_code: WWV_FLOW.FIND_ITEM_ID_ERR</li><li>component.type: APEX_APPLICATION_PAGE_DA_ACTS</li><li>component.id: 2428123999040673</li><li>component.name: NATIVE_EXECUTE_PLSQL_CODE</li><li>error_backtrace: <pre>----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
0x9f9cd014       717  package body APEX_040100.WWV_FLOW_ERROR
0x9f9cd014      1064  package body APEX_040100.WWV_FLOW_ERROR
0xa9542cb0      1564  package body APEX_040100.WWV_FLOW
0xa9542cb0      1293  package body APEX_040100.WWV_FLOW
0x9f94844c       939  package body APEX_040100.HTMLDB_UTIL
0x86fc3c74        31  anonymous block
0xa92f4f64      1926  package body SYS.DBMS_SYS_SQL
0x9f9dc50c       966  package body SYS.WWV_DBMS_SQL
0x9f9dcbc0       649  package body APEX_040100.WWV_FLOW_DYNAMIC_EXEC
0x9f932078      1820  package body APEX_040100.WWV_FLOW_PLUGIN_UTIL
0x924e28e4       416  package body APEX_040100.WWV_FLOW_NATIVE_DYNAMIC_ACTION
0x9f9e7204      1898  package body APEX_040100.WWV_FLOW_PLUGIN_ENGINE
0x9f9e7204      2572  package body APEX_040100.WWV_FLOW_PLUGIN_ENGINE
0xa9542cb0      7249  package body APEX_040100.WWV_FLOW
0x9f5c0198        31  anonymous block
</pre></li></ul></div></div>It is possible that a similar error block is failing to render in your response, which may help you diagnose the problems in your anonymous block (PL/SQL action in the Dynamic Action).
Hope that helps!
Jeremiah
Edited by: JEvans on Sep 5, 2012 12:01 PM
P.S. Fixed my anonymous block issue as well. Could you post the following from your Execute PL/SQL Code action please?
PL/SQL Code
Page Items to Submit
Page Items to Return
My guess is there's something conflicting in there, that's where I was going wrong.
Thanks,
Jeremiah
Edited by: JEvans on Sep 5, 2012 12:08 PM

Similar Messages

  • Error when passing URL from OLAP Universe to WebI

    Hi Experts,
    I am getting 'The Supplier XML is not valid' WebI error when passing a URL from OLAP Universe.
    URL example:
    '<a href="http://www.sap.com">web link</a>'
    I follow Universe Designer Guide:
    - typing above URL into Dimension Select statement
    - selecting Read As Hyperlink in Object Format.
    When I drop this dimension into Result Objects panel in WebI Query and run refresh  'The Supplier XML is not valid' pops up.
    What i am trying to achive is to create a pre-formatted as Hyperlink object (dimension) in WebI to make it available for a user to design ad-hoc reports.
    Please help
    Thanks

    Hi,
    Refer the below forum link for more information:
    Universe object format in Web Intelligence
    I guess you can do some changes in the format of Universe object and use it in Webi.
    -Noor.

  • Error when Uploading Items on a Delta Run

    Hi,
    I tried to upload new items with the "Force initial transport" unticked and I got the following Log:
      06/18/2007 10:50:35 (UTC+8): Package 0001 received and saved 
      06/18/2007 10:50:36 (UTC+8): processing of package 0001 started 
      06/18/2007 10:50:39 (UTC+8): catalog header data updated 
      06/18/2007 10:50:42 (UTC+8): catalog model data updated 
      Error when deleting item 5F953A4645A9FA34E10000000A0000EC (ID) 
      Catalog update was terminated
    How come Items are being deleted on an Upload?
    Please help.

    Hi
    Which CCM version are you using ? Try to post what the failure message that you are getting for the Transaction ST22.
    <b>Please go through the follwoing SAP OSS Notes and pointers below -></b>
    Errror while uploading the supplier catalog data
    Note 828553
    Notr 841441
    Note 936122
    Catalog upload with errors ?   :-(
    Error when publishing a catalog
    Re: CCM  related - How to delete the item from a catalog?
    Hope this will help.
    Regards
    - Atul

  • Sub Query Error When Passing Dynamic Parameter.

    Dear All, I need help for below query problem.
    I have try below query run no problem when pass a static Parameter into the query but it throw error once i have add in the dynamic parameter:-
    --Sales BatchNum Transaction
    SELECT T0.[ItemCode], T0.[ItemName], T0.[WhsCode], T0.[BatchNum], ISNULL(T4.[AvgPrice],0) AS 'Avg Price', SUM(T0.[Quantity]) AS 'Sales Quantity',
    (SELECT [Quantity] FROM [OIBT] T1 WHERE T1.[ItemCode] = T0.[ItemCode] AND T1.[WhsCode] = T0.[WhsCode] AND T1.[BatchNum]=T0.[BatchNum]) AS 'Stock OnHand'
    FROM [IBT1] T0 INNER JOIN [OITM] T2 ON T0.[ItemCode] = T2.[ItemCode]
                      INNER JOIN [OITB] T3 ON T2.[ItmsGrpCod] = T3.[ItmsGrpCod]
                      INNER JOIN [OITW] T4 ON T0.[ItemCode] = T4.[ItemCode] AND T0.[WhsCode] = T4.[WhsCode]
    WHERE T0.[BaseType] = [%0] AND T0.[DocDate] BETWEEN [%1] AND [%2] AND T3.[ItmsGrpNam] = [%3]
    GROUP BY T0.[ItemCode], T0.[ItemName], T0.[WhsCode], T0.[BatchNum], T4.[AvgPrice]
    --ORDER BY T0.[ItemCode]
    UNION ALL
    --No Sales Batch Transaction
    SELECT T4.[ItemCode], T4.[ItemName],T4.[WhsCode], T4.[BatchNum], ISNULL(T7.[AvgPrice],0) AS 'Avg Price', 0 AS 'Sales Quantity' ,SUM(T4.[Quantity])
    FROM [OIBT] T4 INNER JOIN [OITM] T5 ON T4.[ItemCode] = T5.[ItemCode]
                      INNER JOIN [OITB] T6 ON T5.[ItmsGrpCod] = T6.[ItmsGrpCod]
                      INNER JOIN [OITW] T7 ON T4.[ItemCode] = T7.[ItemCode] AND T4.[WhsCode] = T7.[WhsCode]
    WHERE NOT EXISTS
    ( SELECT T0.[ItemCode], T0.[ItemName], T0.[WhsCode], T0.[BatchNum], ISNULL(T5.[AvgPrice],0) AS 'Avg Price', SUM(T0.[Quantity]) AS 'Sales Quantity'
      FROM [IBT1] T0 INNER JOIN [OITM] T2 ON T0.[ItemCode] = T2.[ItemCode]
                        INNER JOIN [OITB] T3 ON T2.[ItmsGrpCod] = T3.[ItmsGrpCod]
                         INNER JOIN [OITW] T5 ON T0.[ItemCode] = T5.[ItemCode] AND T0.[WhsCode] = T5.[WhsCode]
      WHERE T0.[BaseType] = [%1] AND T0.[DocDate] BETWEEN [%1] AND [%2] AND T4.[ItemCode]=T0.[ItemCode] AND T4.[WhsCode]=T0.[WhsCode] AND T4.[BatchNum]=t0.[BatchNum] AND T3.[ItmsGrpNam] = [%3]
      GROUP BY T0.[ItemCode], T0.[ItemName], T0.[WhsCode], T0.[BatchNum],T5.[AvgPrice]
    AND T6.[ItmsGrpNam] = [%3]
    GROUP BY T4.[ItemCode], T4.[ItemName], T4.[WhsCode], T4.[BatchNum], T7.[AvgPrice]
    HAVING SUM(T4.[Quantity]) > 0
    ORDER BY 1, 2, 3, 5 DESC
    I think SAP Query Manager can support the sub-query, kindly advise how to solve or other alternative way to solve this issue.
    Thanks a lot.

    Dear  Thanga Raj K,
    From your solution i can get my expected result, only within your solution you miss out the @ in line 32 for ToDate variable.
    After i have added it, it working perfectly.
    Thanks once again.
    For other user References code(Corrected):-
    Declare @basetype as int
    Declare @FromDate as Datetime
    Declare @ToDate as Datetime
    Declare @ItemGroup as nvarchar(30)
    set @basetype = (select max(s0.BaseType) from IBT1 S0 where s0.BaseType = '[%0]')
    set @FromDate = (select min(S1.DocDate) from IBT1 S1 where S1.DocDate >= '[%1]')
    set @ToDate = (select max(S2.DocDate) from IBT1 S2 where S2.DocDate <= '[%2]')
    set @ItemGroup = (select max(S3.ItmsGrpNam) from OITB s3 where S3.ItmsGrpNam = '[%3]')
    --Sales BatchNum Transaction
    SELECT T0.ItemCode, T0.ItemName, T0.WhsCode, T0.BatchNum, ISNULL(T4.AvgPrice,0) AS 'Avg Price', SUM(T0.Quantity) AS 'Sales Quantity',
    (SELECT Quantity FROM OIBT T1 WHERE T1.ItemCode = T0.ItemCode AND T1.WhsCode = T0.WhsCode AND T1.BatchNum=T0.BatchNum) AS 'Stock OnHand'
    FROM IBT1 T0 INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode
    INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    INNER JOIN OITW T4 ON T0.ItemCode = T4.ItemCode AND T0.WhsCode = T4.WhsCode
    WHERE T0.BaseType = @basetype AND T0.DocDate BETWEEN @FromDate AND @ToDate AND T3.ItmsGrpNam = @ItemGroup
    GROUP BY T0.ItemCode, T0.ItemName, T0.WhsCode, T0.BatchNum, T4.AvgPrice
    --ORDER BY T0.ItemCode
    UNION ALL
    --No Sales Batch Transaction
    SELECT T4.ItemCode, T4.ItemName,T4.WhsCode, T4.BatchNum, ISNULL(T7.AvgPrice,0) AS 'Avg Price', 0 AS 'Sales Quantity' ,SUM(T4.Quantity)
    FROM OIBT T4 INNER JOIN OITM T5 ON T4.ItemCode = T5.ItemCode
    INNER JOIN OITB T6 ON T5.ItmsGrpCod = T6.ItmsGrpCod
    INNER JOIN OITW T7 ON T4.ItemCode = T7.ItemCode AND T4.WhsCode = T7.WhsCode
    WHERE NOT EXISTS
    (SELECT T0.ItemCode, T0.ItemName, T0.WhsCode, T0.BatchNum, ISNULL(T5.AvgPrice,0) AS 'Avg Price', SUM(T0.Quantity) AS 'Sales Quantity'
    FROM IBT1 T0 INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode
    INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    INNER JOIN OITW T5 ON T0.ItemCode = T5.ItemCode AND T0.WhsCode = T5.WhsCode
    WHERE T0.BaseType = @basetype AND T0.DocDate BETWEEN @FromDate AND @ToDate AND T4.ItemCode=T0.ItemCode AND T4.WhsCode=T0.WhsCode AND T4.BatchNum=t0.BatchNum AND T3.ItmsGrpNam = @ItemGroup
    GROUP BY T0.ItemCode, T0.ItemName, T0.WhsCode, T0.BatchNum,T5.AvgPrice
    AND T6.ItmsGrpNam = @ItemGroup
    GROUP BY T4.ItemCode, T4.ItemName, T4.WhsCode, T4.BatchNum, T7.AvgPrice
    HAVING SUM(T4.Quantity) > 0
    ORDER BY 1, 2, 3, 5 DESC

  • Error when passing data from app server...

    Hello Experts,
    I am encountering an error when trying to pass data from application server
    to my internal table. Below is the error:
    "You cannot convert the character set"
    Hope you can help me guys.Thank you and take care!

    Hi  ,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures. The code is base on uploading a simple txt file.
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.
    Reward  points if it is usefull ..
    Girish

  • Error when passing parameters in a link

    Hi:
    i have a report and a form. i've created a link that will point to the form from the report. So i've associated the link to a field of the report and edited it so that a key field in the form will be equal to a value passed from the report's key field. The fact is that passing static values works properly, but when passing parameters from a column it raises an error:
    Error: Unable to parse query (WWV-10200)
    ORA-06550: line 1, column 37:
    PLS-00201: identifier 'NO' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored (WWV-11230)
    Failed to parse as PORTAL - begin wwv_rptclip.g_row_object :=
    NO(wwv_rptclip.g_row_object) ; end; (WWV-08300)
    Does anybody know how to solve this problem? or why is the error raised?
    Thx.
    Regards. Urko.

    Also, is that a function NO you're trying to use? I'm not sure what that is, so it's possible when Portal tries to parse the sql string and execute it, it's not a recognizable function in the Oracle language or the appropriate grants on that function have not been made to the schema executing the report/form

  • Error when clicking item in UWL

    Hi all,
    When I click on the work item in UWL its opening blank window and I have found the following logs for the same. We are using 2004s SPS9 portal.
    Is there any solution for this?
    [code]
    Error looking up url: portal_content/every_user/general/uwl/com.sap.netweaver.bc.uwl.ui.uwlNewWindow
    [EXCEPTION]
    javax.naming.NameNotFoundException: Child not found: com.sap.netweaver.bc.uwl.ui.uwlNewWindow at portal_content/every_user/general/uwl [Root exception is javax.naming.NameNotFoundException: Child not found: com.sap.netweaver.bc.uwl.ui.uwlNewWindow at portal_content/every_user/general/uwl]
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:406)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1177)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1183)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1183)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1183)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1183)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1282)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1229)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:996)
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:68)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:989)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNodes(RoleNavigationConnector.java:273)
         at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNode(RoleNavigationConnector.java:147)
         at com.sapportals.portal.navigation.NavigationConnectorProxy.getNode(NavigationConnectorProxy.java:54)
         at com.sapportals.portal.navigation.NavigationService.getNavNode(NavigationService.java:1101)
         at com.sapportals.portal.navigation.NavigationService.getNode(NavigationService.java:362)
         at com.sapportals.portal.navigation.cache.CachedNavigationService.getNode(CachedNavigationService.java:156)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentNavNode(NavigationEventsHelperService.java:373)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentLaunchNavNode(NavigationEventsHelperService.java:428)
         at com.sapportals.portal.navigation.workAreaiView.doOnNodeReady(workAreaiView.java:299)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.navigation.workAreaiView.handleEvent(workAreaiView.java:436)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:174)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:387)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:230)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:572)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:741)
         at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: javax.naming.NameNotFoundException: Child not found: com.sap.netweaver.bc.uwl.ui.uwlNewWindow at portal_content/every_user/general/uwl
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChildAtomicName(XfsContext.java:441)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.lookupAtomicName(XfsContext.java:245)
         at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:913)
         at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:384)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:402)
         ... 58 more
    [/code]
    Any help is appreciated.
    Is this a bug or am I missing any iView property?
    Regards,
    Jaydeep
    Message was edited by:
            Jaydeep Kalmankar

    Hi Jaydeep,
    the UWL works the following way:
    1) In the UWL work items of different work item types are listed
    2) Once the user clicks on a work item the default action (defined on work item type level) is executed
    3) Usually, the default action launches a dialog (iView, Web Dynpro, SAP BSP, etc.)
    Your error message indicates a misconfiguration of your UWL:
    1) You click on a work item of a certain work item typ.
    2) The default action of that work item type is to launch an iView
    3) The specified iView "portal_content/every_user/general/uwl/com.sap.netweaver.bc.uwl.ui.uwlNewWindow" does not exist.
    4) The error message is logged.
    What portal version are you running on? Did you do any changes to the UWL configuration? Particularly, I point to the UWL XML configuration files. I guess you will find the problem there.
    Hope I could help!
    Best regards,
    Martin

  • JSON error when trying to redirect to another page in same application

    I'm trying to set up a PL/SQL dynamic action that is triggered by clicking on a button.  The dynamic action sets two values in a table and then I would like to redirect to another page.  Setting the values works fine.  The code is below:
    declare
    l_information varchar2(255) := :P94_FILENAME;
    BEGIN
    commit;
    UPDATE VDI_METADATA
    SET CREATEUSERLISTNAME = l_information,
        CREATEUSERLISTON = sysdate();
    commit;
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:81:&APP_SESSION.::NO:::');
    END;
    The redirect fails with the following eror:
    "Error: parseerror: JSON.parse: unexpected non-whitespace character after JSON data"
    I've tried several approaches, using the suggestions in this forum on how to redirect to a page from within PL/SQL .  None of them result in success.
    Can anyone tell me: What is the system complaining about?  And is there a work-around?
    Thank you.

    John,
    I would recommend adding another true action in your dynamic action that executes javascript.  the logic would just be redirect('f?p=&APP_ID.:81:&APP_SESSION.::NO:::');
    Then remove everything after the commit in your pl/sql action.
    David

  • Getting error when passing objects using IntelliJ  7.0

    Hi All,
    i have just started working in Web Services using Axis 2 in IntelliJ IDE. i am getting this error when i pass objects:
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.i have used rpc/literal, i tried with other combinations but not working.
    i have created two class called "address" and "user" and i want webservice client to pass "address" object to a "user" method.

    Hi,
    Try populating the ltab_extensionin as the code given below:
    Maybe it can help you.
    Constants: c_flag_bape_vbak TYPE  char10 VALUE  'BAPE_VBAK', " Constant
                     c_flag_bape_vbakx TYPE char10 VALUE  'BAPE_VBAKX'," Constant
      wa_bape_vbap-vbeln             = space.
       wa_bape_vbap-posnr            = wa_order_items_in-in_linenumber.
       MOVE c_flag_bape_vbak TO wa_extensionin-structure.
       MOVE c_flag_bape_vbap TO wa_extensionin-structure.
       CALL METHOD cl_abap_container_utilities=>fill_container_c
         EXPORTING
           im_value       = wa_bape_vbap
         IMPORTING
           ex_container = wa_extensionin-valuepart1.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
       MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
       wa_extensionin-valuepart1+0(10) = space.
       wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
       wa_extensionin-valuepart1+80(3) = abap_true.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
    Regards,
    Shweta

  • Dump error when I click on 'open dynamic template' in Etools(BPC EXCEL)

    Hi ,
    I'm having this strange issue:
    We are using BPC7.5 NW sp04
    when user click on the option 'open Dynamic template' or 'save Dynamic template' in Etools it throws the dump error and when he/she click on OK then it'll let them open/save the template.
    I tried different options like:
    1) I dont get the error when I logon from the users laptop (using my userid)
    2) User dont get the error when he\she logon from my laptop (with his/her users id)
    Please suggest twe have this issue with three users as of now.
    Thanks

    Hi Nilanjan,
    Thanks a lot for the response, yes I did tried that but still same issue.
    we are getting the error only with one Application.
    Please suggest. Thanks

  • Keep getting server error when i log into eprint

    hp deskjet 3050a all in one j611 series printer
    when i log into eprint site it keeps giving me a server error message
    it say hit f5 to refresh and if doesnt work email .. who???

    There appears to be some server side issues going on at this point in time as you are not the only one with the problem. I would suggest trying again in a few hours, or tomorrow, and see if they are resolved at that point.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • Fix error when integrated autonomy into the Webproject

    Hi all,
    I get a ton of error when I integrated Autonomy portlets into my WebProject. They appear in *.jspf file.
    Then I think maybe libraries are not be included into files. So I imported all library which are provided in the autonomyPIB.jar.
    Unfortunately a lot of error are remain. Most of them have the same error message is " XXX cannot be resolved"
    So anyone know why?, and how to resolve this problems.
    Thank you so much!

    I'm using WLP 10.3.2
    I can not post the details of the error.
    All of them are error about of variables which are not declared
    thanks

  • Error when calling a stored procedure from a SQL Script

    Apologies if this is a really dumb question but I can't seem to call a procedure in package from a SQL script. I have a simple package.procedure containing a loop to populate a table. I would like to include a call to this procedure from my database install script, that also includes my CREATE and INSERT statements. I run the script using "@install_databae" and the CREATE and INSERT statements run fine. The script gives an error when it reaches the line below:
    exec lazarus.PopulateGridPositions;
    and gives the error.....
    BEGIN lazarus.PopulateGridPositions; END;
    ERROR at line 1:
    ORA-04063: package body "LAZARUS.LAZARUS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "LAZARUS.LAZARUS"
    ORA-06512: at line 1
    The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.
    I've obviously missed some fundamental concept with scripts and SQL. Please can anybody help me?

    Histon FTM wrote:
    ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
    >
    The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
    And just checking:
    You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
    Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM

  • Sql Server Web Edition Reporting Services errors when trying to connect to Windows Azure SQL

    I am using a preconfigured image from the Azure VM Gallery to create a VM.
    --> Sql Server 2012 SP1 Web running under Windows Server 2008 R2
    After configuring Reporting Services I get the following error when trying to run a report that connects to my Azure SQL db.
    An error has occurred during report processing. (rsProcessingAborted)
    An attempt has been made to use a data extension 'SQLAZURE' that is either not registered for this report server or is not supported in this edition of Reporting Services. (rsDataExtensionNotFound)
    On the VM using SSMS I can connect to the Azure SQL db.  On the VM in Report Builder when I define a connection I get a similar error to the one above when I test that connection.  I am using Microsoft Azure SQL as the data source type. 
    Interestingly in Report Builder, if I proceed past the connection definition, I can see the tables from my Azure SQL db in the dataset definition page.
    One more note.  If I use a different image from the Gallery (Sql Server 2012 Standard SP1 on Windows Server 2012) my report builder connection works and the reports run fine.  I believe that the Azure documentation says that Sql Server Web edition
    is an acceptable choice for the SSRS on VM for reporting.
    Any thoughts or suggestions?
    Thanks -- Tom Reilly

    Hello,
    A VM with SQL Server 2008 R2 or 2012 supports all Reporting Services features, including all supported data sources, customization and extensibility, and scheduled report execution and delivery.
    Did you run the report in Report Manager,or preview the report in Report Builder? Which version of the Report Builder you installed in the Windows Azure VM? SQL Reporting does not support reports created from Report Builder 1.0 or 2.0. You can create reports
    using Report Builder 3.0 and then upload the reports.
    What's more, please also check the database source credential of the report.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Getting error message when passing data into table: Primary Key

    Getting an error in a process that is feeding the invoice creation in SAP, violation of PRIMARY KEY constraint 'INV1_Primary', cannot insert duplicate key in object 'INV1'. I assume this is due to duplicate key values being passed into the table INV1, however I get this error even when I am passing unique record combinations of the key fields docentry and linenum. This is on 2005A SP01.
    Thanks

    Hi Peter,
    Could you provide a code sample of the routine that is causing the error please?
    It sounds like a data corruption issue (though it could possibly be a bug in the DI API). I recommend you speak to SAP support. There is a utility that can validate the document numbering but you'll need to speak to SAP support before you run this as it can have other negative effects, depending on the state of your data. They may ask for a copy of your database to test.
    Kind Regards,
    Owen

Maybe you are looking for

  • Recover Deleted Boot Camp Partition

    Hello, A week ago I tried to delete Ubuntu from my Windows 8 Boot Camp partition on my MacBook. However, after the process I couldn't boot Mavericks anymore. When I finally got Mavericks to boot, my Windows partition became unbootable. After running

  • EXIF imports

    I recently purchased Aperture 2 and after downloading some images from iphoto, the metadata in aperture specifically "exposure" is 0. In iphoto exif data tells me which mode the image was shot in ie; aperture priority, shutter priority, etc. I have t

  • I need headphones for my Macbook.

    I have an old white Macbook ... 2008 I think ... for which I need some headphones. Can anyone tell me if Apple headphones are standard between all hardware? And if not what sort of headphones do I need for it please?

  • Does any app exist to track the history of iphone

    is there any app which can track the history of the apps opened or used in the iphone ?

  • Unable to find custom table in HANA Studio - Data Provisioning - SLT

    Hi All, We are working on a scenario where in we have created a custom table in ECC and when I tried to find the custom table for performing replication using SLT , however, I am not able to find the custom table in SAP HANA Studio. The custom table