Expand Operator generates code errors in OWB 10g2 map

I suspect that there are few people that actually use the Expand Operator in OWB from the lack of threads in this forum; however I'll give this a shot.
I have a map function that returns a user-defined object type which I then use an Expand Operator to break into its component data parts. The function works Ok. The map validates Ok. The code generates Ok. However, on deployment the map generates errors:
ORA-06550: line 768, column 97:
PLS-00103: Encountered the symbol "." when expecting one of the following:
* & = - + < / > at in is mod remainder not rem then
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between overlaps || multiset year DAY_ member
SUBMULTISET_
The symbol "* was inserted before "." to continue.
Compiling the package body in SQL developer, I can spot the exact lines that produce this error, so I know it's coming from the Expand Operator's generated code. In every case, the Expand Operator is producing lines like this (code generalized):
(("[function_name]"("[map_name]"."[map_input_parameter]"))).BYTES_COUNT
(("[function_name]"("[map_name]"."[map_input_parameter]"))).ROWS_INSERTED
BYTES_COUNT and ROWS_INSERTED are data components of the user_defined object type returned by the function.
The problem is the # of parentheses surrounding the function name and the returning component being outside these parentheses. If I move the returning component in between the first and second closing parentheses, the code will compile:
(("[function_name]"("[map_name]"."[map_input_parameter]"*).BYTES_COUNT))*
(("[function_name]"("[map_name]"."[map_input_parameter]"*).ROWS_INSERTED))*
IMO, this is an OWB bug !! The Expand Operator can't be used without editing the code after deployment.

Unfortunately breaking apart the user-defined type in an Expression Operator produces the same error message and virtually the same code problem:
(([function_name]("[map_name]"."[input_parameter]")).BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */)
As in the Expand Operator the line above compiles when the data type component ("BYTES_COUNT") is manually moved between the first and second closing parentheses:
(([function_name]("[map_name]"."[input_parameter]").BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */) )

Similar Messages

  • Generated Code different from OWB Client and Deployment Manager....

    Hi,
    I developed the mappings using OWB9.2 and generated the code.
    But when same mapping is used to generated code from deployment manager it is having extra code like WB_RT% procedures/functions.
    Why this is happening, does any body have idea on this.
    Please let me know.
    With Regards,
    Kranthi..

    When you generate code from within your mapping, you'll get clean sql. But when you deploy your mapping and create package the code will contain more than just sql used for loading your tables, like control procedures etc. based on your mapping configuration, table loading options etc.
    If you create mapping that will load table using TRUNCATE/INSERT option and generate code you will see only INERT INTO code, but when you deploy your mapping the code will include TRUNCATE TABLE code.

  • OWB Error while generating Code for a mapping

    I have a simple mapping loading from a source to a flat file. When I try to generate code it gives me the following Error
    VLD-2357: Target Data File name not specified for file <target Flat file name>.
    I am new to OWB so any help on the same will be greatly appreciated. How can I specify target Data File name in the mapping configuration under Flat file operators
    Thanks
    Anish

    If you configure the mapping in the UI from the main design tree and select the name of your file operator under the tree node 'Flat File Operators' on the right hand side panel the properties should be displayed - one of these properties is 'Target Data File Name', enter the name of your target data file name.
    Cheers
    David

  • Generating code in OWB mapping for valid operating modes

    Hi all,
    When i generate the map in OWB it will generate a code in default operating mode. But it's written in OWB documents that During code generation, Warehouse Builder generates code for the specified default operating mode as well as the unselected modes.
    Can i find the generating code for the unselected modes? If possible then how can i find? Plzz help.
    Regards,
    Sumanta

    Hi Sumanta.
    If my understanding is right than you are looking for a error handling feature in OWB. Well in such case you need to look at the concept of Shadow Tables in OWB. TO know more about the fucnctionality of shadow tables please follow this link.
    Using Data Rules
    It has most of the information. If you still hav any clarifications, you can post it here.
    I dont know much about operating modes.
    Hope this is what you were looking for!

  • Error while generating code for deployment

    I am getting the following error:
    Error generating findTest1ByMarks(java.lang.Integer) query for Bean Test1(Abstract scheme name=Test1) Error=query cannot be pushed down
    Query="select ..."
    Could someone help me?
    I am trying to generate code of Container Managed Entity Bean in WSAD 5.0.
    Thanks

    If you configure the mapping in the UI from the main design tree and select the name of your file operator under the tree node 'Flat File Operators' on the right hand side panel the properties should be displayed - one of these properties is 'Target Data File Name', enter the name of your target data file name.
    Cheers
    David

  • Trace Stack Error - Multiple step operation generated errors

    When importing a mapping table into Financial Data Management, I received an error code 2147217887 multiple-step operation generated errors. Check each status value. I was exporting a mapping table from our development application into our production application, so I am not sure what caused this error message. Any ideas would be greatly appreciated. Thank you.

    I solved this problem.
    Oracle Provider for OLE DB 9.x is supporting Unicode.
    But I didn't handle Unicode (DBTYPE_WSTR).
    I added Unicode handling code in my source, then there was no error.

  • Multiple-step operation generated errors.

    Server : Oracle 9i release 2
    OLE DB : OLE DB Provider 9.0.1.0, 9.2.0.4
    In VC++,
    When call IRowset::GetData(), It makes an error.
    "Multiple-step operation generated errors. Check each status value."
    what does it mean? and how can I fix this error?
    Thank you.

    I solved this problem.
    Oracle Provider for OLE DB 9.x is supporting Unicode.
    But I didn't handle Unicode (DBTYPE_WSTR).
    I added Unicode handling code in my source, then there was no error.

  • Error while generating code in brf+ function

    Hi all,
    i am getting error while generating code in function in bRF+
    am using weight fields ..if i dont use quantity fields am able to generate code .
    please help.
    Thanks.

    Can you provide more details? What exactly is the error?
    I think we have provided a note for the issue. With the details it should be possible to identify the note number.

  • Error while deploying generated code from sup to iPhone

    Hi
    I generated the code using Sap unwired platform for Objective-c.  I followed the steps specified in the below link
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01213.0153/doc/html/mqu1264543829068.html
    for deploying the generated code into iPhone simulator, i am getting the following error
    Undefined symbols:
      "_OBJC_CLASS_$_SUPEntityAlias", referenced from:
          objc-class-ref-to-SUPEntityAlias in SUP101_Customer.o
          objc-class-ref-to-SUPEntityAlias in SUP101_LogRecordImpl.o
    Can any one help me in this
    Edited by: KiranSanka on Dec 2, 2010 1:18 PM
    Edited by: KiranSanka on Dec 3, 2010 7:26 AM

    Hi
    While compiling did you get a warning? something along the line "missing required architecture i386 in fileu201D? if so refer this link http://stackoverflow.com/questions/1456185/build-error-missing-required-architecture-i386-in-file
    Regards
    Jinesh

  • Error in generated code :Component Interface

    Hi All,
    I have my webdynpro component active works fine in Dev Server.
    When we move it to qualtiy we got a strange error " Error in Generated Code, Type Z*IWCI is unknown.
    Its related to the Component interface which gets generated automatically while any WDA is created but in our system it isnt getting generated?
    Looking for your valuable comments on ths
    Regards
    Bhanu

    Hi Bhanu,
    Goto se09 check for that request ICF service is generated or not? I think you first created in $TMP and assigned package.
    If ICF service is not available, just copy it to new comp, it will create new ICF service. I dont know this is the solution,
    just a guess.
    Cheers,
    Kris.

  • Error In CMP Generated Code

    I have a CMP 2.0 local entity bean, and when I try to create one from a session bean, I get this:
    java.lang.IllegalStateException: Can not call getPrimaryKey() inside ejbCreate(...) methods, the entity does not have an identity yet, see the EJB 2.0 specification chapter 10.5.4
         at com.evermind.server.ejb.EJBUtils.throwGetPrimaryKeyInEJBCreateException(EJBUtils.java:963)
         at WebLine_EntityBeanWrapper2.getPrimaryKey(WebLine_EntityBeanWrapper2.java:2595)
         at WebLineHome_EntityHomeWrapper16.create(WebLineHome_EntityHomeWrapper16.java:497)In other words, the generated code for the home's create method is calling getPrimaryKey on the generated code for the entity, and this is failing because even the container can't call getPrimaryKey at that time. It doesn't seem to matter what's in my ejbCreate method, unless it throws an exception (which prevents this problem, of course). Looks like a problem with the generated code to me.

    Thanks for that tip. Looking at the generated code, I see:
              boolean imIt = false;
              try
                while(!imIt)
                  if(com.evermind.server.ApplicationServer.DEBUG) debug("In while(!imIt)\n");
                  WebLine_EntityBeanWrapper2 other;
                  other = (WebLine_EntityBeanWrapper2)getWrapperInstance(response.getPrimaryKey(), 90000l, false);That last line is where the error happens (line 520 in the stack trace above). It seems like getPrimaryKey is being called intentionally, to see if the entity is already in the cache or something? Anyway, the generated code for the instance call is:
      public Object getPrimaryKey()
        if(this.primaryKey == null) com.evermind.server.ejb.EJBUtils.throwGetPrimaryKeyInEJBCreateException();
        return this.primaryKey;
      }So that seems reasonable, I suppose. The question is, what is causing the instance to have no PK when the home thinks the PK should be there? I've tried a lot of variants of my code, with no improvement, but I could still be doing something wrong. Also, it only seems to be happening with one bean...

  • Syntax Error in Generated Code

    Hi All,
                I am facing the syntax error in WD4A.
    Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
    Error in Generated Code
    The type "ZIWCI_PO_Request" is unknown, but there is a type with the
    similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
    Any Suggestions to fix this?.
    Thanks in Advance,
    Rajen.

    Hi All,
                I am facing the syntax error in WD4A.
    Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
    Error in Generated Code
    The type "ZIWCI_PO_Request" is unknown, but there is a type with the
    similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
    Any Suggestions to fix this?.
    Thanks in Advance,
    Rajen.

  • Executing OWB generated code outside OWB deployment manager

    We are thinking to develop data loading programs using OWB but ship the generated code directly to user. We're looking at possibility to let end-user to invoke generated mappings w/o installing OWB. Because we plan not to offer customization to our users in our first release, there is no point to make OWB a mandatory pre-requisite.
    Other than running mappings from OWB deployment manager and OEM, could user execute mapping code from something like SQL plus and eBizSuite's concurrent program? My guess is yes.
    Then what is the minimum installation requirement for end-user to perform. Does user have to install run-time repository and target schema from OWB installation CD?
    Thanks a lot!

    Jerry,
    There are several alternatives for running OWB mappings in addition to Deployment Manager:
    1. From SQL Plus. Requires no part of OWB install to work, it just connects remotely to Runtime repository. See template in [OWB install Home]/owb/rtp/sql/sqlplus_exec_template.sql
    2. From OEM. Same: requires no part of OWB install, connects remotely to Runtime repository. See template in [OWB install Home]/owb/rtp/sql/oem_exec_template.sql. Also see "Oracle9i Warehouse Builder User's Guide
    Release 9.2", page 13-19, "Scheduling Mappings and Process Flows".
    3. From Oracle Workflow. OWB Deployment Manager deploys into Workflow in this case.
    4. From any XPDL complaint process flow engine.
    Nikolai

  • Windows Script Component Registration Generate 0x80004005 Error Code

    Scenario :
    I create a simple .hta for managing students information and personal data. I create an application registration system which is required by the user to register the .hta before using it (Freeware which required registration for software benchmarking purpose).
    The registration is created with .wsc file structure. All students registration can work properly and saved into the database without generating any error. However the .wsc file for application registration is unable to register it which generate error.
    Problems :
    .wsc file generated error 0x80004005 on registration.
    Flow :
    If I try to register from the context menu, the following error is generated.
    "The module "C:\Windows\system32\scrobj.dll" was loaded but the call to  DllInstall failed with error code 0x80004005."
    If I try to register from the command line, the following error is generated.
    "The module "C:\Windows\system32\scrobj.dll" was loaded but the call to  DllRegisterServerEx failed with error code 0x80004005."
    Trial Made :
    I searched the solution over the internet and nothing was found except all the solution related to 0x80004005 is pointed to Jet.OleDb problems.
    Request :
    I hope someone can help me solving this problem. So any help or opinion will be appreciated.
    Remarks :
    Microsoft Windows 7 Ultimate 32 bit on 32 bit system architecture.
    Internet Information Services 7.5 is not installed.
    Microsoft .NET Framework 1.1, 2.0, 3.0, 3.5 and 4.0 Redistributable installed.
    Microsoft Office Access 2007 with Microsoft Jet OleDb 4.0 installed.
    Thanks.

    Using Windows 7 Home Premium
    I have read this thread carefully and followed the recommendations, and I still get the MsgBox error:
    The module "scrobj.dll" was loaded but the call to DllInstall failed with error code 0x80004005
    For more information about this problem, search online using the error code as a search term.
    I even took these additional steps in the command prompt:
    >cd C:\Windows\System32
    >regsvr32 /i:C:\Users\dn\dn.wsc scrobj.dll
    >cd C:\Windows\SysWOW64
    >regsvr32 /i:C:\Users\dn\dn.wsc scrobj.dll
    I executed the identical command after changing to each of the directories. Each time I received the same error
    Yes - that is what happens when you "necro" half century old threads.
    The object I obsolete and unsupported.   The error - 0x80004005 indicates that you are not an admin.  It may  also indicate that you are using an unsupported module.
    ¯\_(ツ)_/¯

  • How to change the merge condition in OWB generated code

    Hi,
    This is regarding the OWB generated code for cubes. We required to change the ON condition of MERGE statement. OWB merge the records on the basis of dimension keys only. Is there any ways to provide the customised merge condition or is it possible to add a measure of the cube to be used in ON condition of the merge?

    Hi,
    cant´t you customize the generated Code in the Database?
    I know that owb has the trait to do the following:
    If you create a Mapping, etc. the generated Code will be deployed as PL/SQL Package in the Database Schema.
    Now you can edit the Code as Schema User right in the Database.
    Don´t edit it in the Metadata, only in the Databse.
    If you run now any Process in OWB, he´ll execute your edited Code,
    ´cause he just takes whats still there. :-)
    It´s not realy clean, but in most Times that works.
    LoneWolf

Maybe you are looking for

  • Problem in getting Item data using RLE_DELNOTE

    Hi everyone, I am using RLE_DELNOTE as print program. This print program is not populating item level details in its structure ls_dlv_delnote. Can anyone help me? Thanks and Regards, Jai

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

  • Anyone else having problems with popups since the new security upgrade? can't get rid of them

    anyone else having problems with popups since the new security upgrade? can't get rid of them

  • PSE8.0 Serial Number doesn't work

    I JUST bought a Wacom Bamboo Pen & Touch from Best Buy.. I uninstalled my previous PSE8 because I thought the tablet would come with a newer version- it didn't, so I just used the disc that came with the new tablet. With the previous PSE8 that I had,

  • Here's One For Ya

    Okay, so I've got a new credit card and I tried updating my information and every time it said that I my card information did not match my bank's records. But I checked my bank account and for whatever reason iTunes took out a dollar each time I trie