File conversion Problem

Hi Experts,
we are facing a problem when converting one text file by using FTP adapter.
the flat txt file is as below
AT1230001
"AT"  - Segment Name
"123" - Field One
"0001"  - Field Two
we are using FTP Adapter conversion for the same
the result of XML is as below
- <AT>
  <F1>AT</F1>
  <F2>123</F2>
  </AT>
for the field one it is taking the value of Segment Name, as we are giving KeyFieldValue in Configuration "AT".
please help, it is urgent,
Regards,
Study SAP

Hi Chirag,
Thanks for your reply,
what we are facing here is that in our flat file data, it is EDI file
AT is segment name value
*(estric) is separator
123 is first field value
0001 is second field value
in XML conversion the Segment Name is going into the first field name value and first field name is going in second field value and second field we are not able to capture as we have only two fields for capturing.
As in XML format
<AT>
<F1>AT</F1>                   "it is taking the value of Segment Name, but it should capture first field value which is "123"
<F2>123<F2>                "it is taking the value of First field, it should capture value "0001"
</AT>
How we can ignore Segment value when transferring data ?
Regards,
Study SAP

Similar Messages

  • Unicode huge file conversion problem

    I use the command in Unix "<b>sapiconv -f 4110 -t 8600 -o <source file name> <destination file name></b>" calling by ABAP command  "CALL 'SYSTEM' ID 'COMMAND'  "   to convert non-unicode source file to unicode destination file in code page 8600 (Thai language). For the small size source file, It has no problem, but for the huge size source file (27MB - the file was extracted and created by OPEN DATASET from asset master data about 95000 records), it has problem.  There are only about 1300 Records (about 200k) in destination file and <b>the remain records are missing!?!?</b> And every time I run the program, It still has certain result.
    What can I do for this case? or the command 'sapiconv' has the size limitation for unicode file conversion? or which additional parameter should I use?
    Thank you in advance.
    David

    Hello,
    You  can use this function module
    CALL FUNCTION 'ARCHIVOBJECT_GET_CLIENT'
              EXPORTING
                ARCHIV_DOC_ID               =   V_ARCDOCID
                ARCHIV_ID                        =   V_ARCHIVID
                PATH                                 =   V_PATH
    *            DOC_TYPE                       =   'TXT '
    *         IMPORTING
    *            REPATH                           =
    *            COUNT                             =
    *            FILE_NAMES                    =
             EXCEPTIONS
               ERROR_ARCHIV                = 1
               ERROR_COMMUNICATIONTABLE       = 2
               ERROR_KERNEL                = 3
               ERROR_HTTP                     = 4
               OTHERS                             = 5.       
    I think it will help to you,
    Anil.

  • Idoc to flat file conversion: problem with mapping

    Dear experts,
    I have the following scenario: SAP (idoc) -> XI -> 3rd party
    The idoc has s structure like this:
    . ZSCX001 (idoc name)
    ... IDOC
    ..... ORDERHEADER
    ....... ORDERLINE
    ......... DELIVERY LINE
    ......... DELIVERY LINE
    ..... ORDERHEADER
    ....... ORDERLINE
    ......... DELIVERY LINE
    ......... DELIVERY LINE
    etc
    The flat file has this structure:
    . FILENAME
    ... RECORD
    ..... FIELD1
    ..... FIELD2
    ... RECORD
    ..... FIELD1
    ..... FIELD2
    etc
    Now, per IDOC I need to create 1 file. For each delivery-line in the IDOC I need to create 1 record in the outputfile (flat file).
    In message mappings, I did the following:
    - messages-tab: Occurrence of the Idoc and inbound message type for flatfile: both 1
    - design-tab: I linked IDOC to the FILENAME (so for each Idoc I create 1 flat file)
    - design-tab: I linked the tag "Delivery line" to "RECORD" (I expected 1 record per delivery line)
    When I test it, I only get 1 resulting record in the flat file, even if I test with 3 ORDERHEADER->ORDERLINE->DELIVERY LINE segments.
    Can anybody tell me what I am doing wrong?
    Thanks in advance,
    William

    Hi,
    First make sure occurence of Record is 0..unbounded.
    Second use the blow mapping rule..
    Delivery line --->RemoveContext ---> RECORD
    Regards,
    Sarvesh

  • Batch file conversion problem

    I'm trying to batch convert a folder of tif files into jpg files using the file>process mulitple dialogue.
    I select the folder and the select convert to jpeg hi quality
    The process starts but stops at each image with the default file type as .psd I change it and continue and it stops at each image in turn.
    What am I doing wrong?
    Cheers
    Garin

    Are your tif files 16 bits/channel? Open one of the tif files and look at the top
    of the tab.
    MTSTUNER

  • How to debug file content conversion problems?

    Hi,
    I'm trying to debug a file content conversion problem.  I'm mapping a few nodes in an IDOC to a file of fixed length fields.  I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
    However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created.  Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion.  How do I debug this because there is no descriptive error in the XI log?  If this node is not present, the file gets generated fine.
    Thanks,
    Basant Gupta

    Hi,
    If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
    So it wil help you debug the situation.
    If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
    /people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
    Regards,
    Moorthy

  • Sender File adapter File Conversion with key fields

    Please help me guys, I already spent way too much time on this!
    I checked a couple of BLOGs and I think I'm doing the right thing except I'm not getting the result I would expect.
    I'm trying to create an IDoc using the from a flat file.
    I get the following error:
    During the application mapping com/sap/xi/tf/_MM_TEST_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
    The Source file is this:
    H
    L0015
    The file adapter does create the XML below (looks fine):
      <ns:MT_SINGLE xmlns:ns="http://PPSC_TO_BO_INVOICE">
      <HEADER>
         <ID>H</ID>
      </HEADER>
      <LINE>
         <ID>L</ID>
         <SITE>0015</SITE>
      </LINE>
      </ns:MT_SINGLE>
    When I test the map in IR, with the XML that this file adapter created (above) it works fine!
    Also if I take away the HEADER from the source structure everything works fine and I can create the IDoc, therefore I think something must be wrong in the file conversion, the mapping is so simple there is nothing to fail there.
    The file conversion parameters that I have:
    Document Name: MT_SINGLE
    Document Namespace: http://PPSC_TO_BO_INVOICE
    Document Offset:
    Recordset Name: 
    Recordset Namespace:
    Recordset Structure: HEADER,1,LINE,*
    Recordset Sequence: Ascending
    Recordset per Message:
    Key Field name: ID
    Key Field Type: String (Case-Sensitive)
    LINE.fieldNames: ID,SITE
    LINE.fieldFixedLengths: 1,4
    LINE.keyFieldValue: L
    HEADER.fieldNames: ID
    HEADER.fieldFixedLengths: 1
    HEADER.keyFieldValue: H
    What am I doing wrong???
    Any help is much appreciated.
    Thanks,
    Viktor Varga

    Hi Viktor,
    Basic rules:
    1. Down load XML payload(output From Adapter) and test it in IR mapping program. If it is working there is no reason why it will fail in Runtime. Also Check Cache is up to date.
    Generally the problem lies with namespace.
    Hope this helps
    Regards,
    Satish

  • File conversion and append file in receiver file adapter

    Hi
    I have a batch IDoc -> XI(3.0) -> file scenario with file conversion to create a flat CSV-like file. The problem is that because of the amount of data sent from R/3 (~20000 employees), the idoc is split into several idocs. In my receiver file adapter I want to append all the idocs contained in this data transfer to one flat file, before transmitting to FTP server.
    For the next batch transfer (the next day) XI should start all over and create a new file and append all idocs contained in that transfer before transmitting the flat file to FTP server.
    Can this be done using the 'Use Temporary File' and 'Append' options in the FTP connection Parameters in the comm-channel?
    It is not an option to append the file in the FTP-server, because the files in the destination folder are moved immediately after arrival, so the file will be moved before file adapter can append all the files.
    Does anyone have any suggestions to how to solve this?
    Br
    Kenneth

    Hi Kenneth
    Did you ever get a solution to this problem?
    Regards
    Russel Irvine
    [email protected]

  • XML file conversion after sender file content conversion

    Hi,
    I have issue refarding file content conversion.
    My input structure is
    <MT_RCICrecords>
    <TRNH>
      <RCIC>
        <RECH>
        <RECL>
      <RCIC>
    <TRNH>
    Afetr sender File content conversion (csv to xml) it produces xml file as below (since file conversion does not support 3rd level of hierarchy)
    <TRNH>
    <RECH>
    </RECH>
    <RECL>
    </RECL>
    </TRNH>
    It does not recognize RCIC.
    Now i am trying to map this to IDOC and getting error as
    'MT_RCICRecords tag found instead of IDOC BEGIN ='.
    CAn anyone suggest me how to chaage this xml output after File content conversion to add RCIC tag in xml file?
    I am new to XI so please give me some sample code to.
    Thanks.
    Yashpal
    Its urgent!

    My problem is xml generated from content conversion is like below
    <MT_RCICrecords>
    <TRNH></TRNH>
    <RECH></RECH>
    <RECL></RECL>
    <TRLR></TRLR>
    </MT_RCICrecords>
    and i want it to be
    <MT_RCICrecords>
    <TRNH></TRNH>
    <RCIC>
    <RECH></RECH>
    <RECL></RECL>
    </RCIC>
    <TRLR></TRLR>
    </MT_RCICrecords>
    which is not happening
    My input message structure is
    MT_RCICrecords
    TRNH
    RCIC
    RECH
    RECL
    i hope it is clear now
    TRLR

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

  • File Conversions with API...!

    Hi guys...!
    I'm searching for a file conversion product that comes with an API, which will enable programmers or developers to integrate it in their program.
    The product must be able to convert PDF, HTML, Excel, Access, Power Point, and Word into a text document. Most of the product that I found do not come with an API.
    Does anyone know a good product that does that...?
    Any suggestion will be welcome....!
    Thanks...

    Would you please btw describe how you want to convert
    a Powerpoint presentation to a txt file?No problem:---------------------------------------------------------------------
    | fancy background fancy background fancy background fancy background |
    | fa+-------------+fancy background fancy background fancy background |
    | fa| little info |fanc <================= KAPWING!  fancy background |
    | fa+-------------+fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy backgroun+-----------------------------------+ ncy background |
    | fancy backgroun| Very important wahwahwah title    |ancy background |
    | fancy backgroun|           (c) some marketeer      |ancy background |
    | fancy backgroun+-----------------------------------+ancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy backgr *PLING!!  background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background fancy background |
    | fancy background fancy background fancy background f+-----------+nd |
    | fancy backgro ZOOOOOFFFF! ======================>d | funky logo |nd |
    | fancy background fancy background fancy background f+-----------+nd |
    ---------------------------------------------------------------------kind regards,
    Jos

  • Raw conversion problem

    I have Photoshop Elements 6 (Camera Raw 4.2) and a Nikon D7000 (Camera Raw 6.3 minimum).  I am using DNG converter 8.1 to create DNG files, but these still will not open in Elements.  I am selecting compatibility of Camera Raw 4.1 in the conversion program.  What else can I do?

    Sorry it took me a long time to reply.  If I send to dropbox (which I can), can I restrict the images to specific email addresses, or will it be accessible to anyone?  Not that I care about the image particularly, as it was only a test.
    Once I have an idea of this, I will do a final test & send the data to dropbox.
    Date: Wed, 19 Mar 2014 15:12:51 -0700
    From: [email protected]
    To: [email protected]
    Subject: Raw conversion problem
        Re: Raw conversion problem
        created by ssprengel in Photoshop Elements - View the full discussion
    It seems like you're doing everything that you're supposed to be doing, and it is not working.  I don't have an explanation why that is, but can you share an original NEF and its DNG via www.dropbox.com or similar and others can test with a newer version of ACR to make sure there isn't something corrupted wtih the files.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6225513#6225513
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6225513#6225513
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6225513#6225513. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • File conversion failures

    Trying to combine pdf files to a single file and get file conversion failure.  What's wrong?

    All are pdf files saved or converted from word.  I've been able to convert several other files.  I have also systematically tried to leave out one file and combine the rest (total 6 files).  Any way to determine which file is the problem.

  • File conversion to word - uploading is showing but nothing is happening

    Hi
    Iv'e just purchased the online file conversion to word, i've just logged in and the adobe reader document shows it's updloading file to Adobe Export PDF online but it's taking ages and doesnt' seem to be working.
    My boss needs this done super urgent - can you please???

    I do not know what the problem is; it's possible that there is a problem with the ExportPDF server?
    If it's super urgent, what I would do is download the free trial of Acrobat Pro, and run the conversion with Acrobat for now.
    [topic moved to ExportPDF forum]

  • Dreamweaver cc html entity conversion problem in mac -NO utf-8 related answer please

    I probably am fighting against a bug existing in DW for a while, and i'm really on the edge of bursting out! 
    Here are the specifications:
    Dreamweaver CC from creative cloud (also tested w/ CS5.5 too) installed on mac, OS and DW user interfaces are english, and on mac turkish keyboard layout is also installed.
    I have been using DW for maybe 15 years, since it was macromedia.. But was always on windows. This is the first time I use it on mac. Here is my problem step by step:
    1- Dreamweaver > Pereferences > New Document > Default Encoding: Western (ISO Latin 1) (NOT UTF-8 PLEASE, IT KEEPS THE CHARS UNCHANGED, ISO LATIN1 IS IMPORTANT)
    2- Go to Design View,
    3- There are 6 special characters in Turkish (times 2 for the caps versions of course), type:
    ĞÜŞİÖÇğüşıöç
    4- Go back to code view, what i should have seen was:
    &#286;&Uuml;&#350;&#304;&Ouml;&Ccedil;&#287;&uuml;&#351;&#305;&ouml;&ccedil;
    But I see:
    Ğ&Uuml;Şİ&Ouml;&Ccedil;ğ&uuml;şı&ouml;&ccedil;
    There are 3 chars (and capital versions) NOT converted to html entity at all. Which were: ĞŞİğşı
    But I should have seen them as: &#286;&#350;&#304;&#287;&#351;&#305;
    Any help would be appreciated, I do not want to leave my old friend DW just because of a weird conversion problem...

    Ok, when you look at the code view, what do you see exactly?
    do you see unconverted
    ĞÜŞİÖÇğüşıöç
    or converted
    &#286;&Uuml;&#350;&#304;&Ouml;&Ccedil;&#287;&uuml;&#351;&#305;&ouml;&ccedil;
    Here is one of my reasons:
    I sometimes create newsletters in turkish for my customers, and the html files i prepare are sent to customers attached as inline through various versions of outlook or thunderbird, or through i completely different email sender company (none is sent by me, i only create the html file). And most of the time the headers and some coding are cut off from the code when used to send as newsletter, and i have no control at all on it. so i have to create absolute correct viewed/rendered html files since i have no control at all on which sending method will be used or which os or browser or mail system will be used to open it...

  • File Import Problems

    I just created a new project that was going to feature edited HD video clips taken from two different sources. The bulk of the footage consists of 1920 x 1080 clips (recorded at 29.97 fps) Logged and Transferred from my Canon Vixia HFS10. I wanted to add some additional clips that were shot on a Kodak Zi8 mini DV recorder at 1280 x 720 (frame rate unknown). The Zi8 belongs to a friend who used it along with the Canon on this particular shoot.
    I've never attempted to mix clips from two different sources before, so I'm sure there are any number of nuances to this process I'm unfamiliar with. In short, though, when I attempt to import the Zi8 clips to the project individually I get the following message: *File Error: 1 file(s) recognized, 0 access denied, 1 unknown.* If I attempt to import the folder they reside in I get this message: *Unsupported Frame Rate. Final Cut Pro does not support this frame rate or the way it is represented.*
    These Zi8 clips are Quick Time Movie (.mov) files, which, as I understand it, should be compatible with FCP. What am I missing here? Any thoughts or recommendations will be greatly appreciated. Thanks in advance.
    Doug

    Apparently I spoke to soon in that last post, Patrick. I just got done performing a ProRes 422 file conversion in Compressor, and _this time_ it worked! Don't know why the same conversion when performed as a QuickTime export was unsuccessful, but apparently there's a difference between the two methods that results in one being acceptable while the other isn't. Strange indeed.
    Even though that problem is solved, I'm going to piggyback on the original question and ask what (if any) kind of challenge am I going to have to deal with relating to working with two different dimensions and frame rates? My thought is that the finished edited clip will end up as a 720 rather than 1080 HD movie if that makes any difference. Thank again for any suggestions and input.
    Doug

Maybe you are looking for

  • If I sync my iPhone with another iTunes of the same Apple ID but none of the songs etc, will it wipe my phone?

    Hi, my computer died before I could back up any of the songs, tv shows etc from iTunes. However, I do have iTunes from the same Apple ID on other computers, but the don't have anything on them. If I put a new album onto the iTunes on the other comput

  • Is there the way to use "Highlight File Format" with Acrobat Reader 9.0 or later?

    hi Do anyone know the way to use "Highlight File Format" with Acrobat Reader 9.0 later or substitutional way to highlight a PDF file as well as highlight file? I want to highlight some words by indicating character's location(from n to m) using Acrob

  • Mapping from legacy to BW

    Hi Gurus We will be having BW which will feed legacy and legacy will do some transformation of data and it will again feed BW. we are in initial stage but not sure which kind of mapping I need to do to prepare initial mapping document.would you pl he

  • Can a photo gallery like this be created in html/CSS?

    http://jeffsullivan.smugmug.com/Landscapes/National-Parks/Zion-National-Park-Utah/1946310_ 6PtgP#136213013_XVhBQ I like the way these galleries expand to browser width - both the thumbs and big image enlarge. I want to learn to make a photo gallery (

  • Best dock for sound system

    I'm looking for either a dock or a/v cable that will give me the best sound from a high-powered serious sound system, not a "micro" system. I've tried a Belkin audio cable connected to my headphone (audio out) jack but the sound is unacceptable. Is t