JDBC BUG WITH SYNONYM TABLES AND DB-LINK

I have created a database link within my schema.
Then i have created a synonym for a table in the linked database.
When using metadata.getColumns() for the synonym table there
are no columns returned.
When using metadata.getTables() the synonym table is included in
the list.
Driver: Oracle 8.1.5 Thin
Is this a kown bug.
Any workarounds available.
null

Hi togehter,
soory for my delayed answer. I was ill.
I created my scenario but it doesn#t work.
This is my input:
<?xml version="1.0" encoding="utf-8" ?>
<ns:SAKRJOIN.resultSet xmlns:ns="urn:sap.com:jdbcAdapter">
<row>
<MANDT>100</MANDT>
<LIFNR>146128</LIFNR>
<BUKRS>41</BUKRS>
<row>
<MANDT>100</MANDT>
<LIFNR>146128</LIFNR>
<BUKRS>42</BUKRS>
</row>
<row>
<MANDT>100</MANDT>
<LIFNR>146129</LIFNR>
<BUKRS>42</BUKRS>
</row>
</ns:SAKRJOIN.resultSet>
This is my target:
IDOC Element CREMAS.CREMAS05 1..unbounded
BEGIN Attribut xsd:string required
EDI_DC40 Element EDI_DC40.CREMAS.CREMAS05 1
E1LFA1M Element CREMAS05.E1LFA1M 1
SEGMENT Attribut xsd:string required
MSGFN Element xsd:string 0..1 maxLength="3"
LIFNR Element xsd:string 0..1 maxLength="10"
ANRED Element xsd:string 0..1 maxLength="15"
If I mapped the field row to the target field IDOC I create three IDOCs, but I want only one IDOC per <LIFNR>. In this example I want to see two IDOCs. One for 146128 and one for 146129.
If I mapped <LIFNR> -> split by value (valuechanged) in field IDOC I get only one IDOC.
Whats wrong ?
I tried
lifnr>sort>splitbyvalue(valuechange)->collapse context->IDOC
Now I get three once again.
Kind regards
Wolfgang

Similar Messages

  • Problem with af:table and view links

    I want to display a table with data from a database table called PERSON, so I'm using af:table tag.
    The PERSON table has the next fields:
    PERSON_CODE
    PERSON_NAME
    PERSON_COD_STATE
    The field PERSON_STATE is a foreign key to other table called PERSON_STATE:
    PERSON_COD_STATE
    DESCRIPTION
    I've created a view to get data from PERSON table (personView). Because I want to show the person state description in the af:table , I've created another view to get data from PERSON_STATE table (personStateView). And I've also created a view link between personView and personStateView.
    In the column of the af:table that represents the person state I drop the field 'description' of the state view linked to the person view.
    When I run the JSP the state is not shown properly. All the persons are shown with the same state.
    When testing directly with the application module, the view link works properly.
    Does view links work inside a af:table?
    I'm working with ADF 10g.
    Thanks

    Thanks for your reply.
    The second alternative works, but I would be interested in the first one (using a view link).
    The foreign key is defined properly:
    PERSON.PERSON_CODE is a primary key.
    PERSON.PERSON_COD_STATE is a foreign key.
    PERSON_STATE.PERSON_COD_STATE is a primary key.
    I have created a view link based on that foreign key.
    When usign af:table to show the records of PERSON table, all the data of PersonView is properly shown. But the STATE of the person is not ok. It seems as the view link is not working.
    Why?
    Thanks

  • CS4 6.0 pdf export bug with long tables and graphics

    I discovered this bug in the CS4 trial, can anyone confirm that:
    1. start a new document having at least two pages
    2. insert one table spanning over both pages, having at least one headline
    3. insert some graphic into the headline
    4. right click the graphics element / anchored object / options
    5. set position to user defined
    6. check that the object is in the printable area of all pages
    7. export this into a pdf
    8. notice the graphics object is present on the first page ONLY while in the indd file it is correctly repeated on ALL pages!
    I think that is a true bug, is it?

    I believe that it is indeed a bug. I've seen it reported here before, if memory serves.
    Dave

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Asigning Reports, specific tables and Url links to the Role

    Hello Gurus,
    could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
    i hope u people will respond positively.
    Cheers.......
    srinivas.korva

    Hi Srinivas,
    "i want to add only one particular table not all tables", you can do this using a Custom Transaction Code, the following are the steps to do it:
    1) goto se93, give a unique name, say zxxx
    2)Enter SE16 into the transaction field and select the flag the ‘skip initial screen’ field:
    3)On the lower portion of the screen, enter the following information:
    Name of screen field: DATABROWSE-TABLENAME
    Value: Enter the name of the table you want to browse with
    4)save it.
    5) Now add the transaction zxxx in th role, and assign it to the user.
    With this, when user executes the transaction, he/she will be able to see only the perticular table you added.
    "in PFCG what is the use of Exper mode for profile generation. what is the difference between general profile generation and expert mode profile generation".
    Expert mode has 3 options:
    1) Delete and recreate profile and authorizations---This will completely delete the old profile and add only  the new once.
    2) Edit old status----It will edit the old values
    3) Read old status and merge with new data----This will add the new values aithout actually disturbing the old ones.
    Hope it helps.
    Please award points if it is useful.
    Thanks & Regards,
    Santosh

  • I have 1 itunes library with an iphone and ipod linked to it.  My daughter bought a ipod touch.  Can we download music from my library into her library.  We want to keep them separate due to I do not want all her games in my phone

    I have 1 itunes library with a phone and ipod linked to it.  My daughter just got a touch.  She would like to have some of my music downloaded into her touch.  How can I do that without having her linked to my library?

    Sync all the devices to the same computer.
    If you do not want her apps, then simply do not select them to sync to your device.
    Each device will only sync what you select to sync.
    lllass gave you a great link for several options.

  • Form report with both edit and column link

    hi experts,
    How can we create form report with both edit and column link. Ie, the form should have both the Edit link and column link. When we click on the edit link(in page1) it should go for the page2 and the page2 should display the corresponding row fields which should be editable. but when i click the column link it should bring me to the next page but the corresponding values of the column should not be editable.
    Regars,
    KK

    hi,
    Here i have achieved this by making the column link and page navigation.

  • HT201441 i bought my iphone second hand , i have no contact with the owner and its linked to his icloud, please help

    i bought my iphone second hand , i have no contact with the owner and its linked to his icloud, please help

    Welcome to the Apple community.
    If you can't contact the owner, you may be able to sell it as 'not working, for spare parts only'.

  • JOINING local table and DB Link table performance

    Hellou everybody,
    can somebody tell me how it is work in Oracle DB when you want to join some local table and DB Link table for example:
    Select a.col1, b.col2
    from local_table a , remote_table@dblink b
    where a.key = b.key;
    and when I use DRIVING_SITE hint and the all data from remote table is transforming (pushing) into my DB (in some temporar space), it will transform although Indexes from remote table?
    So when I use some JOINS, this joins will be fast enought? Will they using remote table indexes to query the data or not?
    Thank you for response.
    Zoffob

    user10708026 wrote:
    Is it as simple as:No. Use:
    UPDATE  habitationalsupplement live_hab
       SET  primaryheatingapparatuscode = (
                                           SELECT  hab_backup.primaryheatingapparatuscode
                                             FROM  habitationalsupplement@backupdb hab_backup
                                             WHERE hab_backup.itemobjectid = live_hab.itemobjectid
                                               AND hab_backup.itemversionnumber = live_hab.itemversionnumber
      WHERE (itemobjectid,itemversionnumber) IN (
                                                 SELECT  hab_backup.itemobjectid,
                                                         hab_backup.itemversionnumber
                                                   FROM  habitationalsupplement@backupdb hab_backup
    /SY.

  • I am formatting an ebook and want to convert the doc. to an ePub with the Table of Contents links intact. Is there a way?

    I have formatted an ebook in word and created a doc. I now need to also convert it into an ePub. I have downloaded the latest version of pages and am having difficulties trying to make the Table of Contents links work. The tabs in all the youtube videos out there are not showing up in this version. Please help!!!!

    You might have more luck here.
    Pages for Mac
    What version of pages do you have?

  • Help with UPDATE table and database RELATIONSHIPS

    HI there, I have been trying to create an update table for
    weeks now and keep getting error messages.
    The database has a table named:
    "books" in the table cells are "idbook" and "book".
    "suppliers" in the table cells are "idsupplier" and
    "supplierName".
    "category" in the table cells are "idcategory" and
    categoryName"
    They all have a relationships with this table:
    "results" in the cells are "idbook", "idsupplier" and
    "idcategory".
    This "results" table brings all of the above tables together.
    When I try to do an update, i am doing one to the results
    table. Is this correct?
    The updates have problems because when drawing the text to
    the update table to view it comes in text form.
    When trying to update, it wont becuase all of the cells in
    the results table are numeric. This is because of the
    relationships.
    Can anyone suggest where i may be going wrong.
    Ask anything you need to.
    TA

    MM_editCmd.CommandText = MM_editQuery
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    If (MM_editRedirectUrl <> "") Then
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If
    End If
    %>
    <%
    Dim Recordset1__MMColParam
    Recordset1__MMColParam = "1"
    If (Session("MM_UserName") <> "") Then
    Recordset1__MMColParam = Session("MM_UserName")
    End If
    %>
    <%
    Dim Recordset1
    Dim Recordset1_numRows
    Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    Recordset1.ActiveConnection = MM_connSeek_STRING
    Recordset1.Source = "SELECT * FROM Query1 WHERE UserName = '"
    + Replace(Recordset1__MMColParam, "'", "''") + "'"
    Recordset1.CursorType = 0
    Recordset1.CursorLocation = 2
    Recordset1.LockType = 1
    Recordset1.Open()
    Recordset1_numRows = 0
    %>
    <%
    Dim rsUpdate
    Dim rsUpdate_numRows
    Set rsUpdate = Server.CreateObject("ADODB.Recordset")
    rsUpdate.ActiveConnection = MM_connSeek_STRING
    rsUpdate.Source = "SELECT * FROM tblSpecies"
    rsUpdate.CursorType = 0
    rsUpdate.CursorLocation = 2
    rsUpdate.LockType = 1
    rsUpdate.Open()
    rsUpdate_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = -1
    Repeat1__index = 0
    Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
    %>
    <html>
    <head>
    <link href="css%20files/paragraph.css" rel="stylesheet"
    type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a
    .indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    //-->
    </script>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"
    marginwidth="0" marginheight="0"
    onLoad="MM_preloadImages('images/Publicationb.gif','images/Factsheetsb.gif')">
    <table width="100%" height="100%" border="1"
    cellpadding="0" cellspacing="0" bordercolor="#5D5D5D">
    <tr>
    <td colspan="2">
    <div align="right"></div>
    <div align="left"></div>
    </td>
    </tr>
    <tr>
    <td colspan="2"><table width="100%" height="100%"
    border="0" cellpadding="0" cellspacing="0"
    bordercolor="#5D5D5D">
    <tr>
    <td valign="top"><form
    ACTION="<%=MM_editAction%>" METHOD="POST" name="form1">
    <table width="90%" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top"><div
    align="center"></div> <table border="1" align="center"
    cellpadding="2" cellspacing="0" bordercolor="#FFFFFF">
    <tr bgcolor="ECECD7">
    <td colspan="2"><div align="center">
    <p><strong><font size="3">Update Key Word
    &amp; Category</font></strong></p>
    </div>
    </td>
    </tr>
    <tr>
    <td><div align="center">
    <p><font size="1">Enter Up to 10 Species /
    Product
    Name</font></p>
    </div>
    </td>
    <td><div align="center">
    <p><font size="1">Select a
    Category</font></p>
    </div>
    </td>
    </tr>
    <tr>
    <td colspan="2" bordercolor="#D0D09D">
    <%
    While ((Repeat1__numRows <> 0) AND (NOT
    Recordset1.EOF))
    %>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td width="50%"><div align="center">
    <input name="f1" type="text" id="f13"
    value="<%=(Recordset1.Fields.Item("TimberSpecies").Value)%>"
    size="33">
    </div></td>
    <td width="45%"><div
    align="center"></div></td></tr></table>
    <%
    Repeat1__index=Repeat1__index+1
    Repeat1__numRows=Repeat1__numRows-1
    Recordset1.MoveNext()
    Wend %>
    <div align="center"> </div> <div
    align="center">
    </div></td></tr><tr>td
    colspan="2"> </td></tr><tr><td
    colspan="2"><div align="right"><p><font
    size="1">To Finalise Your Changes Please Press the Update
    Button      
    <input name="update2" type="submit" id="update"
    value="Update">
    <input type="hidden" name="MM_update" value="form1">
    <input type="hidden" name="MM_recordId" value="<%=
    rsUpdate.Fields.Item("TimberSpecies").Value %>">

  • Has anyone seen this BUG with Time Warp and Dissolve?

    I'm doing some real basic slow-mo clips, transitioning with various dissolve wipes. I've come across a problem that is extreemly frustrating! I'm wondering if anyone has insight on a fix or if Adobe does service packs or fixes that I might be able to install.
    If you put two clips adjacent to each other on a timeline, apply time warp, set percentage to say 30% of realtime, then apply a dissolve between the clips, clip B, the outclip will play in reverse for a period equal to about 1/3 of the duration of the clip.
    This is true scrubbing through the timeline and even rendering.
    VERY ANNOYING!
    I'm going to call support tomorrow, but that's not going to help me get my project finished any sooner since this is a critical element in this composition. I've tried the time remapping method, but the frame-blend is no match for the pixel motion of time warp.

    Steve,
    I think your post #11 was being sarcastic, but you left a little wiggle room for it not to be. With the sarcastic interpretation, I must add my thoughts:
    Here is the link to the Adobe bug report form
    . It is important that users who discover bugs with reproducible steps file them - otherwise they don't stand a chance of ever getting fixed. Steven Gotz's advice was sound in this regard.
    As to the discussion of workarounds - since this is a User-to-User forum, the best that we as a community can do is help each other out with workarounds, since none of us here have the power to actually fix anything.
    The important thing to glean from SG's post is the definite need to file a bug report.

  • CLOSED- Recursive Tree with Recursive Table and seperate Relationship table

    Hi All,
    I am trying to achieve a adf recursive tree with recursive table but relationships are stored in separate table like
    Table A:
    id name
    1 Val1
    2 Val2
    3 Val3
    4 Val4
    5 Val5
    Table B:
    fromid rel_type toid
    1 Parent-of 2
    2 Parent-of 3
    3 Parent-of 4
    1 Parent-of 5
    I did lots of reading from forum and various posts but couldn't make it work.
    Any suggestion what would be best approach and/or sample code for this ?
    Thanks

    I think that you can get this done by defining a VO that fetches all the top level nodes and have a view link to a VO that has all the details with a self recursive viewlink
    Query for the top level
    Select A.id, A.name
    from A
    Where A.id not in (select disctinct toid from B)
    Query for the detail level
    Select A.id, A.name, B.from, B.to
    from A,b
    where a.id = b.toid;
    ViewLink is going to be:
    detail.from=master.id
    and another viewlink for the recursive relationship
    detail.from=detail.to

  • Send Workflow email to User SAP Inbox with a Popup and cproject link

    Hi,
    I am working SAP portfolio and project management workflow.
    Requirement: Trigger workflow when Portfolio Execution Decision Point status changes,
    We have to send two email notifications as part of the requirement;
    First notification should go to user’s (Only one user) SAP Inbox, Containing two links
    Popup link (It will contain list of question which the user has to confirm) if he
    confirms we have to send second  email notification. (Pop-up layout is attached)
    Link for the user to navigate to SAP PPM cProject to upload the documents. (NWBC)
    The second notification should go to Outlook of the users (via group email) with Link for the user to navigate to SAP PPM cProject.
    We can trigger the workflow using event DECISION_POINT_STATUS_CHG in Class CL_RPM_DECISION. My question is how should design the pop-up and incorporate the Pop-up and cproject link in first notification email sent to user SAP Inbox.
    Please let me know if you need more details.
    Thanks & Regards,
    Amit Singh

    We use transaction NWBC to login to netweaver business client. Then from there we navigate to Project management view and double click to select the project. It opens project element --> Collaborations tab. There we select the folder link. (screenshot attached)
    Regarding addition of multiline container element (Table) let's say 'A'; I create multiline container element A in Workflow element list, Populated  element A using a utility class/method assigned to a background task.
    Then, I created a user decision task, inside the task container another multiline container element 'B' with same type and I did binding b/w workflow container element 'A' and task container element 'B'.
    Now, I am passing &B& in the decision task description. If I execute the workflow, The user decision task description is blank.
    Secondly, I did not get any pop-up asking how to display it (all lines with line break).
    PS: My internal table also has only one field.
    Am I doing something wrong here?

  • DBMS_SQL.BIND_VARIABLE with nested table and ORA-600

    Hello, I'm experimenting a little with pl/sql and I was trying to do some dynamic SQL using DBMS_SQL, but I'm having a problem when binding a variable that is a neste table(got no problems in the same example if I bind with a varchar2 variable).
    Here is a reduction of the problem:
    DECLARE
         TYPE CENA_TYPE IS TABLE OF VARCHAR2(30);
         CENA CENA_TYPE;
         L_UPDATE_STMT VARCHAR2(2000);
         UPDATE_CURSOR INTEGER:=DBMS_SQL.OPEN_CURSOR;
         RES INTEGER;
    BEGIN
         CENA:=CENA_TYPE('HELLO');
         L_UPDATE_STMT:= 'BEGIN '
                             ||'DBMS_OUTPUT.PUT_LINE(:CENA(1));'
                             ||'END;';
         DBMS_SQL.PARSE(UPDATE_CURSOR, L_UPDATE_STMT ,DBMS_SQL.NATIVE);
         DBMS_SQL.BIND_VARIABLE(UPDATE_CURSOR,':CENA',CENA);
         RES:=DBMS_SQL.EXECUTE(UPDATE_CURSOR);
         DBMS_SQL.CLOSE_CURSOR(UPDATE_CURSOR);
    END;
    /What am I doing wrong??
    Thanks

    Pedro_gloria wrote:
    What am I doing wrong??DBMS_SQL executes in own context. Therefore, even though type CENA_TYPE is declared in calling anonymous block it is not known to anonymous block you execute in DBMS_SQL. Also, you must initialize and extend collection. Use:
    SQL> set serveroutput on
    SQL> DECLARE
      2   L_UPDATE_STMT VARCHAR2(2000);
      3   UPDATE_CURSOR INTEGER:=DBMS_SQL.OPEN_CURSOR;
      4   RES INTEGER;
      5  BEGIN
      6   L_UPDATE_STMT:= 'DECLARE
      7   TYPE CENA_TYPE IS TABLE OF VARCHAR2(30);
      8   CENA CENA_TYPE := CENA_TYPE();
      9          BEGIN '
    10       ||'CENA.extend;'
    11       ||'CENA(1) := :1;'
    12       ||'DBMS_OUTPUT.PUT_LINE(CENA(1));'
    13       ||'END;';
    14   DBMS_SQL.PARSE(UPDATE_CURSOR, L_UPDATE_STMT ,DBMS_SQL.NATIVE);
    15   DBMS_SQL.BIND_VARIABLE(UPDATE_CURSOR,':1','Hello');
    16   RES:=DBMS_SQL.EXECUTE(UPDATE_CURSOR);
    17   DBMS_SQL.CLOSE_CURSOR(UPDATE_CURSOR);
    18  END;
    19  /
    Hello
    PL/SQL procedure successfully completed.
    SQL> SY.

Maybe you are looking for

  • [SOLVED] zsh config (.zshrc) no longer working for root.

    Hi, I must've done something stupid a while ago, cause whenever I sudo -s to get some root privilages it seems .zshrc is not read. Prompt is default and aliases don't work. Here's my .zshrc, just in case.  I'm quite sure it's okay. # OPTIONS FOR ZSH

  • A strange Java related error occured when I tried to install a software

    When I tried to install Maple 12 on my PC, I got a Java-related error as follow: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.UIManager      at javax.swing.JPanel.updateUI(Unknown Source)      at javax.swing.JPanel.<init>(Un

  • Serious Leopard problems

    Since installing Leopard, I have at least 5 applications that will randomly quit (Safari, Firefox, Excel, Final Draft, iTunes) and weird other problems like freezing on quickbooks. Should I go back to Tiger? How would I even do that? Does anyone else

  • Expose soap service as rest in OSB

    Hi I need to expose a soap service (SOA Composite) in OSB as RESTful service; own customers send the documents in POST way. I am new in OSB. Thank you for your help. Andrés

  • How to uninstall antivirus program on Mac Air please

    Hi I have Mac Air OS X 10.9.4 and wanted to download McAfee antivirus program which requires removing my now defunct Sophos Antivirus.  I have removed all Sophos files (per my computer) into the trash but still am told McAfee cannot download because