Conversion of XST file to XML file and vice a versa

Hello All,
I am working on one of the SAP-DMS issue.
Here my requirement is converting the XML file to XST file and vice a versa.
I tried to find out the possible solutioin but not succeed yet...
Please can anyone help with the solution?
Regards,
Reshma

Why don't try with Message Tran Bean
Check this below details out:
Processing Sequence:
1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration:
mtb Transform.Class com.sap.aii.messaging.adapter.Conversion
mtb Transform.ContentType text/xml;charset=utf-8
mtb xml.conversionType SimplePlain2XML
mtb xml.documentName XXX_EXPENSES_mt
mtb xml.fieldContentFormatting trim
mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4
mtb xml.fieldSeparator '0x09'
mtb xml.processFieldNames fromConfiguration
mtb xml.structureTitle RECORD
Regards
Pothana

Similar Messages

  • Hi,Can a WAR file be deployed as EAR file and vice versa.

    Hi,Can a WAR file be deployed as EAR file and vice versa.If so what are the changes we need to do.

    hi tel me in detail why u want 2 do that
    why u want to cnvert a web arch into enterp arch

  • How to convert a data set into a xml data and vice versa

    i am new to oracle with xml..
    my aim is to convert a data set into a xml data and vice versa..
    my work is as follows...
    my query:
    select rggpk,rggcode,rggname from ms_regiongeo
    to convert a data set into a xml*
    select XMLType(trim(replace(dbms_xmlgen.getXML('select rggpk,rggcode, rggname from ms_regiongeo'),'<?xml version="1.0"?>',''))) XML_DATA from dual;
    (this works fine and output of this query is as follows..)
    <ROWSET>
    <ROW>
      <RGGPK>201</RGGPK>
      <RGGCODE>Asia</RGGCODE>
      <RGGNAME>Asia</RGGNAME>
    </ROW>
    <ROW>
      <RGGPK>1</RGGPK>
      <RGGCODE>OTH</RGGCODE>
      <RGGNAME>Others</RGGNAME>
    </ROW>
    <ROW>
      <RGGPK>21</RGGPK>
      <RGGCODE>COB</RGGCODE>
      <RGGNAME>Africa and Yemen</RGGNAME>
    </ROW>
    <ROW>
      <RGGPK>2</RGGPK>
      <RGGCODE>AUS</RGGCODE>
      <RGGNAME>Australia</RGGNAME>
    </ROW>
    <ROW>
      <RGGPK>23</RGGPK>
      <RGGCODE>IND</RGGCODE>
      <RGGNAME>Indian Sub Continent</RGGNAME>
    </ROW>
    <ROW>
      <RGGPK>24</RGGPK>
      <RGGCODE>TVM</RGGCODE>
      <RGGNAME>North America</RGGNAME>
    </ROW>
    </ROWSET>
    and to reverse this process, I tried a query like this..*
    select EXTRACTVALUE (XML_DATA,'ROWSET/ROW/RGGPK') as EMP_ID
    from(
            select XMLType(trim(replace(dbms_xmlgen.getXML('select rggpk,rggcode, rggname from ms_regiongeo'),'<?xml version="1.0"?>',''))) XML_DATA from dual
    )tab1but failed.. and raised with an eror: ORA-19025
    help me..
    regards,
    john

    Hi-
    my aim is to convert a data set into a xml data  You can refer to the below posts
    Adding namespace to XML output
    Re: how to convert table data in xml format based on the xsd.

  • IDOC to flat file and vice versa

    Dear community,
    we should send IDOCs to flat files and read plain files and map them to IDOCs.
    Is there any comfortable way to do this without doing a huge content conversion for
    IDOCs? Exist a SAP standard for such process?
    We receive the IDOC as normal IDOC. Would it be more easy to save the IDOCs
    directly as flat file on ERP file system??
    System PI 7.11
    IDOCS: WHSCON, WHSORD and WMMBXY
    Regards
    Chris
    Edited by: Christian Riekenberg on Feb 1, 2012 2:41 PM

    Hey folks!
    We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
    Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
    Are there any requirements how the multiple IDocs have to be structured within the file?
    Best regards
    Heinrich
    Update:
    I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless?

  • Networking Mac to PC and Vice a versa

    My home office is equipped with a G5 Mac running Panther, a 15"PB running Tiger, and a Pentium4 3.1 Ghz box running WinXP.
    At one point in time, my G5 could see my Windows machine on the network, but after I replaced it with a newer machine, neither my G5 or my PB can see the windows machine on the ethernet network. Any ideas as to why I can no longer the Windows computer on my Mac's network window?
    Ok, so using the info on this page: http://joelshoemaker.com/computer/mac/wxpfs.html which includes the following:
    1. Check WinXP computer name
    2. WinXP- Under Local Area Network properties, turn on File and Printer Sharing.
    2. WinXP- Open folder properties of folder to be shared and turn on "Share folder on Network" and "Allow network users to change files".
    3. On Mac use Connect to Server option and type in: "SMB://computername/shared folder name"
    But I get a message that: "finder can't complete operation because some data in "smb://computername/shared folder name" could not be read or written."
    I also tried the same thing from my PB running Tiger and got the same message. Can anyone tell me if there is anything else I need to check?
    Thanks!
    Note: Of possible interest I used the instructions on this page: http://joelshoemaker.com/computer/mac/mxpfs.html to connect my WinXP to my Mac without any problems.

    Hi Dave,
    Try iFelix's guide for file sharing.
    http://www.ifelix.co.uk/tech/3020.html
    John

  • Can u transfer files via airdrop from a iphone 5 to a mac and vice a versa

    hi,
    can u transfer files via air drop from an iphone 5 to a mac air, and mac air to a iphone 5.

    I would like a constructive response, rather than an ascerbic one.
    We have owned Iphones for a couple of years, and used photostream to copy photos to a PC...
    Within the family, we have 2 ipod touch, 2 x iphone, 2 x ipad minis and 2x Ipad Air.
    I have recently purchased a Mac desktop and would like to use this as a central backup and storage for all devices.
    I have been made aware that photostream / Icloud will only do its thing and back up to the Mac whenever the designated account is open on the Mac. (so I must remember to ensure the account for each family member is opened at lease once a month)
    SO, on one of the iphones, for example, we have over 900 photos in the photostream album. When connected to the Mac, only the last 30 days of photos are copied across (about 60 photos).
    How can I transfer across the other 850 photos ?
    I cannot copy them across to the camera roll on the iphone
    I cannot access them from iphoto
    the camera does not show itself as an " external drive" in Finder (Please note I am more acustomerd to using a PC).
    Itunes only allows "sync" and "backup" of the phone but is not at all helpful. (No indication of what is is/has backed up or synced)
    My Icloud is currently holding 12gb of my data, but the only info I KNOW is in the Icloud is my next dentist appointment.
    I really wish to transfer these photos across, as I would also like to upgrade the ios software, but this needs a few gb of memory space, and, of course, the
    These photos are visible within the iphone, but how do i get them transferred???
    like I said at the beginning, constructive answers please.

  • Can we make a Applet -- Javascript to Managed Bean call Multiple times and vice a versa using a loop?

    Hi,
         I have a requirement wherein im uploading multiple files using an Applet to ADF. With the file sizes relatively lower this works fine but now we have a request to upload bigger files, so the only option i could find is to send the uploaded file data in smaller chunks from the applet to ADF serverside code. But if i want to keep my previous design wherein i was passing the filedata in an encoded string format from the applet to ADF via javascript, i observed that Applets are not able to call a managed bean more than one time and thus only the data sent in the first chunk is received at the client side.
    Could you please provide me with a direction here?

    Can you help understand why you want to use Applet?  Anyhow, check out,  JUpload project on Sourceforge - JUpload - File Upload Applet - General presentation
    for some lead. Not sure if this would help, but no harm checking.

  • Rear Left is sounding from Rear Right and Vice-a-versa. Any soluti

    OKay guys, Im sure there is a very simple solution here but I just cant find it.
    I have a SB Fatality soundcard and I think I have wired it up correctly with the jacks. However, when I go to the THX Setup Console to test and run the 'speaker selection' check etc?I have the front right and rear right 'ladies voice' sounding out of the front left and frear left speakers (or rather, my 5. headphones). The sub and centre are fine.
    What am I doing wrong. I have swapped the jacks but to no avail. Is there a wa to 'swap' the speaker configuration.
    Please help me with this frustraing issue.
    Thanks

    I guess not, then...

  • Why do calls to my iphone show up on my wife's phone and vice a versa.  We have different phone service carriers but share an iClound account.

    Cannot figure out why this is happening.  It appears to be only shared contacts that his is happening with.

    it's by design you need to disable it in the settings
    appleID's were never meant to be shared between several users
    http://osxdaily.com/2014/09/29/stop-other-devices-ringing-iphone-call/

  • I need to access my library on my new computer. My wife has her own itunes account, but we are on the same home network. I do not want her music and vice a versa. Will this happen using icloud??

    can you pick what computer shares icloud or is it the entire network??

    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    You will not be able to Transfer anything from your Apple ID to her New Apple ID.
    Anything Purchased / Downloaded using Your Apple ID remains Tied to your Apple ID.

  • Comparing Application server file and internal table

    hi all
    Iam new to the world of ABAP. I have a requirement wherein i need to compare data in a internal table and that of the file. I need to extract the delta records( ie the record is found in the internal table but not in the file and vice versa ) and put it in another internal table. Which is the best way to do it?
    Awaiting quick reply. Thanks
    Nirmal.

    Hello Nimal
    First read the file into your itab. For comparison you can use the same logic as change documents are prepared. Assuming both of your itabs are of structure struc_a. Then define the following type:
    TYPES: BEGIN OF ty_s_itab_di. 
    INCLUDE TYPE struc_a.
    TYPES: CHIND  TYPE bu_chind.
    TYPES: END OF ty_s_itab_di.
    TYPES: ty_t_itab_di  TYPE STANDARD TABLE OF ty_s_itab_di
                         WITH DEFAULT KEY.
    DATA: 
      gt_itab_old  TYPE ty_t_itab_di,
      gt_itab_new  TYPE ty_t_itab_di.
    Fill itabs gt_Itab_old with the corresponding data of itab1 and gt_itab_new with the corresponding data of itab2.
    Very important: sort you itabs either by all key fields or by all fields.
    Call function CHANGEDOCUMENT_PREPARE_TABLES with the following parameters:
    - CHECK_INDICATOR = ' '
    - TABLE_NEW = gt_Itab_new
    - TABLE_OLD = gt_itab_old
    The function module will remove identical lines from both itabs. New entries in gt_itab_New will have CHIND = 'I' and deleted entries in gt_itab_old will have CHIND = 'D'.
    Read the documentation of the function module and play around with it. You will see that this a quite easy yet powerful approach for comparing itabs.
    Regards
    Uwe

  • Garageband Files on Logic Express and vice versa

    My daughter uses Logic Express at school (sorry, I don't know which version). She has been trying to do her homework on our eMac (OS 10.3.9) using Garageband 1 and her M-Audio midi/usb keyboard via USB.
    Her teacher says that Garageband files should work fine with Logic Express and vice versa.
    The problem is they don't. We have tried importing files, also saving in one programme and opening in the other - all to no avail.
    Presumably we are doing something wrong somewhere. Does anyone know how to get Logic Express to use Garageband 1 files and vice versa, please?
    One more point of information, she saves the files to a 'PikaOne Slim Flycase' 40gb Portable HD to take to school to use on an Apple Laptop type computer (Powerbook?). Both home and school machines appear to be working perfectly with this device.
    She also has some software called 'Logic Hit Kit' but I don't think this is has anything to do with Logic Express. It's files do not work with Logic Express either
    PM6500/300 (603e)   Mac OS 9.1.x  

    That is correct, and you still have your level
    status, it just doesn't show. I read in The Lounge
    (for level 4 & 5) that they were planning to return
    the level status and custom icons to the forum. But
    it has been a long time now, and they haven't. I miss
    my custom icon
    Yes, apparently they intend to at some point. But, they have more pressing things to attend to first, so it might be a while. I have discovered that there's a special forum about this.

  • Is the transformation between XML document and 2 dimensions table important?

    To everyone:
    I am trying to write a paper on this topic.first ,i want to ask whether the transformation between XML data and table in RDBMS is important,because xml data is suitable to transfer from a point to another,but not for storage,so when the transfer begin a program(in DB2,the program is DB2 extender)should change the data format in table into a xml document.And vice versa,the destination point receive the xml document,maybe the same program would store it in table.
    so i wonder if such a program exists in the Oracle8i or later version,and the detail about how the program realizes above funciton.please tell me where can i find related paper or materials.
    thanks!

    To everyone:
    I am trying to write a paper on this topic.first ,i want to ask whether the transformation between XML data and table in RDBMS is important,because xml data is suitable to transfer from a point to another,but not for storage,so when the transfer begin a program(in DB2,the program is DB2 extender)should change the data format in table into a xml document.And vice versa,the destination point receive the xml document,maybe the same program would store it in table.
    so i wonder if such a program exists in the Oracle8i or later version,and the detail about how the program realizes above funciton.please tell me where can i find related paper or materials.
    thanks! That is all oracle XDK is for. You can transform query results to xml and xml back into RDBMS. Infact Oracle provides much more flexible way than a DB2 extender does. In DB2 you need to give a DAD before you get any XML. Oracle relies on the direct transformation of query results into XML and adds flexibility of XSL ontop of the data.
    You can get more information on XML technology section of OTN.
    Once you write the article can we get a chance to see it.

  • Error: Conversion of complete file content of 'filename here' to XML format

    "Error: Conversion of complete file content of 'filename here' to XML format failed"
    We process inbound files every hour, we now got this message we have never seen. But every hour, for three hours, one in many files that are processed get this error. But the file ends with success, and after spot checking the file looks like it made it into SAP.
    What is happening? Anybody know?
    Thank-You.

    hey
    did u see any adapter with red button?
    i m pretty sure there will some sender adapter with red button(meaning error)
    also whatever message failed,can u copy that payload from sxmb_moni and test the message mapping under test tab in IR
    thanx
    ahmad

  • IDOC to Flat File and XML ( Need both the Output)

    Hi ,
    My Scenario is IDOC to File .
    I need o/p in 2 format . ie,    1) Flat File 2 ) XML file
    I have a plan to go with Interface determination , 2 IM and what shd be the condition ?
    or Else  2 Receiver detmination  but condition ?
    How to slove this ?
    Need the Output from Idoc in 2 format ( Flat file and XML file )
    Any Blog , Thread ...Tips...etc
    Regards,
    Jude

    Hi Jude,
    Do like this:
    1. Create two inbound Service Interface (with the same target Message Type)
    2. Create separate Operation mapping with the above service interfaces as target (with the same source service interface)
    3. Create Interface Determination and include these two operation mapping (without any condition)
    4. Create 2 receiver agreement (with two separate communication channel) for each of the target service Inetrface. In one channel use content conversion and the other one will give you normal XML output
    Regards
    Suraj

Maybe you are looking for