How to change  XML  Structure from one form to another form using OO ABAP.

Hi Experts,
In my Scenario, i need to do ABAP Mapping in order to change Incoming structure from one form to another.
My Input to ABAP Mapping (OO ABAP Program)would be :
     <A>..........</A>
     <B>..........</B>
     <C> .........</C>
     <D>..........</D>
     <E>..........</E>
     <F>..........</F>
OO ABAP Program need to read this input and change the XML Structure into below form:
     <A>..........</A>
     <B>..........</B>
     <C> .........</C>
      <X>
            <D>..........</D>
            <E>..........</E>
      <F>...............<F>
Please provide inputs (sample Code) to solve this issue.
Thanks,
Kish.
Edited by: Kishore Reddy Thamma on Jan 22, 2008 2:51 PM
Edited by: Kishore Reddy Thamma on Jan 22, 2008 2:52 PM

Hi,
Please provide sample code or Material for converting XML Structure from one form to another using OO ABAP and
Steps for ABAP MAPPING.
Thanks,
Kish.

Similar Messages

  • How do I transfer files from one computer to another without using cables??

    How do I transfer files from one computer to another without using cables?

    Wifi network
    Email
    Thumb Drive
    Online storage such as, iCloud Google Docs, SkyDrive, etc.

  • How to change the webserver from one server to another server

    Hi all,
    Can you please provide the document for changing the web server location from one server to another server?
    Thanks in Advance.
    Thanks & Regards,
    Siva Prasad B

    Siva Prasad wrote:
    Hi Michel,
    Coping PS_HOME is enough to relocate the web server? And Michel and I said earlier you need to reinstall your webserver... and redeploy the PIA, what's not clear ?
    Nicolas.

  • How to pass a CString from one application to another application using WPARAM/LPARAM in sendmessage fn.

    I have two different application A & B. I am trying to send a message from A to B. In application A , I get the window handle of application B and call postmessage fn to post a message to application B. While posting the message I am trying to send a
    cstring in wparam parameter so that it can be accessed in the message handler.
    Code in Application A:
    void CTestApplnDlg::OnBnClickedOk()
     CString csProcessName = _T("FSAPP.exe");
     CFSProcess objProcess;
     HWND hFSWnd = NULL;
     if(objProcess.GetProcessHandle(csProcessName, hFSWnd))
      CString * csMessage = new CString(_T("This is message from A application."));
      ::PostMessage(hFSWnd, WM_THIRD_PARTY_NOTIFICATION, (WPARAM)csMessage
    , NULL);
    In the other application in the event event handler I try to do the following :
    LRESULT CMainFrame::OnProcessThirdPartyNotification(WPARAM wParam, LPARAM lParam)
     CString* csMessage = (CString*)wParam;
     if(csMessage )
      AfxMessageBox(*csMessage);
     return 0L;
    In the message handler fn, the variable csMessage is pointing to a address but the value is a bad ptr. On accessing the variable like *csMessage it crashes. I have created the variable in heap when the message is posted. So I hope the variable will be in memory.
    Pls help.

    The ultimate problem is that when you place a CString in a wparam like that you are putting an address.  That address only has meaning in the first program.  Your second program cannot access the first programs memory (this is good, otherwise misbehaving
    programs could take down all applications in Windows).  But it does make transferring data between programs more complicated. 
    Some messages like WM_COPYDATA will copy a data buffer from one process to another and are appropriate for what you are trying to do, but a custom message like
    WM_THIRD_PARTY_NOTIFICATION is not one of them.
    By the way your example has a memory leak as well since you would have no way to ever clean up the string you allocate in OnBnClickedOk

  • How to change the datasource from one server to another server?

    i need to change the datasource from development environment to production server. i had configured the JNDI informations like the following in the 'context.xml':
    <Context path="/RFT" docBase="RFT" reloadable="true">
    <Resource
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    validationQuery="select 1"
    name="jdbc/datasource"
    username="sa"
    password="$m1sbag$"
    maxIdle="-1"
    maxActive="0"
    maxWait="5000"
    url="jdbc:microsoft:sqlserver://172.24.151.149:1433;databaseName=Projectgold" />
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>
    and in 'web.xml' included the following code:
    <resource-ref>
                         <res-ref-name>jdbc/datasource</res-ref-name>
                         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
    </resource-ref>
    and mentioned the JNDI Connection Name in the .rpt file as 'jdbc/datasource', but still getting the same connection which one is configured during the report design. need a help to resolve this...
    Thanks,
    Ram

    eventhough it's working fine. I may have deployment problem. Anyway thanks for the reply.
    Regards,
    Ram

  • How to change app store from one country to another then your contry of residence

    How you can switch from one country app store to another country app store the your country of residence.

    You can only use the store in the country where you are - to use another country's store you will need to be in that country and have a valid billing address in that country on your account. If there is a particular item that you would like to buy then you can try requesting that it be added to your country's store, but ultimately it's the content provider (app developer, record company, film studio etc) that will have to grant Apple a license to sell it there : http://www.apple.com/feedback/itunes.html

  • How to transfer app data from one mac to another without using syncing of the iphone?

    Right, recently I have tried to change which computer my Iphone syncs with so that my older mac can be sold or disposed of in some profitable form. I have successfully synced all of my music off of one mac onto another via home sharing at which point I connected my phone to my new computer which suggested that the phone needed a software update. Immediately after doing this I realised that my updated Iphone 3GS would no longer sync to my old computer and attempted to sync it just to confirm this- it failed and stated that the iphone could only sync with itunes 10.1 which is a higher spec than that mac can hold. I then feeling doubtful that things would work out tried to carry on as if this problem were absent but I later discovered that I could only transfer the apps that I had synced to my phone to my new mac and all unsynced apps appeared lost because as I stated previously I could not sync with my older mac which contains all of their data. I have consulted the online apple manual for the phone and all it states is the method of transferring purchases in itunes which I tried and is what lead to the copying of my synced apps on to my new mac. What I am asking is is their anyway that I can 'cheat' so to speak at app transfers. I know that somewhere on my old mac the files are stored with the information of the lost apps but I cannot locate them and would not know how to merge them into my newer itunes if I were to copy and paste them to a memory stick (assuming that this is the right method) Other than this is their any other way of downgrading the upgrades of an iphone or somehow tricking itunes into running a higher update than the computer spec? I've tried all I can and this is really annoying- please help!!!!!!

    I'm not entirely sure what you're asking... I'll have to look on my Mac at home to see exactly where they are, but you should just be able to copy all the apps from your old machine to thumb drive or over the network and put them in iTunes on the new one, then sync. Right click on one of the apps in your iTunes library and choose Show in Finder. That will point you to where they are.
    If you're asking how you can do this and maintain data contained 'within' the apps themselves (high scores, game progress, etc), I don't think there's any way you can do that.

  • How to change all datasources from one database to another

    I have many datasources defined in weblogic connect to one database, login as different users to different sachems.
    Is there any easy way to switch all of them to another database? changing each of them through console seems not so easy.
    Thanks

    you can use WLST - use the console to record the step for 1 datasource, and use the generated python file as a reference
    connect('weblogic', 'weblogic1', 't3:yourhost:7001')
    datasource='your_datasource'
    datasource_url='your_new_url'
    edit()
    startEdit()
    cd('/JDBCSystemResources/' + datasource + '/JDBCResource/' + datasource + '/JDBCDriverParams/' + datasource)
    cmo.setUrl(datasource_url)
    save()
    activate()

  • How do I transfer bookmarks from one computer to another without using the sync feature?

    I have used the Belkin transfer cable which did not transfer the bookmarks. I can't find them on my C Drive. I'd like to transfer them manually using a thumb drive but can't without locating the file with the bookmarks.
    Firefox and its bookmarks are on the original computer. At this time I can't use the synch function, but must manually transfer the bookmarks. How do I recognize in the files and copy on an external device and then transfer

    Ctrl+Shift+B will open the show all bookmarks window
    and on the top of that it has an import/export menu using this you can export all your bookmarks into a file either as html or as a json
    you can then do the reverse on another PC
    does that help?

  • How do I sync apps from one iPhone to another iPhone using my Macbook Pro

    I am a new Mac user....love the product but having a hard time adapting from Windows   but not giving up
    I'm trying to transfer or sync my apps and music from my iPhone 4 to my iPhone 5 using iTunes.  Is this possible?  I've been trying, but having trouble.

    I would think icloud would be the easiest way to do that.
    Barry

  • How do i transfer songs from one iphone to another using bluetooth

    how do i transfer songs from one iphone to another iphone using bluetooth

    You don't. Sync via iTunes to PC/Mac, then to other device.
    Otherwise people could "share" all their purchased music.

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • How do I change an Ipad from one ownership to another?

    How do I change an Ipad from one ownership to another? My husband passed away in June, and I can's seem to
    figure out how to delete his acct. I created a new acct on it in my name, but I can't buy, update, or change anything
    purchased 7/1/13 Ipad 2 - 32G
    Thank you,
    Lynn

    Follow these instructions: What to do before selling or giving away your iPhone, iPad, or iPod touch.

  • How do I transfer iTunes from one computer to another?

    How do I transfer iTunes from one computer to another?

    This really depends on how technical you want to get, and how much of the library data you want to retain. First, there is getting the actual song files over to your new computer. If both computers are on the same network and are on iTunes 9, you can use home sharing to transfer the song files to your new computer.
    Once the files are transferred, now you have to get all of the metadata transferred, like Playlists and Song Ratings. There is a method for doing this that involves editing your Library.xml file to transfer Playlists, Playcounts, etc..
    If all you want to transfer is your Playlists and song files, there are programs that will back up your playlists so you can transfer them to a new computer, but if you're able to do the above XML edits (which are pretty simple), that is preferred (and cheaper).
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

Maybe you are looking for

  • Convert char to p-type

    Hi i have a file with some data i need to load. I have a field which is 13-position length field, with a comma and two decimals. When i try to move it to betgr field of t558a table i got a dump. How can i convert this 13 position char field to betgr

  • Logical Database KDF

    Hello, i want to select all open items of the vendor accounts. I have tried this with the logical database KDF and the selection screen 900 for open items. Now i have the problem, that i also want the customer items of the vendor account. Can i get t

  • How do you set up Logic Pro 9 for transposing instruments?

    Is it possible to set up Logic to recognise transposing instruments? In other words, if I'm playing a Bb trumpet part in C, the score would display the part transposed one tone higher & display the correct key signature, but it would still sound in C

  • Can ANYONE please help with coding query?

    Hi Im currently setting a website up in Adobe Muse/BC - Im not a developer at all!..but a designer and really like this software. However ive come across whats probably quite a simple problem - i just need to put some the module output from my web ap

  • Loading Datagrams with XML SQL Ulitility

    I am trying to exercise the following command from Steve's book Chapter 12. java OracleXML putXML -user xmlbook/xmlbook -filename out.xml newsstory I get a class not found error. Can you tell me where I can find the OracleXML in the PATH assuming I h