Convert File endSeparator Parameter

Hello everybody,
I'm configuring a scenario like this Txt File->XI->ABAP Proxy, and I'm having trouble to make the endSeparator parameter work, here is the example of txt file record that I'm using:
the payload in the inbound message in SXMB_MONI it's like this:
  <?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_TRInsFin_FileBBVA_In xmlns:ns="urn:tesoreria:instrumentosfinancieros">
- <Contratos>
  <Seccion>1S</Seccion>
  <Cod_Formato>F03</Cod_Formato>
  <Num_Mov>535</Num_Mov>
  <Fecha_Gen>151005</Fecha_Gen>
  <Referencia>1510050000000005</Referencia>
  <Contrato>99999999</Contrato>
  <Fecha>151005}</Fecha> ****as you can see the } character is present
  </Contratos>
  </ns:MT_TRInsFin_FileBBVA_In>
the parameters in the configuration channel are like this:
Recordset structure: Contratos,*
Contratos.fieldSeparator = :
Contratos.beginSeparator = {
Contratos.endSeparator = }
Contratos.fieldNames = Seccion,Cod_Formato,Num_Mov,Fecha_Gen,Referencia,Contrato,Fecha
ignoreRecordsetname = True
I think the parameter Contratos.endSeparator = } is correctly called, but It doesn't work, I don't know if using the recordset structure parameter as Contratos,* and using the endseparator like that doesn't work, I would really appreciate any advise from you experts, thanks in advance.
Regards,
Julio

Hi Rajesh and everybody,
beginSeprator is working fine, the problem as you mentioned is only with endSeparator, beginSeprator is equal to {, and I'm trying that endSeparator works with value }, but the } is treated as part of the last column, so I need to make this work because the records are not separated by new line, the actual file looks like this:
so my key filed for the structures are this 1S, 3A, 3CP, so as you can see for every 3A record there is a 3CP record in the same line, but this records need to be treated separately in diferent structures, this records can't be in the same structure, that's why I need to make the } character as my endSeprator for every structure, so right now because the endSeparator is not working I get an error about number of fields for structure because 1S is Contratos, 3A is Emisoras and 3CP is Complementos, my configuration in the sender communication channel goes as follows:
Record Structure: Contratos,1,Emisoras,,Complementos,
Key Field Name: ID
Key Field Type: String(Case-Sensitive)
Parameters for Record Structure:
Contratos.fieldSeparator     :
Contratos.beginSeparator     {
Contratos.endSeparator     }
Contratos.fieldName ID,Cod_Formato,Num_Mov,Fecha_Gen,Referencia,Contrato,Fecha
Contratos.keyFieldValue     1S
Emisoras.fieldSeparator     :
Emisoras.beginSeparator     {
Emisoras.endSeparator     }
Emisoras.fieldNames     ID,Tipo_Val,Emisora,Serie,Cupon,Isin,Titulos,Precio
Emisoras.keyFieldValue     3A
Complementos.fieldSeparator     :
Complementos.beginSeparator     {
Complementos.endSeparator     }
Complementos.fieldNames     ID,Fecha_Amort,Fecha_Precio,Valuacion
Complementos.keyFieldValue     3CP
ignoreRecordsetName     True
so with this parameters the beginSeparator is working fine but not the endSeparator, this the complete scenario but I was testing with only structure Contratos and I was getting no error but the } character was treated as part of the las column, maybe with the complete file you can give me some other advices or tell me what I'm doing wrong, thanks.
Regards,
Julio

Similar Messages

  • Howto use Converting File Content in Rec. Adapt. to suppress a xml-element

    Hi,
    we use PI/700, SP6.
    I have following structure (example):
    <MsgOut>
      <Sender>Partner1</Sender>
      <Receiver>Partner2</Receiver>
      <FlatPayload>
         blabla blabla
      </FlatPayload>
    </Msgout>
    Now I wanna use a XI-File-Adapter to write just a Flat-File with the content (of the element <FlatPayload>):
        blabla blabla
    (in other words: I wanna suppress all other xml-elements beside of FlatPayload)
    But I'm not able to configurate this with the function "Converting File Content"
    I tried different possiblities:
    e.g.
    setting yyy.fieldFixedLengths = 0 and yyy.fixedLengthTooShortHandling = Cut
    (yyy = Sender and Receiver)
    or
    just defining "MsgOut,FlatPayload" as RecordSet Structure (without Sender and Receiver)
    Result: no success.
    Now my question: is it possible to suppress some xml-elements?
    Thanks for your help!
    bye
    Wolfgang

    HI,
    You can suppress the XML Nodes/Elements over here. Not Fields ..
    For e.g if your outout xml is like this
    <MsgOut>
        <Sender>Partner1</Sender>
        <Receiver>Partner2</Receiver>
    <FlatPayload>
       <flatdata> blabla blabla</flatdatat>
    </FlatPayload>
    </Msgout>
    In this case you can suppress the <FlatPayload> node/element here.. Using Cut Parameter in the Receiver File Content COnversion.
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    So in your case, you can restructure your data type as you required.. I have mentioned in vice-versa here
    Hope this helps,
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • Convert file format into UTF-8 while generating text file on FTP server

    Hi Expert,
    I have the requirement to generate text file store it in FTP server and file format should be in UTF-8.
    ABAP Development is completed but text file format generate in ANSI which not acceptable by client.For generating text file and store it on FTP server by using standard function module FTP_R3_TO_SERVER ,but in this function module there is no any parameter option like CODEPAGE for file format conversion. Is there any method or any function module to convert file format to UTF-8 and directly transfer or store it on FTP server.
    <<removed_by_moderator>>
    Thanks ,
    Edited by: Vijay Babu Dudla on Jan 28, 2009 12:48 AM

    I have come across the same issue.  Try calling the FTP_COMMAND function module to make it go into ASCII mode before your FTP the file, like this:
    data: result type table of text with header line.
    call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = 'ascii'
        tables
          data          = result
        exceptions
          tcpip_error   = 1
          command_error = 2
          data_error    = 3.
      call function 'FTP_R3_TO_SERVER'
        exporting
          handle         = hdl
          fname          = docid
          character_mode = 'X'
        tables
          text           = gt_your_table .

  • Using adobe on trial to convert word documents to pdf files...where are my converted files?

    where is my files that i converted ?? please advise.

    Hi nan7080,
    You can find your converted files by logging in to your account at cloud.acrobat.com using your Adobe ID and password.
    Please let us know if you have additional questions.
    Best,
    Sara

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • Convert files

    how to convert file.class to file.java....if i have not the .java file

    Trying to reverse engineer someone else's work? or trying to recover your own code ;)
    Search for "java decompiler" on google or some other similar search tool.

  • I am trying to convert a file from pdf. I can't see it after I hit convert to word and view converted files. How do I know if I have a subscription? Adobe is on my mac dashboard.

    How do I tell if I have already paid for a membership? When I try to convert a pdf file to word, it looks like it is processing the task, but then I can't find the converted file when it says view converted file. Huh? Adobe is on my mac dashboard, I have had an account but can't see the results . . . thanks.

    Hi subscription question,
    I've checked your account; it looks like you tried to place two separate orders this morning, but it doesn't appear that either went through. However, it does sound as though you've been able to convert a file successfully. What happens when you log in to your account at https://cloud.acrobat.com/files? Do you see your converted file there? All converted files are automatically stored in your online account, even when you convert from within Reader.
    Best,
    Sara

  • Itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?

    itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?
    new to itunes, used windows media player before that and always ripped music directly to an external hardrive and accessed it through the player. now that i downloaded itunes it is taking from the external hardrive and copying a second file for each song onto my lap top hard drive which does not have the capacity for all my music. as itunes converts music files i want them saved back onto my external drive or another location i have space for rather than the lap top. how do i change the setting to move the itunes media folder to another location. assuming that hitting copy and past and dropping it in a random location will cause a few errors.

    When I have done this, all I did was network the two machines and copy the contents of the iTunes folder to the other machine, and that's it.
    My understanding (which may not be 100% correct) is that the one file that is absolutely necessary is iTunes Library, and that the XML file is actually a copy auto-generated from the iTunes Library, appearing in a different format only for non-iTunes apps that take advantage of the iTunes Library data.
    As far as I know, if you simply have the Library (database) file and all your original music files, iTunes on that computer should operate as it did on your old computer. I believe that the Album Artwork, Genius Data, and XML files can be regenerated from the Library file. Not sure about the Extras file.

  • I am trying to load new Cd's onto my iTunes in my Mac. But it comes up with cannot convert file? Please can someone help with something that should be so simple.

    I am trying to upload new CD's onto my iTunes account on my Mac but it coming up with cannot convert file.
    "You don't have access for your iTunes media folder or a folder within it. What do I need to do?

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • I have the latest version of iTunes and want to convert  files to MP3 - how do I do that?

    I have iTunes  11.0.4 which is upgraded from 11.0.12 and I have the same problem I had before the upgrade.  The choice to convert files to MP3 no longer exists per the instructions.  Does anyone who works for Apple know how to do this?  Why would Apple take this feature away?  It was really helpful.
    I will have to start using the Amazon Cloud Player if iTunes can't get this resolved.  Help!!!  I love the old iTunes, but the new one ***** - does anyone know how to overcome this problem without 3rd party software?
    Thanks!

    Set up your preferred import format under Edit > Preferences > General > Import Settings, then right click on a selection of tracks to convert. If you want to permanently change the format, discarding the originals, while preserving ratings, play counts and playlist membership, then try my script ConvertFormat.
    tt2

  • Can Adobe Acrobat 9.0 Pro Convert File Hyperlink From Word to PDF?

    Is there any method to convert file link (eg. C:\Documents and Settings\xxx\My Documents\xx.xls) from Word 2000? I have read many related issues, but seems cannot get the final answer. Many of them only mention about URL hyperlink (eg. www.yahoo.com). Can anyone help?

    Do you mean that  Office XP and later version can automatically convert the file link? No need to manually create the link in Acrobat using the link tool?
    I will work this out to see whether ok or not.
    By the way, thank you, Michael Kazlow.

  • XI 3.0 File Adapter: Converting File Content in Sender Adapter

    Hi,
    This is probably a basic question but does anyone have an example of the parameters used when you are using the 'Converting File Content' option on the File Adapter ?
    Also, where do the record sets have to be defined ? Are these data types in the Integration Builder ?
    The documentation is to say the least a bit flaky.
    Any help would be appreciated.
    Kind regards
    Colin.

    Hello,
    I'm wondering if someone has experience setting up conversion for different record structures. The example shown (in a greate way) only picture one kind of structure.
    How should it be done if the file would contain
    10Mat1
    20100PCS
    The first record structure has columns
    ID(2),Material(10)
    The second redcord structure has columns
    ID(2),Quantity(3), Unit of messure (3)
    Brgds
    Kalle

  • Open .pdf file in Word & "Convert File" Box appears...Weird.

    Using my MacBook Pro, I click on a PDF file to open in Microsoft Word & an angry box appears that says "Convert File."
    In the box it says: Convert file from: then it lists various file types i.e., Text only, MS-DOS Text, Rich Text Format, HTML Document, Single File Web Page, Unicode Text and many more.
    It is trying to open a PDF file in Microsoft Word.
    I can't figure out how to change so it opens!!!
    I made the fancy document myself in Microsoft Word and saved it in PDF format on the same computer.
    I am a new Mac user....so if you tell me to go somewhere (well, not anywhere..on the computer!); please be specific and help me get there!
    I've tried the right click trick, open with trick...no luck.  That's not even an option!
    This kindergarten teacher THANKs YOU oh so much!

    I found this...But I don't understand it.   I downloaded the latest versions...still can't view the PDF.
    Am I doing something wrong?  I don't want to edit it!  I just want to VIEW IT~!
    Overview
    Adobe Reader plug-in and Acrobat plug-ins before version 10.1.3 are incompatible with the Safari 5.1 browser that shipped with Mac OS X 10.7 and for 10.6. The Adobe Reader and Acrobat stand-alone applications are unaffected and Safari 5.1 renders PDF documents natively. However, the Adobe Reader and Acrobat browser plug-ins before 10.1.3 don't function as expected in LiveCycle and Acrobat workflows that require either plug-in to render PDF documents in Safari 5.1.
    To the top
    Affected customers
    Any Adobe Reader, Acrobat, and LiveCycle customers who require the Adobe Reader or Acrobat plug-in to render PDF documents in a browser when only Safari 5.1 is present.
    To the top
    Workarounds
    Options include the following:
    Continue to use Safari 5.0.x and Mac OS X 10.6.
    Upgrade to Adobe Reader or Acrobat version 10.1.3 or later.
    Save the PDF file from Safari to the computer, and then open it directly in Adobe Reader or Acrobat. 
    Use desktop virtualization technology such as Citrix to allow applications to run in a controlled environment where the Safari browser isn't upgraded to version 5.1.
    To the top
    Can customers use a different web browser like Chrome or Opera?
    Acrobat Reader plug-in and Acrobat plug-in are dependent on the WebKit WebPlugin API and capabilities that are unique to Safari. Other browsers like Chrome or Opera do not have the required functionality to run the plug-ins properly. As of the 10.1.3 release of Reader, Firefox running in 32-bit mode is now supported on Mac OS.
    What is the impact on LiveCycle Workspace?
    Since LiveCycle Workspace operates in the browser, PDF Forms in Workspace don't function in Safari 5.1 using Adobe Reader or Acrobat versions earlier than 10.1.3.
    What is the impact on Adobe Solutions Accelerators?
    Interactive Statements
    In the primary use case for Interactive Statements, PDFs are delivered via email and can be opened with the stand-alone Adobe Reader or Acrobat. The secondary use case, where the statement is generated and displayed on a website, requires Adobe Reader or Acrobat to operate in-browser and doesn't function using Adobe Reader or Acrobat versions before 10.1.3.
    Correspondence Management
    Internal employees (the Case worker/Claims adjustor and the business user personas) require Adobe Reader and Acrobat to function in-browser and don't function with Safari 5.1 using Adobe Reader or Acrobat versions before 10.1.3. External user use cases do not require that the Adobe Reader or Acrobat operate in-browser, so they aren't affected by the Safari 5.1 browser.
    Managed Review & Approval (MRA) and Integrated Content Review (ICR)
    Since the MRA and ICR solutions require Workspace, these customer use cases can't function in the Safari 5.1 browser using Adobe Reader or Acrobat versions before 10.1.3.

  • ACR Delete bug? Converted files deleted with originals!

    Open ACR with a set of raw files.
    Convert and saw in the same location.
    Mark some/all of the originals for deletion.
    Click Done.
    Both the originals and the converted files are deleted. And contrary to the delete function mouse over description, they are not moved to the trash but deleted completely!
    This is not nice behavior.

    Hi Thomas,
    I just did an experiment. I copied some raw files to a new directory on an external hard drive.
    Opened them in ACR.
    Converted/saved.
    Waited for the save queue to complete.
    Confirmed the jpgs were created in explorer.
    Marked the still selected RAW files for deletion.
    Clicked done.
    About half of the JPGs are deleted, this time to the recycle bin.
    I tried with different number of files, and couldn't determine the pattern of which were deleted.
    If after converting I exit ACR. Then reopen and select the RAWs for deletion, the JPGs are not touched.
    So, more data, but not much more sense. ACR is deleting just-converted JPG's, but not all of them, when it deletes the RAWs. If you work from a CF card, either ACR or XP is deleting not moving to the recycle bin.

  • Unable to convert file to PDF for using in Microsoft Word.

    I purchased Convert file to PDF $19.99.    After several attempts it will not do anything other than  "Converting file to Word using Adobe Export PDF online"   This keeps going up to 20 mins. Still nothing happens. Could anyone help.

    Hi TheaCloneWindsong,
    Do you face this issue with any particular pdf file or any pdf you wish to convert via Export PDF?

Maybe you are looking for

  • Hotmail not working in the Mail app

    I've got a iPad 3G. The Hotmail worked fine for the first few days in the Mail app but it's not working any more. It does not sync. The 'Checking for Mail' keeps on running but no message is downloaded. I've deleted and recreated the account, I've di

  • How to call function in FOX

    In fox , can I use call function which developed by ABAP? I want to use the call function to read table in FOX. thanks

  • Problems trying to copy iPhoto library to Windows Home Server

    I recently purchased a Windows Home Server and want to put my iPhoto library on the NAS. I am having problem and have tried several different approaches to no avail. Any suggestions would be greatly appreciated. I understand that the iPhoto library i

  • UK delivery times for photbooks?

    Hi Can anyone give me an idea, based on experience, of delivery times for photobooks ordered from the UK? I noticed that when you order, it says international orders dispatched in 2 working days, which made me think they are coming from the USA and m

  • An Idiot trying to use Points

    I'm trying to familiarise myself with using points. As a quick test, just to lay the foundations, I decided to write a small piece of code: public class UsingPoints     public void main(point p)         System.out.println(p); }By running this I was e