InsertXML -distinct object types only? bug?

Hi, I downloaded the XML SQL Utility v1.1.0 and I am trying to
use insertXML to insert into Oracle 8.1.5 database. The insert
raised an exception when I inserted into a view with 2 vyearkey_t
types. But if I created one more type called vyearkey2_t and use
vyearkey_t and vyearkey2_t instead in the view, the insert
succeeded.
My question is, why can't I use vyearkey_t twice? Does it mean I
cannot reuse the object types in the view?
Also, is there a site where I can find the list of bugs that
have been discovered or fixed?
Below are the view and the types.
Thanks in advance for your help!
-- AL.
create type vyearkey_t as object(
vyear varchar2(4),
vkey number
create type vyearkey2_t as object(
vyear varchar2(4),
vkey number
create or replace view myview_ov as
select vyearkey_t( t.year, t.key) VDK1,
vyearkey2_t( t2.year, t2.key) VDK2
from vdate_tab t, vdate_tab2 t2
where t.key = t2.key
CREATE OR REPLACE TRIGGER myview_trig
INSTEAD OF INSERT on myview_ov
DECLARE
BEGIN
insert into vdate_tab(year, key) values
(:new.VDK1.VYEAR, :new.VDK1.VKEY);
END;
null

Hi AL,
Yes, this is indeed a bug that was introduced in the 1.1
version due to caching of metadata internally. We will fix this
and release a patch soon,
Thx
Oracle XML team
AL (guest) wrote:
: Hi, I downloaded the XML SQL Utility v1.1.0 and I am trying
to
: use insertXML to insert into Oracle 8.1.5 database. The insert
: raised an exception when I inserted into a view with 2
vyearkey_t
: types. But if I created one more type called vyearkey2_t and
use
: vyearkey_t and vyearkey2_t instead in the view, the insert
: succeeded.
: My question is, why can't I use vyearkey_t twice? Does it mean
I
: cannot reuse the object types in the view?
: Also, is there a site where I can find the list of bugs that
: have been discovered or fixed?
: Below are the view and the types.
: Thanks in advance for your help!
: -- AL.
: create type vyearkey_t as object(
: vyear varchar2(4),
: vkey number
: create type vyearkey2_t as object(
: vyear varchar2(4),
: vkey number
: create or replace view myview_ov as
: select vyearkey_t( t.year, t.key) VDK1,
: vyearkey2_t( t2.year, t2.key) VDK2
: from vdate_tab t, vdate_tab2 t2
: where t.key = t2.key
: CREATE OR REPLACE TRIGGER myview_trig
: INSTEAD OF INSERT on myview_ov
: DECLARE
: BEGIN
: insert into vdate_tab(year, key) values
: (:new.VDK1.VYEAR, :new.VDK1.VKEY);
: END;
Oracle Technology Network
http://technet.oracle.com
null

Similar Messages

  • BOBJ 4.1 Auditing - Dashboard object type

    Hi BOBJ Gurus,
    we have switched on auditing in BOBJ 4.1 SP1.
    We have noticed for Dashboard object types, It appears the first audit event is being recorded but not subsequent views in the same day for that particular user. This is specific to dashboard object types only. Rest of the object types seems to be working fine.
    Any thoughts?
    Cheers
    Sashi

    Hi Sashi,
    Is the user refreshing the same dashboard multiple times in a day without a re-login to the Web application i.e. BI Launchpad?
    Or the user login multiple times to BI Launchpad and refreshes the Dashboard?
    please clarify
    Regards,
    Tanveer

  • Warning: assignment from distinct Objective-C type

    Hi,
    I'm getting the waring in the title of my post, and I can't figure out why. If I change the name of one variable everywhere in my code, then the warning goes away. Here is the code that produces the warning (warning marked in code with comment):
    #import "RandomController.h"
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @implementation RandomController
    - (IBAction)seed:(id)sender
    seeder = [[RandomSeeder alloc] myInit];
    [seeder seed];
    NSLog(@"seeded random number generator");
    [textField setStringValue:@"seeded"];
    [seeder release];
    - (IBAction)generate:(id)sender
    generator = [[MyRandomGenerator alloc] myInit]; //<**WARNING**
    int randNum = [generator generate];
    NSLog(@"generated random number: %d", randNum);
    [textField setIntValue:randNum];
    [generator release];
    So both the RandomSeed class and the MyRandomGenerator class have a method named myInit. If I change the line with the warning to:
    generator = [[MyRandomGenerator alloc] aInit];
    and also change the name of the method to aInit in the MyRandomGenerator.h/.m files, then the warning goes away. xcode seems to be telling me that two classes can't have a method with the same name--which can't be correct.
    //RandomSeeder.h
    #import <Cocoa/Cocoa.h>
    @interface RandomSeeder: NSObject {
    - (RandomSeeder*)myInit;
    - (void)seed;
    @end
    //RandomSeeder.m
    #import "RandomSeeder.h"
    @implementation RandomSeeder
    - (RandomSeeder*)myInit
    self = [super init];
    NSLog(@"constructed RandomSeeder");
    return self;
    - (void)seed
    srandom(time(NULL));
    @end
    //MyRandomGenerator.h
    #import <Cocoa/Cocoa.h>
    @interface MyRandomGenerator: NSObject {
    - (MyRandomGenerator*)myInit;
    - (int)generate;
    @end
    //MyRandomGenerator.m
    #import "MyRandomGenerator.h"
    @implementation MyRandomGenerator
    - (MyRandomGenerator*)myInit
    self = [super init];
    NSLog(@"constructed RandomGenerator");
    return self;
    - (int)generate
    return (random() %100) + 1;
    @end
    //RandomController.h
    #import <Cocoa/Cocoa.h>
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @interface RandomController : NSObject {
    IBOutlet NSTextField* textField;
    RandomSeeder* seeder;
    MyRandomGenerator* generator;
    - (IBAction)seed:(id)sender;
    - (IBAction)generate:(id)sender;
    @end
    //RandomController.m
    #import "RandomController.h"
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @implementation RandomController
    - (IBAction)seed:(id)sender
    seeder = [[RandomSeeder alloc] myInit];
    [seeder seed];
    NSLog(@"seeded random number generator");
    [textField setStringValue:@"seeded"];
    [seeder release];
    - (IBAction)generate:(id)sender
    generator = [[MyRandomGenerator alloc] myInit];
    int randNum = [generator generate];
    NSLog(@"generated random number: %d", randNum);
    [textField setIntValue:randNum];
    [generator release];
    @end
    Also, I couldn't figure out a way to create only one RandomSeed object and only one MyRandomGenerator object to be used for the life of the application--because I couldn't figure out how to code a destructor. How would you avoid creating a new RandomSeed object every time the seed action was called? Or, is that just the way things are done in obj-c?
    Message was edited by: 7stud

    7stud wrote:
    generator = [[MyRandomGenerator alloc] myInit]; //<**WARNING**
    I can tell you why I might expect the subject warning, but doubt I'll be able to handle the likely follow-up questions, ok?
    Firstly note that +(id)alloc, which is inherited from NSObject, always returns an id type, meaning an object of unspecified class. Thus the compiler can't determine the type returned by [MyRandomGenerator alloc], so doesn't know which of the myInit methods might run. This is the case whenever init is sent to the object returned by alloc, but your example is a little more complicated because the code has broken at least two rules for init methods: 1) By convention the identifier of an init method must begin with 'init'; 2) An init method must return an object of id type.
    Each of the myInit methods returns a different "distinct" type, and neither of the methods is known to be an init, so the compiler isn't willing to guarantee that the object returned will match the type of the left hand variable. Do we think the compiler would be more trusting if the init methods followed the naming convention? Dunno, but that might be an interesting experiment. In any case, I wouldn't expect the compiler to complain if the myInit methods both returned an id type object.
    For more details about why and how init methods are a special case you might want to look over Constraints and Conventions under "Implementing an Initializer" in +The Objective-C Programming Language+. The doc on init in the +NSObject Class Reference+ also includes a relevant discussion.
    Hope some of the above is useful!
    - Ray

  • DISTINCT on object type collection not working with GROUP BY

    Hello,
    I have an object type with collection defined as:
    create or replace type individu_ot as object (
       numero_dossier          number(10),
       code_utilisateur        varchar2(8 char),
       nom                     varchar2(25 char),
       prenom                  varchar2(25 char),
       map member function individu_map return number
    create or replace type body individu_ot is
       map member function individu_map return number
       is
       begin
          return SELF.numero_dossier;
       end individu_map;
    end;
    create or replace type individu_ntt is table of individu_ot
    /When I use it in simple SQL without any aggregation, the distinct keyword works well and returns me the distinct entry of my object type in the collection:
    SQL> select cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
    from   site_section_cours    sisc
              inner join enseignant_section_mc   ensemc
              on sisc.code_session = ensemc.code_session and
                 sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
              inner join individu_mc indivmc
              on ensemc.numero_dossier_pidm = indivmc.numero_dossier
    where  sisc.seq_site_cours = 6
    DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)                                                                                                                                                                                            
    INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé))                                                                                                                                                                                                    
    1 row selected.However in SQL with broader selection with group by, the distinct isn't working anymore.
    SQL> select *
    from   (
             select sisc.seq_site_cours,
                    cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
             from   site_section_cours      sisc
                       inner join enseignant_section_mc   ensemc
                       on sisc.code_session = ensemc.code_session and
                          sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
                       inner join individu_mc indivmc
                       on ensemc.numero_dossier_pidm = indivmc.numero_dossier
             group by sisc.seq_site_cours
    where seq_site_cours = 6
    SEQ_SITE_COURS DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)                                                                                                                                                                                            
                 6 INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé))                                                    
    1 row selected.there is case where I need to return more than one collections, with distinct entries in it.
    Is there something I am missing?
    Thanks
    Bruno

    Not a bug, rather an undocumented feature.
    Here are some alternatives you might want to test :
    1) Using the SET operator to eliminate duplicates :
    SELECT sisc.seq_site_cours,
           set(
             cast(
               collect(individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom))
               as individu_ntt
           ) as distinct_list
    FROM site_section_cours sisc
         INNER JOIN enseignant_section_mc ensemc
                 ON sisc.code_session = ensemc.code_session
                 AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
         INNER JOIN individu_mc indivmc
                 ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
    GROUP BY sisc.seq_site_cours
    ;2) Using MULTISET with a subquery
    SELECT sisc.seq_site_cours,
           CAST(
             MULTISET(
               SELECT distinct
                      indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom
               FROM enseignant_section_mc ensemc
                    INNER JOIN individu_mc indivmc
                            ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
               WHERE sisc.code_session = ensemc.code_session
               AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
             AS individu_ntt
           ) AS distinct_list
    FROM site_section_cours sisc
    ;

  • How to determine a View Object Type (read only or Updatable) ADF B.C 10.1.3

    Hi all,
    in scott Schema by ADF B.C 10.1.3, I created an entity object like emp
    and created view object EmpView from emp and dept entities
    and Application Module
    and when draging EmpView and dropping it in jspx
    while running I got an error :
    JB0-25003 your EmpView View Object has no Type
    How to determine a View Object Type (read only or updatable) in B.C ?
    Thanks

    Hi,
    this should not require any manual confiuration. Can you select the ApplicationModule in the model, right click on it and run the ADf BC tester ? Check if he ViewObject runs if not added to JSF
    Frank

  • SYS_PLSQL  Object type !!  bug!!

    Hi,
    I have got the following object type definition by using USER_TYPES dictionar
    SQL> select dbms_metadata.get_ddl('TYPE', type_name, user) str
    2 from user_types
    3 where
    4 type_name ='SYS_PLSQL_12564004_164_1'
    5
    CREATE OR REPLACE TYPE "test"."SYS_PLSQL_12564004_164_1" as object (
    ER_KEY NUMBER,
    ER_CODE VARCHAR2(20),
    ER_TYPE VARCHAR2(20))
    If this was generated by the system, how to correlate this object type with the package.
    I hope, the pipelined function will have system generated names that starts with SYS_PLSQL*.
    Please share your expertise. Oracle version is 11g R1.
    Regards,
    Boris
    Edited by: user12075620 on Oct 10, 2012 11:57 PM
    Edited by: user12075620 on Oct 11, 2012 12:04 AM

    >
    I have got the following object type definition by using USER_TYPES dictionar
    SQL> select dbms_metadata.get_ddl('TYPE', type_name, user) str
    2 from user_types
    3 where
    4 type_name ='SYS_PLSQL_12564004_164_1'
    5
    CREATE OR REPLACE TYPE "test"."SYS_PLSQL_12564004_164_1" as object (
    ER_KEY NUMBER,
    ER_CODE VARCHAR2(20),
    ER_TYPE VARCHAR2(20))
    If this was generated by the system, how to correlate this object type with the package.
    I hope, the pipelined function will have system generated names that starts with SYS_PLSQL*.
    Please share your expertise. Oracle version is 11g R1.
    >
    If you are asking how to find the package that created that TYPE then I don't know.
    Particularly for PIPELINED functions Oracle will create SQL types based on PL/SQL types that are declared in a package spec. See Solomon's example of this
    Re: Pipe line function
    He showed that a user that does not have the privilege to create TYPEs will still have types created this way.
    >
    As you can see, user u1 was able to create types without create type privilege.
    >
    In 10g the types are visible but in 11g Rel 2 they are hidden.
    I haven't been able to find any link between the package and system generated types. There is no linkage in PUBLIC_DEPENDENCY and I could not find any link in the system tables.
    Worse is that testing shows that if you delete the system generated type it will NOT invalidate the package. But if you then try to use it you will get an exception.
    drop type SYS_PLSQL_53616_9_1
    ORA-06553: PLS-752: Table function GET_EMP is in an inconsistent state.
    alter package pkg1 compile

  • Oracle JDBC driver and the object types cache

    Hi there,
    Oracle JDBC Developer's Guide and Reference says (version 11gR1):
    Oracle JDBC drivers cache array and structure descriptors. This provides enormous performance benefits. However, it means that if you change the underlying type definition of a structure type in the database, the cached descriptor for that structure type will become stale and your application will receive a SQLException exception.http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/oraoot.htm#g1104293
    That is the problem we are having here... We have web services deployed to WebLogic server that use custom object types. Every time we have to change an object type definition the web services stop working (the error ORA-00902: invalid datatype is raised) and the only solution is to restart the JDBC data source which is quite disruptive to the development process.
    Is there a workaround to disable that "feature"?
    Thanks
    Luis

    Luis Cabral wrote:
    jschell wrote:
    Although if you are changing the object structure then the code to deal with it must change as well. So, especially in developement, why is restarting a problem?It is not that restarting per se is a problem. Here us developers do not have the required privileges to restart the JDBC pool and we have to ask the DBA to do it, and sometimes he is not immediately available. It is not a big thing but this can impact the development process.Your development process is hideously flawed then.
    The pool exists in the JEE server. And from your first post it seems that you have permission to restart that but not to access the management console. It is ridiculous to have access the the former and not the later.
    Not to mention that you should have your own JEE instance to develop on. Actually it is weird to me that a DBA would even be touching a JEE server. The competent ones I know don't even know how to do that. They know the database not the application servers.
    >
    In addition, having to restart a whole JDBC pool just because you changed a database object definition does not seem very flexible to me. Such issue does not exist in other connection types, for instance in OCI connections, that is why I thought there should be an option to turn it off if required.
    Well specifically you have to restart the pool because you were USING the object that changed.
    And I am rather certain that you can turn off the pool entirely.
    Even in production, I reckon that this may have a negative impact. For instance, say that you need to deploy a hot fix for a bug in one application that involves the re-creation of one single object type. This means that the whole JDBC pool, which may be used by other applications, may have to be shut down just because of that single object.Good point.
    I suggest you stop using complex objects in Oracle. I suspect that would eliminate the problem completely.

  • PL/SQL Object Type - Java oracle.jbo.domain

    PL/SQL Object Type <-> Java oracle.jbo.domain
    can anybody help me, getting my domains to work?
    Following scenario:
    in pl/sql we have an object type called MULTI_LANGUAGE. This type is used for storing multilingual texts as nested table in one(!) column.
    So the object MULTI_LANGUAGE contains a member variable LANGUAGE_COLLECTION of type LANGUAGE_TABLE, which itself is a nested table of objects
    of the type LANGUAGE_FIELD (this again is only a language id and the corresponding content)
    Also the methods setContent(langID, langContent) and getContent(langId) are defined on Object MULTI_LANGUAGE.
    For example: Table having primary key, 2 other columns and one column of object type MULTI_LANGAGE (=nested table of objects)
    |ID|Column1|Column2|  multilingual Column  |
    |--|---------------------------------------|
    |  |       |       |  -------------------  |
    |  |       |       | | 1 | hello         | |
    |  |       |       |  -------------------  |
    |1 | foo   | bar   | | 2 | hallo         | |   <- Row Nr 1
    |  |       |       |  -------------------  |
    |  |       |       | | 3 | ola           | |
    |  |       |       |  -------------------  |
    |--|-------|-------|-----------------------|
    |  |       |       |  -------------------  |
    |  |       |       | | 1 | world         | |
    |  |       |       |  -------------------  |
    |2 | abc   | def   | | 2 | welt          | |   <- Row Nr 2
    |  |       |       |  -------------------  |
    |  |       |       | | 3 | ???  ;-)      | |
    |  |       |       |  -------------------  |
    |--|-------|-------|-----------------------|Now i've tried to modell this structure as an oracle.jbo.domain.
    class MultiLanguage extends Struct having this StructureDef:
    attrs[(0)] = new DomainAttributeDef("LanguageColl", "LANGUAGE_COLL", 0, oracle.jbo.domain.Array.class, 2003, "ARRAY", -127, 0, false, "campusonlinepkg.common.LanguageField");
    and
    class LanguageField extends Struct having this StructureDef:
    attrs[(0)] = new DomainAttributeDef("Id", "ID", 0, oracle.jbo.domain.Number.class, 2, "NUMERIC", -127, 0, false);
    attrs[(1)] = new DomainAttributeDef("Content", "CONTENT", 1, java.lang.String.class, 12, "VARCHAR", -127, 4000, false);
    Is there anything wrong with this StructureDef?
    When running the BC-Browser with -Djbo.debugoutput=console -Djbo.jdbc.driver.verbose=true parameters I get suspect warnings when browsing the records
    [196] Executing FAULT-IN...SELECT NR, NAME FROM B_THESAURI BThesauri WHERE NR=:1
    [197] SQLException: SQLState(null) vendor code(17074)
    [198] java.sql.SQLException: Ungültiges Namensmuster: XMLTEST.null
    ...snip: detail of stack...
    [240] SQLException: SQLState(null) vendor code(17060)
    [241] java.sql.SQLException: Deskriptor konnte nicht erstellt werden: Unable to resolve type "null"
    ...snip: detail of stack...
    [280] Warning:No element type set on this array. Assuming java.lang.Object.
    (XMLTEST is the name of the schema)
    Seems as if the framework can't read the TypeDescriptor or does not know which descriptor to read (XMLTEST.null??)
    Do I have to implement my own JboTypeMap?
    Please help, I'm stuck.
    Thanks in advance, Christian

    Thanks for your suggestion, but it seems to me as if there is one level missing.
    in pl/sql I have following structure:
    Struct MULTI_LANGUAGE (Object type) - outermost
      Array LANGUAGE_TABLE (nested table type)
        Struct LANGUAGE_FIELD (Object type simple) - innermostthe reason why i had to wrap another struct around the array was because it is not possible to define methods on a nested table. this is only possible on objects.
    on the outermost object type (which holds the array of language fields) I needed to define following 2 methods for direct access:
    getContent (langId in number) returns varchar2
    setContent (langId in number, langContent in varchar2)
    I would like to rebuild the same structure in java, because newly written java code should live in perfect harmony with legacy pl/sql code ;-)
    Both applications (Java and pl/sql) have to access the same data as long as migration to java goes on.
    Is this nested structure too much for a Domain?
    Any other suggestions?
    Thanks again, Christian

  • OSB to Object Types: difference between NULL value and not available

    Hello all,
    I have a question about Object Types. More specifically, how to differentiate between an empty value (null) and a string not available.
    This is my case:
    I have created an object type with three parameters.
    CREATE OR REPLACE TYPE OSB_EMP_OBJ_TYPE AS OBJECT
    (EMP_ID NUMBER
    ,DEPT_ID NUMBER
    ,ORDER_ID NUMBER
    ,CONSTRUCTOR FUNCTION OSB_EMP_OBJ_TYPE
    RETURN self as result
    /I would like to see what happens when I put an empty string into emp_id, NULL into DEPT_ID and nothing into ORDER_ID.
    To do so I have this test script:
    declare
      p_emp OSB_EMP_OBJ_TYPE := OSB_EMP_OBJ_TYPE();
    begin
      p_emp.EMP_ID := '';
      p_emp.DEPT_ID := null;
    --  p_emp.ORDER_ID := null;
      if p_emp.EMP_ID is null
      then
        dbms_output.put_line('Empty');
      end if;
      if p_emp.DEPT_ID is null
      then
        dbms_output.put_line('NULL');
      end if;
      if p_emp.ORDER_ID is null
      then
        dbms_output.put_line('Not available');
      end if;
    end;The result of this is:
    Empty
    NULL
    Not availableIt seems that Oracle treats all three situations alike. What I would like to achieve is a way to see that p_emp.ORDER_ID was not initialized.
    To elaborate a bit: in our production system this procedure would be called from OSB and the object type would by the input for that procedure. Our database version is 10.2.0.5.0.
    Our procedures look something like this:
    procedure p_procedure ( p_emp in osb_emp_obj_type )
    is
    begin
      do_something;
    end;Can anyone tell me if there is a way to achieve this, so I can see whether or not a value in the object type was filled?
    Thanks in advance!

    Darn...
    Eventually we want to use this for an update procedure. The client gets all current data from the database by calling a webservice that (using OSB) selects the data from our database. What we want to achieve is that the client can update that data, by returning only the changed fields to an update procedure.
    We then handle an empty tag to update the field to null, and we ignore missing tags.
    OSB itself can handle this, but PL/SQL can't.
    I'm now thinking of adding an indicator to each optional field (clear_field_yn). OSB can still check for empty tags or missing tags. When a tag is empty, it's corresponding indicator will be set to 'Y'. If the tag is missing, then it will be set to 'N'.
    Is that a solution to consider, or is there a much simpler approach possible?

  • Using Multiple Object Types in a FIM Managed Criteria Distribution Group

    Is it possible to use multiple object types in a criteria based distribution group. So when building your criteria filter, "Select (object type) that match (all/any) of the following condiftions". Currently you can only choose 1 object type and
    I want to be able to choose object type "user" and a custom object type I create for my contacts 

    You can create main condition as "any" and later add two sub-conditions - one that object in set "All People" and other sub-condition that object in set "All Contacts" or "All Groups".
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • S/A bridge problem: No object type found for the message

    Hi all,
    I've been spending days looking into the following problem. I have a RFCXIFile scenario. The R3 system sends data via an RFC to XI and XI post the data as a flat file on a certain server using FTP.
    This scenario worked just fine for 1 exception. I could only run this scenario once. The second time I got timeouts when checking the data sent to my RFC destination using SM58. When I reactivated my RFC communcation channel I could again send 1 RFC to the system. All subsequent tries would fail.
    I guess this is due to the fact that I use a synchonous call (RFC) to an asynchronous one. Thus the adapter is still waiting for the response from the XI system and will not accept any further new calls from R3.
    So I figure let's use this pattern called the S/A bridge. So I designed everything according to guides and examples and I'm quite certain everything is configured right but when I run the scenario I get the following message:
    <i> <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error></i>
    It seems that the adapter cannot find any integration process to send the message into!?
    I've looked at numerous threads on sdn and tried all kinds of stuff (looked at the cache==> code 0 = OK , tried to reactivate my integration process, checked the interface determination,...), but to no avail. Does anybody has an idea what could be wrong ?
    Any help would be greatly appreciated for I'm all out of clues....
    Bob

    First of all, Thank you for trying to help me out here.
    Some answer to your suggestions/questions:
    The IP has return code 0 in SXI_CACHE. so that doesn't seem to be the problem.
    I've checked the BPM for syntax errors. I doesn't have any.
    I've reimported the BPM into the integration directory.
    And did a full cache refresh in SXI_CACHE. Return code is (stays) zero, so that's OK.
    I've already included the error message from SXI_MONI. It is in the last step ("Call Adater") that the error occurs.
    The other steps execute just fine...
    The RFC communcation channel accepts the incoming RFC call and puts into the pipeline, so no problems with the communication channel either. the problem is actually when the pipeline is trying to forward the message into an IP trhough the BPE_ADAPTER (according to SXMB_MONI).
    Therefore I'm not able to go to into PE, because the workflow is never started. the BPE_ADAPTER does not find any active process for the interface determination i've entered.
    So i can not debug the IP in the PE and check container variables, like some of you mentioned.
    Maybe some more information about the scenario:
    The RFC is called from an R3 system to XI over the interface "CONTROL_RECIPE_DOWNLOAD", which is an imported RFC, with a request and response message type.
    Then I got a receiver and interface determination with lead the incoming RFC message to the IP, into interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI".
    This is an abstract synchronous interface based on the request and response types of the "CONTROL_RECIPE_DOWNLOAD" imported RFC.
    This interface is used the first step (receive) of my BPM as the synchronous interface to open the S/A bridge.
    The message (container var)  used in this step is
    name: CORREQ
    Category: Abstract interface
    type: "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI"
    The interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI" is an abstract, asynchronous interface based on the request type of the "CONTROL_RECIPE_DOWNLOAD".
    Then there are 2 send steps for putting the flat files into place and finally i close the the S/A bridge using message:
    name: CORRES
    Category: Abstract interface
    type: "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI"
    The interface "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI" is an abstract, asynchronous interface based on the response type of the "CONTROL_RECIPE_DOWNLOAD".
    I hope this information gives you guys a better understanding of hte problem.
    Really looking forward to see more suggestions and to solve this nasty problem ...
    Regards,
    Bob

  • Assign value to Object type variable

    CREATE OR REPLACE TYPE emp AS OBJECT (
    empid NUMBER,
    age NUMBER,
    dob date);
    CREATE OR REPLACE TYPE emp _tab AS TABLE OF emp;
    Pls hlep me assign value to the object type variable in loop..(assume there is 5 10 records in emp table)
    declare
    v_emp_tt emp _tab ;
    begin
    for i in (select empid ,age ,dob from emp ) Loop
    v_emp_tt := i.empid; --this is wrong pls help me correct it.
    end loop;
    end;
    thanks,

    I would keep the type/object naming convention distinct from the table name.
    In terms of assignment:
    CREATE OR REPLACE TYPE to_emp AS OBJECT
    (empid NUMBER,
    age NUMBER,
    dob date);
    CREATE OR REPLACE TYPE tt_emp AS TABLE OF emp;
    declare
    v_emp tt_emp;
    begin
    select to_emp_obj(emp_id, age, dob)
    bulk collect into v_emp
    from emp;
    end;

  • Error  while releasing Transport which Contain Bussiness object type

    I created the method in ZBUS100106 and  released it and generate it ,then in the program I wrote some code,functionality works fine ,Now  while moving transport to Quality Syestem it shows up with the error
    *ZBUS100106 is inactive*  , I released it and generate it one more time but did'nt help
    My transport has
        Workflow templates
            90000004
        Program
            ZBUS100106
        Business object types
            ZBUS100106
        Table Contents
            SWOTICE
    only problem with the program it shows inactive,I ran Se80 and it shows some Subrutine inactive I activate it by clicking right and select Activate but none of the perform activate .
    Helpful answer rewarded by the deserve points

    Hello,
    Are there any errors when you generate ZBUS100106? Check Goto -> Error List.
    regards
    Rick Bakker
    Hanabi Technology

  • IDoc Error -Instance of object type could not be changed

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    Please suggest on this
    Thanks
    Ajit

    Hi Madhu
    All these POs are uploaded during the Cutover Activities only, I am not sure whether it is uploaded through LSMW or not. What I guess is If its uploaded thrugh LSMW , then we can't change any value in the PO.
    Please sugest how can I process allthese IDocs.
    Thanks
    Ajit

  • IDoc failed with the error massaeg "Instance of object type could not be ch

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    All POs are get uploaded in SAP during Cut over activities only.
    Please suggest on this.It will be a great help.
    Thanks
    Ajit

    Hi
    After uploading POs into SAP we are changing quantity and value in PO in Legacy system, and for this all IDocs are failed, subsequently these changes are not triggering to ECC.
    Please help
    Thanks
    Ajit

Maybe you are looking for

  • Intel HT (Hyper-Threading) BIOS 1.9?

    Sup People!    My Intel HT (Hyper-Threading) don't work right now, what to do?  I was told that I need the new BIOS 1.9 for HT to work?  I have: Intel P4c with HT             Intel 875P with HT             MS Windows XP Professional Version 2002 & SP

  • Work Flow Question # 2

    This is directed to all the Workflow Guru's out on OTN. From last night, it seems that my users are not receiving notifications. This came to light only this morning - and after taking a look at the log files from the Oracle Application Manager (OAM)

  • Several versions of Adobe programmes

    When I install updates, my computer has several versions of each programme. E.g. Adobe Photoshop CC (2014) Adobe Photoshop CC Adobe Photoshop CC (64 bit)  Why is that? Can I delete some versions to gain more space on my computer?

  • Strange behaviour syncing with MobileMe Galleries

    Hi all. Apologies if this has been asked before but I couldn't find this exact problem I'm having. I have a few galleries that I sync to and it all works fine except if I ad to a bunch of photos it seems to then upload everything all over again. So i

  • Can't highlight my effects in my timeline

    Hi I am working in FCE on a Macbook Pro. For some reason I am having trouble highlighting an effect in my timeline so I can change its length. I can apply the effects but when I go to change the length or render everything it doesn't do anything. I c