Error while creating VO dynamically and assigning it to Table Region

Hi,
I am getting the below exception while running my OAF page
oracle.apps.fnd.framework.OAException: Programming error. Row (oracle.jbo.server.ViewRowImpl@1e) must be of type oracle.apps.fnd.framework.OARow.
I've created a dynamic VO using createViewObjectFromQueryStmt(), and used setViewUsage() on messageStyledTextBean of my table.
Couldn't find anything related to the error on forum.
Any sort of help is appreciated.

Check in Corresponding VORowImpl ---
change the Import Statement -- from -
import oracle.jbo.server.ViewRowImpl; // 11i
to
import oracle.apps.fnd.framework.server.OAViewRowImpl; // R12
Hope This will help Out..

Similar Messages

  • Getting error while executing a procedure and assign the output in BPEL

    Hi
    I am getting the Following error while deploying BPEL in 10.1.3.1. I have invoked Database Adapter and called a procedure and that procedure returns a output. I have assigned that output to a variable.
    empty variable/expression result.
    xpath variable/expression expression "/ns2:OutputParameters/ns2:GREETING" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns2:OutputParameters/ns2:GREETING" is not empty.
    Please reply me with Solutions

    Hi,
    Are you getting this error while deploying or testing ?
    Normally this will happen due to namespace mismatch issue. But if you have auto-created the variables then JDev will take care of it so it should not be a problem
    Also, please check if this also happens if the code is deployed to 10.1.3.3 ?
    Regards,
    ketan

  • Javascript error while creating rows dynamically (IE)

    hi all,
    as per the requirement i am creating rows dynamically by createElement() method ...
    when i load the page method where i am creating the rows is called on onLoad ... bring the data required .. some method code like this ...
    function createRows()
    var myTable = document.getElementById("itemTable");
              var tBody = myTable.getElementsByTagName('tbody')[0];
              alert(tBody);
              var td;
              var classVar;
              var browser = navigator.appName;
              if(browser=="Microsoft Internet Explorer")
                   classVar = "className";
              }else{
                   classVar = "class";
              <%
              Set keyset = checklistItems.keySet();
              Iterator keySetIterator = keyset.iterator();
              while(keySetIterator.hasNext())
                   String checklistType = (String)keySetIterator.next();
                   %>
                   if ((type == "Show_All") || (type == '<%=checklistType%>'))
                                  var newTypeTR = document.createElement('tr');
                                  var newTypeTD = document.createElement('td');
                                  newTypeTD.setAttribute("width","100%");
                                  newTypeTD.setAttribute(classVar,"font_black_s_bold");
                                  if(browser=="Microsoft Internet Explorer")
                                       newTypeTD.innerText = '<%= checklistType %>';
                                  else
                                       newTypeTD.innerHTML = '<%= checklistType %>';
                                  newTypeTR.appendChild (newTypeTD);
                                  newTypeTR.setAttribute(classVar,"td5");
                                  tBody.appendChild (newTypeTR);
    table is defined in jsp like
    <table width="727" cellSpacing="0">
                   <tr>
                        <td>
                             <div id="checklist_item_div">
                                  <table border="0" id='itemTable' width="100%" cellPadding="4" cellSpacing="0">     
                                  <tbody>
                                       <tr>
                                       </tr>     
                                  </tbody>
                                  </table>
                             </div>
                        </td>
                   </tr>
    </table>
    Now i have a combo box on my page , where onchange i am bringing new data using ajax to fill ....
    and now i want to flush all the rows i created earlier ...and again call the same method as above to create the rors and cols dynamically ...
    so after ajax call my script code to flush all rows and cols like
    var browser=navigator.appName;
                        if(browser=="Microsoft Internet Explorer")
                             itmTable.innerText = "<tbody></tbody>";
                        else
                             itmTable.innerHTML = "<tbody> </tbody>";
    but when i call the createRows function after this , i got the error on the line
    tBody.appendChild (newTypeTR);
    as tBody now getting as undefined .... this problem is with IE (working on IE 7.0)
    works very fine on firefox and safari browsers ...
    please helm me out ...
    Edited by: prashant-kadam on Jun 12, 2008 5:22 AM

    what does this have to do with Java?
    hint: Java != Javascript

  • Error while creating a dynamic internal table refers to custom field

    Hi all,
    I am getting the exception TYPE_NOT_FOUND when I try to create a dynamic internal table using:-
    DATA: gr_desc TYPE REF TO cl_abap_typedescr.
    gr_desc = cl_abap_typedescr=>describe_by_name( p_field ).
    The field p_field is a Z-field inside a DB table, (e.g. a user added field in MARA). The statement fails at that point and gives a runtime exception. Any suggestions to how I may solve this problem? Or any alternatives for the same? I guess we face this issue for all custom fields..has SAP released a note for this??
    Thanks..

    that's just the wrong method, you should use DESCRIBE_BY_DATA
    gr_desc = cl_abap_typedescr=>describe_by_data( p_field ).
    Note: DESCRIBE_BY_NAME is to be used for referencing a DDIC type by its name. Example:
    gr_desc = cl_abap_typedescr=>describe_by_name( 'MARA-ZZFIELD' ).

  • Error while creating PR with account assignment K

    Hello All,
    We have a issue  for one user , he is trying to created PR in ME51N in production system  but cannot and he gets the error message " Field selection PT8B not defined'. Infact the the field selection PT8B itself  is not there in the configuration. But in quality system the user  is able to create PR without any issue.
    Also  his colleague can able to create the PR in production in ME51N without any issues.  Even i am able to create the PR in ME51N in quality system without any problem , i came across the exact issue in the below thread , since the issue is only for that specific user , i am not able to find the cause.
    EROR while saving PR
    Pls provide your inputs/suggestions
    Thanks
    Benny

    Hi Benny,
    There's possibility to assign different screen layouts to different users 8and of course the screen layout for the same users in different systems can be different). It is included in "functional auth. for byers" and can be found in IMG under Purchasing -> Auth. mgmt. Each code here has among other fields a field called "field selection", which presumably contains PT8B for one of the func. auth. codes. This func. auth. code is in turn linked to the user master record by means of the parameter EFB ("own data" or trs SU3 or trs SU01).
    Therefore it is very much possible that the different users are allocated to the different func. auth. codes and the same user in the quality system is allocated to the different func. auth. code than in prod.
    BR
    Raf

  • Error while creating a view and creating navigation link

    Hi,
    i created one view with one button and on click of button it has to navigate to DeleteOperationview.This is the exception i am getting while running.
    can u plz tell me where the problem might beee...
    com.sap.tc.webdynpro.services.exceptions.CreationFailedException: Cannot create view element implementation com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Caption
    *     at com.sap.tc.webdynpro.progmodel.view.ViewElementFactory.createElement(ViewElementFactory.java:161)*
    *     at com.sap.tc.webdynpro.progmodel.view.View.createElement(View.java:177)*
    *     at com.utc.pwc.tasklistm.wdp.InternalDeleteOperation.wdCreateUITreeForGroup(InternalDeleteOperation.java:282)*
    *     at com.utc.pwc.tasklistm.wdp.InternalDeleteOperation.wdCreateUITree(InternalDeleteOperation.java:259)*
    *     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.createUITree(DelegatingView.java:74)*
    *     at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:443)*
    *     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)*
    *     at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)*
    *     at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555*
    Regards
    Padma N

    Hi Padma,
    In Outline check the <b>id </b> property of the <b> Caption-Header </b> view elements from the properties window it seems some of the ids are duplicate it should be unique.
    Other wise delete the container elements and design the view layout once again.
    Re: dynpro table -dynamically change table header name
    Regards,
    Mithu

  • Error while creating a workspace and workspace user

    Hi Everyone
    I have installed oracle 11.1.0.7 on our server and the os is windows server 2008. I tried creating a new workspace and workspace user using the repository assistant on the server itself i mean i am using OWB which comes along with the 11g database. It is installing 60% and at the end it gives me this error:
    The warehouse builder workspace installation failed Java.Sql.SQLexception ora -00942 table or view does not exist
    How can i deal with this error? any suggestions ?
    Thanks & Regards
    Subhasree

    Hi everyone,
    I got the same problem. It is very urgent to get an answer.
    Thanks
    Siegwin

  • Error while Creating a request to assign PD profile

    Hello Experts,
    I am trying to create a Change request to assign only the PD profile to the user .
    However when i submit the request i get an error message "Select at least one role".
    I am not sure is it mandatory to select any role even when you just wish to assign the PD profile.
    For Auto Provisioning by system  i have provisioning type as Combined provisioning type as position.
    I am currently on GRC 5.3 SP16.
    Regards,
    Pranab Singh

    now its working fine. iam getting that error due to odbc connection.now i checked callinterface then it will working fine.
    thnks for your reply

  • ESS: Error while creating Family/Dependents record from portal

    Hi All,
    I'm getting a critical error while creating family members and dependents record from portal.
    CRITICAL ERROR
    "Type conflict in the ASSIGN statement in the program CL_HRPA_CONVERT_0021_US=======CP        ., error key: RFC_ERROR_SYSTEM_FAILURE"
    I checked the short dump in R/3 Side and searched for OSS note and didnt find any. I raised an OSS message.
    If any had've already comeacross this, pls let me know.
    System Details
    EP 6.0 SP15
    ESS Business Package BPERP4ESS0_0
    ESS Support Package  ESS10P_2-10002965, PCUIGP010P_1-20000568
    Thanks
    Karthik

    Hello Karthik:
    I'm getting the same error:
    "critical error while creating family members and dependents record from portal.
    Type conflict in the ASSIGN statement in the program CL_HRPA_CONVERT_0021_US=======CP ., error key: RFC_ERROR_SYSTEM_FAILURE"
    Maybe you can help me solving this problem.
    I appreciate your help.
    Thanks in advance.

  • Error while creating/changing/desplay cost element

    Gents
    Need urgent help. I am getting a below error while creating/changing/Displaying the cost element.
    Table CI_CSKB is not an active table
    Message no. AD 228
    Kindly help me to get the resolve this issue.
    Thanks and Regards
    Vinay Thakre

    hi
    In Cost Elements (Data is Dependent on Controlling Area), please go to extras and check your controlling area while creating the cost element, and make sure if u r creating Primary CE, it has been created as a G/L account and also make sure you use correct CE Category.
    Thanks
    plz award points if helpful.

  • Error while creating SO w/r to quotation

    Hi All,
    When I create a sales order with reference quotation the following error occurred. In selection list also Quotation number was not displayed.
    Copying is not possible because an entry is missing in Table TVCPL: LO TA TAN
    Waiting for ur replies
    Regards,
    Ganesh
    Edited by: KAGaneshbabu on Jul 15, 2011 7:28 AM

    Dear Ganesh Babu,
    Eventhough you have mentioned that you are copying from quotation to sales order,the error message you have given suggests thats you are facing the error while creating the delivery as  TVCPL is the table for copying from sales order to delivery.
    Hence kindly check in VTLA giving your document types (sales order and delivery) and check whether your item category TAN is included.
    If not , check OR-LF copying control and you will find TAN.
    Create a new entry for item category, enter TAN and maintain the same settings as you see in OR-LF copying control.
    Check and revert back.
    Thanks &  Regards,
    Hegal K Charles

  • Error while creating CDC subscription

    Hi,
    I am using asynchronous Hot log CDC in my 10g RAC 2 node database.
    I am getting Java error while creating CDC subscription.
    Change sets, change tables have been created in Publisher user and SELECT privileges have been granted to the subscriber user.
    SQL> Begin
    Dbms_Cdc_Subscribe.Create_Subscription (
    Change_set_name => 'CS_SCOTT',
    Description => 'Change data for EMP Table',
    Subscription_name => 'EMP');
    End;
    2 3 4 5 6 7 Begin
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.StringIndexOutOfBoundsException: String index out
    of range: 4
    ORA-06512: at "SYS.DBMS_CDC_SUBSCRIBE", line 12
    ORA-06512: at line 2
    HAs any body come across such errors?
    Any useful links and help wud be highly appreciated.
    Thanks,
    Nijesh

    Have you looked the exception up at metalink?
    I've never seen it before and ORA-29532 is not, from what I've seen, an expected DBMS_CDC_SUBSCRIBE error.
    I suspect you are going to end up at metalink one way or the other.

  • Error while creating infospokes

    Hi all,
    i'm getting an error while creating the infospoke.
    and the error that is coming up is  as follows:
    Run time errors: OBJECTS_OBJREF_NOT_ASSIGNED
    Except. :             CX_SY_REF_IS_INITIAL
    short text:
               access via 'null' objetc reference not possible.
    could any one plz help me in solving this?

    go through this link
    Dump with error OBJECTS_OBJREF_NOT_ASSIGNED
    Access via 'NULL' object reference not possible, error key : RFC_ERROR_SYST

  • Error while creating dynamic internal table.

    Hello Expert,
    While creating a dynamic internal table, it throw an run time error as :
    " LOAD PROGRAM NOT FOUND
      CX_SY_PROGRAM_NOT_FOUND"
    i tried to debug the program, it found this error comes while calling
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    please anyone help me out to resolve this problem.
    what could be the reason of error? and how to avoid it?
    <REMOVED BY MODERATOR>
    thanks in advance.
    ~ shweta.
    Edited by: Alvaro Tejada Galindo on Feb 28, 2008 2:41 PM

    Hi,
    Go through this program.
    Report z_dynamic.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
    <dyn_wa>,
    <dyn_field>.
    data: dy_table type ref to data,
    dy_line type ref to data,
    xfc type lvc_s_fcat,
    ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
    perform get_structure.
    perform create_dynamic_itab.
    perform get_data.
    perform write_out.
    form create_dynamic_itab.
    Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
    exporting
    it_fieldcatalog = ifc
    importing
    ep_table = dy_table.
    assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
    create data dy_line like line of <dyn_table>.
    assign dy_line->* to <dyn_wa>.
    endform.
    Regards,

  • Fiori Error while creating catalog and Group in Fiori Launchpad

    Hi ,
    We are getting following error while creating Catalog and Groups in Fiori Launchapd:
    Error (500, Internal Server Error) in OData response for GET "/sap/opu/odata/UI2/TRANSPORT/CustomizingRequests?$filter=isDefaultRequest%20eq%20true": HTTP request failed
    Details: Model 'ZTRANSPORT_MODEL_0001_BE' contains errors. Contact Adminstrator
    Regards,
    Trilochan
    Message was edited by: Michael Appleby

    Hi Trilochan,
    Have you assigned transport request? Select the config icon at right top.
    Creating Transport Requests for User Changes - User Interface Add-On for SAP NetWeaver - SAP Library
    Also look at SAP Fiori - UI Add-on SP09 update troubleshooting
    Regards, Masa
    SAP Customer Experience Group - CEG

Maybe you are looking for