Problem in copying a mapping from OMB+..soln needed asap

I am trying to copy a mapping from OMB+.
This is a simple copy in the same module....but its giving the following error. can somebody help me in this...
OMB+> OMBCOPY MAPPING 'M_STG_BP_AP_INTL_SUBSCRIPTION' TO 'BI_STAGING/' USE REPLACE_MODE
OMB01059: Object copy failed. Nothing to rename.
OMB+>
OMB+> OMBCOPY MAPPING 'M_STG_BP_AP_INTL_SUBSCRIPTION' TO 'M_STG_BP_KA_INTL_SUBSCRIPTION' USE REPLACE_MODE
OMB01059: Object copy failed. Nothing to rename.

found the solution..
Its the problem with length of the mapping name.
When its copying, OWB generates a new mapping prefixed with 'COPY_OF_' to the original mapping name and then renames it.
In the above case, Its exceeding the limit and therefore abbreviating the copied mapping to 'COPY_OF_M_STG_BP_AP_INTL_SUBS_1'
and when trying to rename the mapping, its unable to find the object.
Soln...limit the mapping names to 18-20 characters to allow copying from OMBPLUS.

Similar Messages

  • Copy a mapping from one project to another project in same reepository.

    Hi All,
    I am using OWB 10GR2. I have two projects in this repository called dev_project and test_project. after completion of mappings development in dev_project, i want to move the mapping from dev_project to test_project. I was able to copy the mapping from dev_project to test_project.
    However, when i open the mapping in test_project project, I was able to see all mapping operators like sources, targets and all other operators. But filter operators, join operators and aggregator operators doesn't have its properties( means there are no filter condidtion, join condition).
    Please help me how to take those filter and join conditions also from dev_project to test_project.
    Thanks,
    pv

    There is a OWB bug 8267898 described as:
    COPYING MAPPING BETWEEN PROJECTS IN OWB LOOSES ALL THE OPERATOR PROPERTIES
    Try to apply patch:
    Patch 8289030 - PSE FOR BASE BUG 8267898 ON TOP OF 10.2.0.4 FOR WINDOWS 32BIT (215)

  • Problems during copying music files from iTunes 10.6.1 to iPhone

    1st problem
    In new iTunes 10.6.1 on my MBP when copying music on iPhone if during copying add additional musical files in queue, copying of files from the previous queue stops. In the previous iTunes version of such problem didn't arise. Whether there is a solution of this problem?
    2nd problem
    In older version of iTunes i could adding new music files to my iphone with drag and drop from Finder. Now i must add files in iTunes library and then from library drag and drop files to iphone. How to solve this problem?

    You would have to purchase 10.6 (Snow Leopard) and install it, assuming your computer is compatible.

  • Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file

    I'm trying to create a mapping in OWB by using the Experts (OMB),
    where the data source is a database table and the target is a flat file (to transform a table to a flat file).
    The tasks of my Experts :
    This task create a mapping, and add a existing table on it.
         OMBCC '$thepath'
         catch {OMBDROP MAPPING 'M1'}
         OMBCREATE MAPPING 'M1'
         OMBALTER MAPPING 'M1' \
         ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
         BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
    This task change the context and create a flat file
         OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
         catch {OMBDROP FLAT_FILE 'NEW_FILE'}
         OMBCREATE FLAT_FILE 'NEW_FILE' \
         SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
    This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
         OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
         OMBALTER MAPPING 'M1' \
         ADD FLAT_FILE OPERATOR 'NEW_FILE'\
         BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         OMBALTER MAPPING 'M1' \
         ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
         TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
    This task update the flat file structure
         OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
         TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Then I have a task which execute this mapping.
    Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
    I don't know how to give a name to the flat file in OMB.
    Help me please.
    Best regards
    Samy

    Just like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
    Set the property TARGET_DATA_FILE_NAME to the name of the data file.
    Something like....
    OMBALTER MAPPING 'M1' \
    MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
    Cheers
    David

  • Problem in executing the mapping from outside OWB

    hi guys,
    i am facing a strange problem in a regular fashion.
    i have developed 4 mappings - the mappings have been validated with warnings, all of column lengths and data length related.
    the mappings have been deployed successfully - which i have also verified by checking the generated package in the backend - it is
    in a valid state.
    but when i am running the package thru the pl/sql block, tho it returns me a retval=0 (and sometimes retval=2) but no data transfer is happening, the same thing is
    occuring when i try to run the mapping thru the deployment manager in the OWB. but through the debugger all the DML operations of
    upsert(insert/update) and delete are working perfect with the correct transformations.
    this is happening for all the mappings that i have developed.
    need urgent help.
    thanks and regards,
    Prasenjit

    i am going crazy now.
    suddenly the mapping is working for the insert/update but for the delete it is giving weird results.
    the primary key column in the source table has a value ",1:EH/L/A,13:2,14:9", which should be transformed to EH/L/A::2::9 - i have used substr and instr to achieve this.
    but in the case of delete operation, thru the debugger i get the expected result - the corresponding row is getting deleted from the target, but theu the deployment manager - another row is getting inserted into the target table.
    on checking the target table, i find the corresponding columns having values - "::::" - don't know the reason.
    thanks and regards.

  • Problem in copy the file from WAR

    I have the following requirement.
    I have one file in WAR file which is to be copied to sme location in server during Server start after deployment.
    I am using one servlet, which is being loaded during startup. I have written the code in "init" method of servlet.
    try {
    String fontFolderString = config.getServletContext().getInitParameter("WORKING_FOLDER")+ "\\fontFolder";
    BufferedInputStream bis = (BufferedInputStream)this.getClass().getClassLoader().getResourceAsStream("\\image\\a.jpg");
    File in = new File("");
    File out = new File(fontFolderString);
    BufferedInputStream bis = new BufferedInputStream(new FileInputStream(in));
    BufferedOutputStream bos = new BufferedOutputStream(
    new FileOutputStream(out));
    byte inArr[] = new byte[bis.available()];
    int size = bis.read(inArr, 0, inArr.length);
    bos.write(inArr, 0, size);
    bis.close();
    bos.close();
    } catch (Exception e) {
         e.printStackTrace();
    }image folder as mention in the line "BufferedInputStream bis" is in the directlry where servlet is there.
    Here "bis" is being returned as null.
    Please provide me the pointers what is wrong above
    ~Aman

    The line of code
    getClass().getClassLoader().getResourceAsStream("\\image\\a.jpg");searches the file a.jpg inside a dicrectory image located in the classpath of the web application. For example in web-inf/classes... The position of the servlet is insignificant.
    If you are looking for the file in the web context (for example in the image folder of your web application you should use:
    config.getServletContext().getResourceAsStream("\\image\\a.jpg");

  • Copying Mapping from existing multple mapping to One to one mapping

    Hi Experts,
    I am having a scenario in which I am doing one to three mapping.
    I have a input file and I am tarnsforming it to three files HEADER, DETAIl and FOOTER.
    I am using only one mapping for it and it is completed.
    Now I need to do one to one mapping for each HEADER, DETAIL and FOOTer.
    Is there any way that I can copy my mapping from the existing one and do the one to one mapping.
    Regards
    Pradeep

    Hi,
    I guess it should be possible to copy your mapping (3 times) and remove the parts that you don't need.
    The problem (in PI 7.0) is that if you have more than one message at the target side and reduce it to one message your field mappings are lost.
    You can avoid this if you set the occurence of your target message to 0.. unbounded.
    If you don't want to do this you could copy for all fields the last field before the target field (right click on field -> copy) and paste it in your new mapping (this will copy your complete mapping structure).
    Regards
    Patrick
    Edited by: Patrick Koehnen on Jan 12, 2009 11:48 AM

  • Copying maps from dev to prod

    owb version 9.2.0.2.8
    oracle version 9.2.0.5.0
    SunOS 5.9
    I am working on a "move to production" process which will accomodate a major release
    as well as minor enhancements/bug fixes.
    I have one project and two modules - development and production. I will be using
    unix shell scripts and sqlplus_exec_template to exec maps.
    I make ddl changes outside of owb and import them into the development or production modules.
    In the design repository, I am wondering what is the best way to "copy" maps from
    development to production???
    I have tried the manual "copy" within the design repository client and found it
    generates no errors but lots of warnings.
    VLD-1008 referenced mapping column <x> does not exist
    VLD-1003 reference <x> between mapping object and repository object does not exist
    I can deploy the map with these warnings and when executed it populates tables
    correctly in the production environment.
    Should I worry about the warnings?
    I haven't tried export/import yet - my impression is that this is not for just one
    or two maps. And will I get the same warnings?

    I'd recommend you take a look at this case study... http://www.oracle.com/technology/products/warehouse/pdf/Cases/case9.pdf
    You may want to rethink how you manage development and production. There are a few reasons ...
    - When you copy a mapping from one module to another in the same repository, the operators inside the mapping will have to be reconciled to remove those warnings
    - In the GUI, you can only copy one object at a time
    - You can't compare objects between development, production, and any other environments you have.
    You probably want to consider using snapshots as decribed in the "mature phase" in the case study.
    At my company, we are using the initial phase to control changes. We have a Design Repository for each environment and each environment has multiple modules. As in your situation, our DDL is defined outside of OWB and we import object definitions into the repository.
    Anyway you go, it'd be a good idea to make use of OMBPlus to automate some processes (creating/restoring snapshots, export/import mdl, reconcile maps to objects, deploying maps, etc).
    You can find other OWB Case Studies here...
    http://www.oracle.com/technology/products/warehouse/htdocs/OTN_DocResources.html
    Also, take a look at "Querying the Warehouse Builder repository" in the OWB Exchange. You can use that to compare the objects defined in OWB with those defined in the database. It has been very helpful to for us.

  • Mail: Problem with copy&paste from Remote Session

    Hi,
    I have a problem to copy just text from remote session (MS RDP Client) directly into an email. It always shows a contact .
    The workaround is to paste into any other app, it doesn't matter which one. It works with Outlook for Mac but not with Mail. Does someone have the same issue and maybe a solution?
    Due to connection issues I cannot use Outlook outside the company... so not an alternative at the moment.
    Thanks

    Hi,
    I test the issue with my colleague and didn't find the same issue.
    Here is the screenshot:
    So please check if Lync Server 2013 and all the issued Lync 2013 client update to the latest version firstly, it not update to the latest version, update it and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Copying table rows from one table to another table form

    Hi
    I have a problem about Copying table rows from one table to another table form.On jsf pages if you enter command button go anather jsf page and it copy one row to another table row. But when i execute this process for table FORM it doesn't copy I wrote a code under "createRowFromResultSet - overridden for custom java data source support." Code block is:
    ViewRowImpl value = super.createRowFromResultSet(qc, resultSet);
    try{
    AdfFacesContext fct = AdfFacesContext.getCurrentInstance();
    Number abc = (Number)fct.getProcessScope().get("___");
    value.setAttribute("___",abc);
    }catch(Exception ex){System.out.println(ex);  }
    return value;

    Table may be copied with the
    expdp and impdp utilities.
    http://www.oracle.com/technology/products/database/utilities/index.html

  • Help copy large file from iPhone to PC

    Hello Everybody.
    I’m coding the Record application. However, I have problem with copying the file from iPhone device to the PC after recording. I used Attach File function on Email but it doesn’t allow with large size > 10MB file. I haven’t found any solution yet for this problem. iTune 9.0 has “Include Voice Memos” function, can i do the same with my application ? “Include My App” e.g.
    Anybody knows other solution for this problem?
    Thanks for read

    You could check your approach against this article: http://support.apple.com/kb/HT4083.  If you are still having trouble you could try an app that will send it wirelessly, such as PhotoSync.

  • Problems with external context mapping

    Hi ,
    I am having the following problems with external context mapping from one WD component to another.
    Problem description:
    In the <i>Component Interfaces</i> I have defined a WD interface "InfA".
    In the <i>interface controller</i> of this compoenent,I have ContextA and attributeA(cardinality 1..1).The contextA is marked as an "Input Element".
    Now my webdynpro componentB adds InfA as used component.In componentB I decalre a contextB with attributeB and map it to contextA to set up the external context mapping.
    Now I expect that if any webdynpro component implements this WD interface InfA ,he has access to contextA with the data getting filled from contextB.
    After i have created the component for the used component I try to fill values in the source node contextB thru this code:
    wdContext.currentContextB.setB(value);
    But in the runtime I keep getting error nullPointerException for nodeContextB,suggesting that the mapping has not been completed.
    Can anyone suggest due to what the error can come ,and, if its a webdynpro bug ,is there a workaround??
    Thanks in advance for your help.
    Best regards
    Sourav

    HI,
    Valery : I personally checked  by doing the example, if the names of value attribute are different in the child's interface and parents component controller then it throws the exception.
    Sourav: NullPointer Exception is thrown when something is not properly initialised, if in the main component the cardinality of mapped origin is 1.1 then you need to access it element directly like:
    wdContext.currentParentNodeElement().setFname("Abhijeet");
        wdContext.currentParentNodeElement().setLname("M");
    i will suggest just check out if you are declaring some element of value node and without initialising taking its use or what?
    if this doesnt solve your problem, please post the expanded exception.
    hope it helps
    let me know if you face nay problem
    regards

  • Download doc problem when copied from APEX_APPLICATION_FILES to local table

    Good morning!
    As the subject indicatesm, I am experiencing problems downloading a document I have copied from APEX_APPLICATION_FILES to my local table FILE_SUBJECTS
    and would be very grateful if someone could help.
    Here is the problem:
    I can successfully upload a document into APEX_APPLICATION_FILES and dowload it from there too.
    I can copy the record from APEX_APPLICATION_FILES into my local table FILE_SUBJECTS and delete that entry from APEX_APPLICATION_FILES but I cannot download it from my local table, it keeps pointing me to a page which cannot be found, so I'm guessing there is something wrong with either, my INSERT INTO statement or, my link in the report.
    My INSERT INTO statement is:
    INSERT INTO file_subjects (id,filename,updated_by,updated_on,blob_content,mime_type)
    SELECT id, filename, name, updated_by, updated_on,blob_content,mime_type
    FROM APEX_APPLICATION_FILES
    WHERE APEX_APPLICATION_FILES.filename = :P2_FILE_NAME;
    REPORT LINK
    I have tried just a normal column link in my report like: #ID# (this works when looking at APEX_APPLICATION_FILES)
    but I have also tried the following:
    #OWNER#.DOWNLOAD_MY_FILE?p_file=#ID#
    where download_my_file is a procedure:
    create or replace PROCEDURE "DOWNLOAD_MY_FILE" (p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    --apex_application.g_flow_id := 166;
    --if not(APEX_CUSTOM_AUTH.IS_SESSION_VALID) then
    -- owa_util.status_line(404, 'Page Not Found', true);
    -- return;
    --end if;
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM FILE_SUBJECTS
    WHERE id = p_file;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end DOWNLOAD_MY_FILE;
    Many thanks in advance!
    Sue

    Sue,
    If you are running XE or running with the EPG versus the http server, you need to grant access to the procedure you are using for it to be run properly..
    You may need to look at this function, if you are using XE or have the EPG setup for your database.. http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e12856/adm_wrkspc.htm#BABEFDHI [Look for the section called *Restricting Access to Oracle Application Express by Database Access Descriptor (DAD)*]
    Thank you,
    Tony Miller
    Webster, TX

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • A problem with copying text from english pdf to a word file

    i have a problem with copying text from english pdf to a word file. the english text of pdf turns to be unknown signs when i copy them to word file .
    i illustrated what i mean in the picture i attached . note that i have adobe acrobat reader 9 . so please help cause i need to copy text to translate it .

    Is this an e-book? Does it allow for copying? It is possible that the pdf file is a scan of a book?

Maybe you are looking for

  • Backup I-Tunes Music to another portable hard drive?

    I would like to backup my music to a portable hard drive instead of multiple DVDs within the I-Tunes program. Is there another way to do this?

  • New Imac for Final Cut Studio

    Upgrading from my 24" Imac to a refurbished 27". I'm just getting started with FCS, will this one be sufficient http://store.apple.com/us/product/FB953LL/A?mco=MTU3ODcyNDE Or will I need to upgrade to this one "really cant right now due to cost" http

  • How to compile a piece of code from the database

    I've created my own object navigator which is also able to view the code of a certain object. (HTML) I'm trying to create a function to compile this code again to the database. I've tried "execute immediate" but this has the downside that It can only

  • Enhance the performance of FM!

    Hi, I have a FM which is using  inner Join statement from four DB tables for extracting selected fields into an Internal table as shown below: select ofield1 pfield2 tfield3 cfield4 ( and so on upto approximately 30 fileds ) into  (Itab-filed1, itab-

  • Sqlldr load data

    HI I have a data file like this ================================================================= Data File: /opt/oracle/dc/data/diff/tsn/rk.txt 664632 Rows successfully loaded. 0 Rows not loaded due to data errors. 417 Rows not loaded because all WH