Importing via xml deletes already populated fields???

Hey all
Im kind of new to this, so any help would be great.
I've created some forms that have similar named fields but some fields are named differently, If I fill in one form and export data as xml and then import this data into another form that has has a few textfields/numericfields already containing data, the imported data imports fine, but the the fields containing data previously, which have totally different field names are wiped?
Anybody have any ideas at all?  All information would be superb.
Lee

In PL 36 I had a very bad problem trying to create the invoice from draft (via XML).  This was caused by the CogsAcct field. When I stripped it from the xml then it worked...
Regards

Similar Messages

  • Importing BW objects via XML

    Hi,
    CRM 7.0 comes with Data Warehousing workbench. I need to make some reports in CRM which are already present in BW system. The idea is to make cubes in CRM and load from BW and make reports in CRM system.
    I am planning to import the objects (characteristics, key figures, cube etc) via XML import in transport connection.
    I would like to know the limitations of it. Is there any restriction on file size?
    Regards,
    Gaurav

    Hi Dirk,
    thank you for your fast reply!
    I'll check the possibility of using BAPIs.
    The advantage of the approach with exporting, editing and re-importing xml metadata definitions is that I just have to rename the objects in the xml file, which should be a matter of a few hours. But what to do with tags like
    <XMISAPBI:com.sap.bw.cwm.core.InfoObject.descriptionLong xmi.idref="com.sap.bw.cwm.core.Description::81DD390D55F1A048AC444F945"/>
    where the GUID refers to the description later in the xml file. Can I just create my own GUID?
    Some more background information: my first idea was to use the xml export as a helper for automated documentation. And then I thought, why don't develop a small two way tool, which can comfortably create or edit a metadata xml file.
    Kind regards,
    Martin

  • Deleting cube or dimension via XML

    Does anybody have an XML template I can use to delete cubes and/or dimensions from an Analytic Workspace, rather than using AWM ? I have a PL/SQL utility to create cubes and dimensions via XML templates (using DBMS_AW_XML.EXECUTE), but I'd like to build in functionality to delete structures if they already exist.
    It looks like the Java API contains functions to perform these actions, but I'm not a Java person, and I'd like to trigger these actions from my PL/SQL utility, and executing XML seems a neat option.

    I managed to find a way of doing it, using XML like the attached, where you replace CUBEXYZ with the name of the cube you wish to delete. Similar approach works for deleting dimensions.
    <!-- &lt;!DOCTYPE XMI SYSTEM &apos;Model.dtd&apos; &gt; -->
    <AWXML version = '1.0' timestamp = 'Mon Feb 11 13:29:11 2002'>
    <AWXML.content>
    <Delete Id="Action0">
    <ActiveObject>
    <Cube Id="CUBEXYZ.CUBE">
    </Cube>
    </ActiveObject>
    </Delete>
    </AWXML.content>
    </AWXML>

  • How to delete already imported photos?

    So, I connected my camera to my computer and ran iPhoto to import some of the pictures. Since most of them were videos, I left my computer to do the import overnight. My camera doesn't charge while importing, so it turned off, luckily my selected photos and videos were already imported. In the morning, I couldn't pick the option of deleting my imported photos from my device (the camera was already disconnected from my Mac). Is there any way of deleting these automatically? An option of deleting already imported pictures and videos when I connect my camera?
    Thanks in advance.

    use the camera's format command to reformat and erase the memory card
    a best practice to is to never have any computer program (including iPhoto) delete the photos from the card but to import the photos and keep them and then after at least one successful backup cycle has completed and then reformat the card --  I use three very large (32 GB) cards in rotation so I do not reformat for typically a year or more giving me one more long term backup of my photos
    LN

  • Importing BusinessPartners Data via XML

    Greetings,
    I've got a problem on importing BusinessPartners data via XML. I exported an BusinessPartners object by using the GetBusinessObject and SaveXML methods and I now want to use this XML file to create a new BusinessPartners object.
    <i>Dim vCmp As SAPbobsCOM.Company
    'settings & connect...
    vCmp.XmlExportType = BoXmlExportTypes.xet_ValidNodesOnly
    'or  vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode
    Dim vBPSave As SAPbobsCOM.BusinessPartners
    vBPSave = vCmp.GetBusinessObjectFromXML("C:\object.xml", 0)
    ...</i>
    Error is like this:
    <i>Exception Details: System.Runtime.InteropServices.COMException: <ErrorList><Error>System Id = 361754288, Line Number = 1, Column Number = 79, Description = The namespace of element 'schema' must be from the schema namespace.</Error><Error>System Id = 361754288, Line Number = 1, Column Number = 99, ...</i>
    Can anyone tell me what the problem is? Is there any other propertis I need to set?

    I found where the problem was.
    This line should be used before create the XML file:
    <i>vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode</i>

  • Adding attachment via XML calls

    I am trying to associate an attachment to a punch list item via XML in C#. Whenever I try to insert an Attachment object, I am getting a generic 'Error' message back. The XML is properly formed and I am populating it with values in the same locations as a file attached via the Contract Management interface. The code to insert the punch list item works fine and it appears in the CM interface. Does anyone have any experience with this scenario? Note: I am uploading the physical file separately.

    Here is an example of one that worked here. A couple comments on yours. I did not see a Base_sys_item_type in your code. Which I believe is required for this table. Usually whan I have a question about what data I need to send I'll add a record manually then duplicate what I see in the table. Another thing you should know is that the API will not receive actual files. All it currently does is create links. Files still need to be placed in the correct location. I do that here using some code that copies the files to the correct location when we load in bulk.
    We are using CM on some huge projects. I have used the API to integrate and to add/delete/update hundreds of thousands of records. Each module seems to be slightly different, so be wary and always test if/how the API works. Each type can have it's own unique list of required fields etc..
    <?xml version="1.0" encoding="UTF-8"?><request xmlns="http://app.expedition.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://app.expedition.com/ http://127.0.0.1/exponline/xml-schemas/request.xsd"><header requestType="DETAIL" sysitemtype="DLNK"><sessionId>000TfQLKK1000630000000BURN</sessionId><action>INSERT</action><getUpdatedDataInResponse>true</getUpdatedDataInResponse></header><DLNK>
         <attachment>J:\data\<Attachment Name>.PDF</attachment>
         <base_item_type>SNT</base_item_type>
         <base_master_key>0002YOCBJ0727800000000BURN</base_master_key>
         <base_parent_key></base_parent_key>
         <base_sys_item_type>SNT</base_sys_item_type>
         <created_by></created_by>
         <created_date></created_date>
         <created_system></created_system>
         <date_linked>2009-02-03T12:00:00.0000000</date_linked>
         <file_size>0</file_size>
         <is_a_url>0</is_a_url>
         <item_type>DLNK</item_type>
         <last_edit_by></last_edit_by>
         <last_edit_date></last_edit_date>
         <last_edit_system></last_edit_system>
         <linked_by_user>Joe Manzi</linked_by_user>
         <linked_by_user_name>Joe Manzi</linked_by_user_name>
         <location></location>
         <master_key></master_key>
         <project_name>"Your Project name"</project_name>
         <sender_login_name></sender_login_name>
         <subject>test</subject>
         <sys_item_type>DLNK</sys_item_type>
    </DLNK></request>

  • How to delete the populated data in the control screen of XK02 transaction

    In the vendor master ( XK01/2/3)  "Control screen " we have some user defined fields with data already populated into those fields. Now, the user is asking to delete the data which is already populated for a particular purchaging Organization. How to do that.
    Ur help wil be highly appreciated.

    Hello,
    If the data is like after every C5* or C6* there is an underscroll sign (_), then below code will work in start routine:
    Data: wa_source_package like line of source_package,
              itab_sp type standard table of tys_SC_1,
              a(6) type c,
              b(10) type c.
    loop at source_package into wa_source_package.
       split wa_source_package at '_' into a and b.
       if strlen( a ) = 7.
          append wa_source_package to itab_sp.
       endif.
    endloop.
    refresh source_package.
    source_package = itab_sp.
    Regards,
    Shashank

  • How to import multiple xml records into PDF form

    Our organization needs to print and distribute serveral hundred PDF forms to our members.  We want to populate the names and some other basic info at the top of each form so the member can fill in the rest and sign and return it.  I have the one page form set up with the fields and it's connected to an xml schema data source.  When I import the xml file it reads the first record and that's it - how do I get it to read all of the xml records into a copy of the form for each record in the xml data source file so we can print and discribute the forms?  We are using Acrobat 9 Pro on a Windows 7 32 bit machine.
    Thanks

    Is this a form created with Acrobat or LiveCycle?
    Acrobat would need uniquely named fields for each individual's page or pages if they are all in one file.
    If you are processing one PDF file per individual, I would look at splitting the XML or FDF file into a record for each individual and them populating each individual's PDF form.
    You could even use a tab delimited file and a template to populate the  PDF template and then spawn a new page from the template.
    With LiveCycle I would look at using a database for the variable data.

  • Can't see some Business Rules after running the Import via LCM

    I am trying to migrate our Business Rules down from Prod to Dev to get them back in sync. Here is the steps I have run:
    Export ALL Business Rules and Sequences from Prod via LCM
    I confirmed the export directory contains an .xml file for EACH Rule.
    copied the export directory down to Dev Shared Services server
    Turned on DEBUG for Shared Services
    Deleted ALL Business Rules and Sequences from Dev EAS BR repository
    I confirmed that ALL BUsiness Rules are listed and checked in LCM Import.
    run the Import from Dev Shared Services via LCM
    I get a Completed successfully message. No Errors.
    I Refresh Rules in Dev EAS and I only see 25% of the Business Rules listed.
    I have tried to Stop/Restart the EAS services and still nothing.
    I confirmed that the ID I am using to Export / Import has access on each Business Rule either directly or via a Group that has access.
    Any thoughts??
    Thanks in advance for any assistance on this!
    Robert

    Thanks John!
    I was really trying to get it done via LCM since I have all other migrations being done there. but I ended up taking your advice and doing it the old fashion way via EAS export.
    To answer your questions:
    We are on 11.1.1.3
    I did not see any problems in the Services logs for EAS. Nothing that stood out.
    We are migratiing 66 Rules and 15 Sequences.
    We are using Weblogic instead of Tomcat.
    Even though I have a workaround for the issue I am still interested in understanding why some of them did not import via LCM. You mentioned that you might consider adjusting some config settings. What settings would you recommend looking at?
    Thanks again John!
    Robert
    Edited by: user627522 on Nov 16, 2010 6:27 PM

  • OIM 11g R2: Delete User UDF fields

    Hi all,
    I installed and configured OIM 11g R2. In this environment I created an UDF for User entity.
    Here the steps that I followed:
    - created a sanbox
    - opened User Form
    - added a custom field named "MyCustomField". The type field is Text.
    Now, due to a mistake during UDF creation, I have to delete it.
    I found this post (OIM 11gR2 - Unable to remove UDF which describe how to delete an UDF field.
    The post gives these instructions:
    - export the sandbox
    - remove UDF occurences in xml files
    - import the sanbox
    I followed the instructions and at the and I checked the result: the UDF field does not exist in the User form, but the associated database field still exits in database.
    My question is: how I can delete the database filed without create database inconsistency?
    Thanks in advance,
    Daniele

    Hi Nayan,
    I tried to export Users.xml using Depolyment Manager Export, but I the export failed whit this error.
    [2012-10-09T10:03:37.366+02:00] [oim_server1] [ERROR] [] [XELLERATE.WEBAPP] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: fc578f2854422d44:67bee673:13a2720c2c5:-8000-0000000000015853,0] [APP: oim#11.1.2.0.0] Class/Method: LoadDeploymentUtility/handleExportData encounter some problems: invalid character in name[[
    Thor.API.Exceptions.tcAPIException: invalid character in name
    at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.getExportXML(tcExportOperationsBean.java:245)
    at Thor.API.Operations.tcExportOperationsIntfEJB.getExportXMLx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.xml.parser.v2.XMLDOMException: invalid character in name
    at oracle.xml.util.XMLUtil.validateName(XMLUtil.java:464)
    at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:877)
    at com.thortech.xl.ddm.repositories.api.impl.APIRepository.getElementforHashMapAttribute(APIRepository.java:552)
    at com.thortech.xl.ddm.engine.visitor.ExportVisitor.visitStarted(ExportVisitor.java:126)
    at com.thortech.xl.ddm.engine.data.datatypes.SchemaInstance.traverse(SchemaInstance.java:252)
    at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.export(tcExportOperationsBean.java:281)
    at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.getExportXML(tcExportOperationsBean.java:235)
    ... 120 more
    ]]Do you have any other suggestions?
    Thanks,
    Daniele

  • How to import multiple XML files into one inDesign document without copy/paste ?

    I use InDesign CS6, and I have several XML files with the same structure. Only the data are different.
    I created  an Indesign layout with some tagged placeholder frames on merge mode, for automated layout.
    Today for each XML file I have to create a new InDesign document to import the XML. Everything works fine. Then in order to have all Indesign layouts one after the other into a single Indesign layout, I have to use the copy/paste function.
    I mean for example, copy the contents of all documents to the first one. Or add pages of other documents to the first one, then delete spaces between each page.
    So my question is the following:
    How to repeat this process without copy/paste function, knowing that the
    number of XML files could be unknown.
    Thank you very much for your answer.

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • A query while  importing  an XML file into a Database Table

    Hi,
    I am Creating an ODI Project to import an XML file into a Database Table.With the help of the following link
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_xml-to-table/odi_project_xml-to-table.htm
    I am facing a problem while creating Physical Schema for the XML Source Model.
    For the
    Schema(Schema)
    and
    Schema(Work Schema) field they have selected GEO_D.
    What is GEO_D here??
    or
    What I have to select here?
    1) schema of the xml file (NB:-I havn't created any .xsd or .dtd file for my .xml file)
    or
    2)my target servers schema
    Please tell me what I'll do??
    Thanks

    and
    Schema(Work Schema) field they have selected GEO_D.
    What is GEO_D here??This is the schema name which is specified in the XML file .
    What I have to select here?
    1) schema of the xml file (NB:-I havn't created any .xsd or .dtd file for my .xml file)Yes
    2)my target servers schema
    Please tell me what I'll do??
    Thanks

  • Error while importing iPlanetResourceObject.xml in OIM

    Hi
    I am facing error when I am trying to import iPlanetResourceObject.xml in oralce identity manager. i.e error in import selection. Please suggest how to solve this issue.
    Thank you

    Use the Install Connector via Web GUI functionality provided OOTB. It will automatically take care of all dependencies etc.

  • Delete COPA value fields in a productive system

    Does anyone have practical experience with deleting COPA value fields in a productive system?
    The issue is that old, no longer used value fields should be deleted from a productive system to allow creating new ones, as the maximun number of value fields is reached.
    An alternative would be to delete the prior transaction data captured on these no longer to be used value fields and rename them for their new use (to avoid that different kind of old and new data is reported on the same value field).
    I am refering to the documentation on transaction KEA0 (or OSS note 160892 up to release 4.5), where it is mentioned that deleting value fields should only be done for operating concerns that have not yet been used productively. Did anyone do this already in a productive system?
    Cheers, Peter

    To delete characteristics or value fields, you should perform the following       
    activities:                                                                               
    1. Delete the corresponding characteristics and value fields from      
    Customizing in all clients (this includes forms, reports, planning     
    layouts, and so forth). To locate characteristics and value fields, use
    the appropriate where-used list in the Customizing Monitor. You can    
    access it by choosing Tools -> Analysis -> Check Customizing Settings  
    (TA KECM).                                                             
    You can jump directly from the where-used list to the relevant         
    Customizing transaction and then delete the appropriate field there.   
    2. Switch to the screen for maintaining the data structure of an       
    operating concern (Maintain operating concern).                                                                               
    3. If you need to effect other changes to the datastucture for the     
    operating concern before making any deletions, effect those changes and
    save the data structure.                                                                               
    4. In order to be able to select the fields of the data structure,     
    choose Extras -> Characteristics (or Value fields) -> Unlock.                                                                               
    5. Select the characteristics and value fields to be deleted and remove
    them from the data structure with the "Reset fields" function.                                                                               
    6. Reactivate the operating concern. The system starts by checking
    whether the operating concern contains any data and whether the fields   
    to be deleted are still being used in any Customizing settings.                                                                               
    7. If none of the fields are still in use, the system then starts the    
    re-activation. If the operating concern does not contain any data or     
    does not require the database system to be converted, the tables are     
    activated. You are then able to activate the environment for the         
    operating concern. In this case, the following activities no longer      
    apply.                                                                   
    If the operating concern already contains data, a system message tells   
    you that the database needs to be converted. If you proceed, an          
    activation log appears (at the top of the list).                                                                               
    8. Analyze the activation log. If it only contains error messages        
    telling you to convert the tables, proceed with the next activity.       
    You must otherwise remove the cause of the errors before the tables can  
    be converted. In this case, you should answer "No" to the next prompt,   
    which asks whether the conversion transaction should start.                                                                               
    9. If you still only receive error messages telling you to convert the   
    tables, choose "Back" and start the conversion.                                                                               
    10. Plan a job for the conversion. A list of the tables to be converted  
    is shown for this. If the tables only contain a small amount of data     
    (less than 10 000 records), then all the tables can be converted in one  
    job. In that case, you can select all the tables.                        
    For larger tables, conversion should take place in several jobs.                  
    However, you should ensure that table CE4xxxx (where xxxx = operating             
    concern) is the last table to be converted.                                       
    Warning. No other changes can be made to the operating concern during             
    the conversion.                                                                   
    A copy of the table is generated during the conversion. The database              
    system should have sufficient memory available for this copy.                     
    To schedule conversion as a job, use the "Schedule selections" function.          
    You can display the current status of the conversion by selecting the             
    "Refresh" icon. Tables disappear from the list once they have been                
    converted sucessfully. If a conversion is taking a while, it is also              
    possible to leave the transaction. You can then continue the conversion           
    using DB requests -> Mass processing in one of the following ways:                
    With the job overview. You access this by choosing System -> Services ->          
    Jobs.                                                                             
    Using the database utility transaction. You access this by choosing               
    Utilities -> Database Utility in the ABAP Dictionary menu.                        
    You can use the status function to call up the status of the operating            
    concern during operating concern maintenance. You need to activate all            
    tables after conversion.                                                                               
    11. To analyze errors that have occurred during the conversion, you can           
    use the database utility transaction by choosing Extras -> Logs. The log          
    has the same name as the conversion job: TBATG-date. You can also                 
    restart the conversion with this transaction.                                     
    For more information on the database utility, choose Help -> Application          
    help while still in the above transaction.                                                                               
    12. Once you have activated all the tables in the operating concern,    
    generate the operating concern environment from within operating concern
    maintenance.                                                            
    You can then use the operating concern again.                           
    Please, refer to the IMG documentation under Controlling ->             
    Profitability Analysis -> Structures -> Define operating concern        
    -> Maintain operating concern, for further details.                     
    Hope it helps

  • XML Mapping with B1 Field

    Hi Expert,
    can anybody know how to identify / map the xml document with b1 field. I did not found any link / documentation on this.
    Thanks,
    Tushar

    Hi Tushar
    You will need to be more specific. Do you want an XML layout to use for importing or exporting SAP Business One objects? Maybe give us details of the specific object. Most DI API objects have a write to XML which will give you the layout for that object. You can also refer to the REFDI.CHM file under the SDK Help folder.
    Kind regards
    Peter Juby

Maybe you are looking for

  • Why does iPhoto keep corrupting my images?

    For the past year, iPhoto 11 has been tremendously buggy on my early 2011 15" MacBook Pro.  It started under Lion and has continued apace under Mountain Lion.  It first started going haywire and crashing every time I tried opening it after any premat

  • PLSQL Interview Questions

    Hi I recently faced an interview below are some of the questions I was unable to answer confidently. Please can you answer these: 1. In an Explain plan, what does the columns "Time" and "Rows" suggest? Is it the actual time the query should take and

  • My ipad wont turn on while being charged

    Hi Today While using my ipad 4 it died while under 10%. so when i tried to charge it turned on for a second and died again. I Have tried pressing the home and sleep button together for 10 seconds but it still does the same thing. (I use a Thrid party

  • Label graphics script in CS2?

    does anyone know if the LabelGraphics script for CS3 can be modified for use in IDCS2? Any hints on how to do it? Thanks jon

  • How to convert Tables in ECC to Tables in 4.6C

    Friends,    I have a unique requirement where I need to copy the smartform from ECC to 4.6C. Everything seems to beokay except filling the table. I have a table in Main window with 2 line types. first one has only one cell (header) and 2nd one has 3