Communication channel - Sender File Adapter - File Encoding

Hello colleagues,
I'm using a sender file adapter to send flat files to the IE for further mapping and transformation @runtime. The flat files which are received by the file adapter are based on two different codepages:
   -> MS-DOS Codepage 437
   -> Windows Codepage 1252.
Do you know by chance which kind of file encoding I have to set in the configuration of the respective sending file adapter for these two code pages?
For the windows codepage 1252 I'm using the file encoding ISO-8859-1, which works quite fine. However, for the input files based on codepage MS-DOS 437, I do not know which kind of file encoding  to use. If anyone could help me with that issue, I would be very glad.
Best regards
Stefan

HI,
Find below link for more help
http://www.kostis.net/charsets/trans130/cpdos.htm

Similar Messages

  • BIC Module Error in Sender Communication channel for EDI to File scenario.

    Hi Experts,
    We are working on the EDI based scenarion where EDI files come to SAP PI from partner and then through Split 997 Adapter Func Ack is sent back to the Partner . But we are facing a issue in our sender Communication Channel which is a File Adapter Channel and uses BIC Module for the conversion of EDI to XML .Request if any one can provide any guidance on the below issue coming in sender CC.
    Error: Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: 2 errors occured. First error: EdiSegmentData read(): Edifact Format not correct : segment must end with \"segment delimiter\" (Segment : ISA). DESCRIPTION: EdiSegmentData Error: Your Edifact Format is incorrect the segment must end with \"segment delimiter\". check segment [not specified]. Last error: InhouseDocReader moveNext(): com.seeburger.jucon.dochandler.AnsiX12DocReader, offset[92(read Segment : ISA)]: could not parse segment (wrong format): EdiSegmentData: Edifact Format not correct : segment must end with "segment delimiter" (Segment : ISA) DESCRIPTION: InhouseDocReader Error: [not specified] at position [not specified] could not parse the segment [not specified] Error while reading description - wrong format.
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Is there any special character present in the EDI file?
    the parser is not able to parse the data.
    you can check the BIC conversion log for more information.
    Regards,
    Harish

  • File adapter, File encoding national characters

    Hi,
    I have a problem with national characters (ÅÄÖ) when sending (receiver adapter) files with the fileadapter.
    When i specify Transfere mode = Binary and File Type = Binary everything works fine but when i use Transfere mode =+ Text+ the national characters gets converted to "?". I have tried to set File Type = text and tryed File Encoding with UTF-8 and ISO-8859-1 without success.
    Please help!
    Regards
    Claes

    Hi,
    Check this out: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42">How To… Work with Character Encodings in Process Integration</a>
    Regards,
    Jakub

  • How to find which communication channel is picking the file

    Hi
    Can any one tell me, how can i  find which communication channel is picking the file from the source directory?
    I have a file scenario. File is coming to directory but it disappears even after I STOP the communication channel, I am using for this scenario
    I want to find out which communication channel is picking the file.
    How can i do it?

    Hi,
    you can try this:
    Go to Communication Channel monitoring in Runtime Workbench.
    Select all file adapters and check cluster node for each Channel. If the file is picked by the channel you will see processing details or errors related to channel here.
      Since as you say the message is not seen in sxmb_moni then the communicaition channel would be red. Files that are picked from directories but not visible in sxmb_moni are usually in error at channel level.
    Hope this helps.
    Regards,

  • Do we communication channels in idoc adapter

    do we create communication channels in idoc adapter
    Edited by: katru vijay on Jul 24, 2010 10:54 AM

    Hi Ashwin,
    I stop and start the channel but it is still in red. The communication channel is working fine.
    Resarting the box will clear this but we cannot restart each time this isuue occurs.
    Ca you suggest any parameter with which we can limit the number of days to 1.
    Thanks.

  • FILE SENDER COMMUNICATION CHANNEL DOESN'T GET FILE

    Hi,
    I have create a new sender communication channel with ftp file configuration. Server parameter and source directory are correct.
    I have also checked file and directory permission (chmod 777)
    Poll interval is 600 secs.
    There is no error in communication channel monitor  (returned log: CC is correctly configured and started).
    Process started every poll interval, but no file is picked up.
    Why?
    Carme

    Hi,
    What type of file are you processing. Check whether the file type is binary or text mode.
    Also check whether the file name you have specified in the CC and the exact file in the directory are the same.
    Also check the file processing mode, whether it is read only, delete or in test mode.
    If the file is in read only mode when the file first processed, then once the file was processed it would be in read only mode, so if you place the new file it should process, so try deleting the existing file in the directory and place a new file with exact file name along with the correct extension and try to process it.
    Also I would suggest you check the exact file extension, by unchecking the radio button in the folder option under the menu tools> Folder options> view-->hide extension for file type.
    Regards,
    Nithiyanandam

  • Sender JMS Synchronous communication channel not picking up files from JMS

    Hello,
    One of our Sender JMS synchronous communication channel (used Sync/Async bridge in the module section to make it Synchronous) is not picking up files from JMS system though the channel looks to be active (greeen).
    When I am trying to stop the channel, it is giving error as "1 of 1 administered and selected channels have not been stopped", and after this when I start the cannel again it shows green but not picking up any files.
    if anyone is haivng any solution for this, please reply back.
    Thanks in advance.

    Messages available in JMS system? please check queue's if message were there and it is not picking up then some thing wrong with cc.
    simple solution create new communication channel with same details and try to use the same.

  • Sender File Adapter : File Name Determination

    Hi All,
    My Scenario :
    1) Im my scenario i need only the "FileName" of the File when picked up by the Sender File Adapter.
    2) Rest Content of the File need not be in the XML file format.
    Now what i did was developed "File Adapter Module " to get the "FileName" when picked up by the Sender File Adapter.
    Outcome : When i put the developed module at first and put the file in specified folder allowint the Sender file Adapter to pick up. Now Everything is fine working when one kind of File is placed as per my Content Coversion paramaters.
    Actual : My Client would place file of any kind (.jpeg -> Mostly , gif ) i need to get only the file name in the Outbound interface , which i would split it further to my Target Interface.
    How could i achieve this , when i took away this content conversion , in sxmb_moni it shows error.I need only the filename in the Outbound not the Content , moreover the hit is i donot know what could be content of my file as it could be different and varing , so i could not set particular content conversion paramters:
    Second Question:
    Now my outbound XML interface looks as below when i test with a file , with proper content conversion paramerters:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <MT_DMS_FINAL>
    - <Record>
    - <Row>
      <FirstName>2323_eer_rtr</FirstName>
      </Row>
      </Record>
      <FileName>d:\mdmtest\srinivaS\padusrini.txt</FileName>
      </MT_DMS_FINAL>
    Well i have designed in my MI only FirstName , how to capture this element "FileName" which i can use it in mapping , if i have to write any UDF to capture it ,please guide me.
    thx in advance for u r help
    with regards
    Srini

    Hi Guys ,
    Can i use File Content Conversion for .pdf document , my pdf doc content is not known, means it"s a complete info doc.I may get .jpeg any picture or drawing.
    I thought i can use below file content conversion paramters:
    Document Name : MT_DMS_FINAL
    RecordSet Name : Record
    RecordSet Structure : Row,*
    Row.fieldNames - FirstName
    Row.fieldSeparator - ;
    Row.processFieldNames - fromConfiguration
    Row.additionalLastFields - ignore
    Row.missingLastfields  -  ignore
    Now i put a pdf doc of unknown content , and my assumption was some set of charater would be dumped in  XML and rest would be ingonered which is least bothered part in my scenario , unless i get the filename from runtime ot Adapter module developed
    But in RWB CC monitoring i see below error :Error: org.xml.sax.SAXParseException: Illegal XML character:  &#xb;.
    Any views on this , can any one help me out with the above requirment. Hope u guys got wat am trying to put out here
    thx in advance for u r help
    with regards
    Srini

  • Remove of quotes"' in the sender file adapter -- file content conversion

    HI Guys,
    MY source file is comma seprated file (,) in the file i had quotes" " for the data like
    "5000543","0.00","03/04/2009",
    is there any way i can remove the quotes in file content conversion
    Please help me on this
    Regards
    Srinivas

    Srinivas,
    This should not be a big deal, because your fields are separated by a comma. So you need to keep in mind like you are doing the content conversion for a csv file.
    See this blogs for some information:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    In the second blog 1345 there are parameters for content conversion. So similarly mention your conversion parameters in your sender communication channel. So after converting to xml your input fields have values like:
    field1:  "5000543"
    field2:  "0.00"
    field3: "03/04/2009"
    So all your field values has with "". Now you can use either standard replace funciton or a udf as given above and then it will remove the quotes and then you can map according to your requirements. If you think sometimes you can get quotes and sometime not in the file then you can use function like startswith or endswith along with exists and can map accordingly.
    Regards,
    ---Satish

  • Issue with Sender File Adapter file content convertion

    Hi Everybody,
    I am facing an issue in FCC at the sender side.
    Below is sender text message which contains 9 rows.Each row represents one node in the source structure.
    ROUASIS.MLASIS.A02001COMASN1.1.2
    HDR7072396166N^MAEU/SZH3PA288200707248IF07082007090311CAFXSYATFXS^20070903
    PPL5705150010506YAT254915402713586045162543971730000002723.000C2750000000024.1602007081120070903^^
    SIM3020070711^20070730Y^^^00
    CONTTNU946652840CN0579566   7335
    CTN100069350800012609166209.850.08068.5830.4838.10
    DTL520^01
    CTN200069350800012609173209.850.08068.5830.4838.10
    DTL520^01
    In the above message CTN row is repeating after each DTL because of which i am getting the error.
    <b>Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation</b>
    Can somebody help me out in resolving this issue.
    Thanks in Advance,
    Arvind

    Hi Arvind
    plas use the following parametes in the sender communication channel.
    i have tried one scenario
    my source structure is like that:
    data  (0..unbounded)
      record (0..unbounded)
         key (1..1)
         fname (1..1)
         lname (1..1)
         age (1..1)
      detail  (0..unbounded)
        key (1..1)
        salary (1..1)
        empid (1..1)
    so use the following parameters at the sender side
    document name:                messge type name
    document namespace:       ur message type namespace
    Recordset name:               data(as per according to my source structure)
    RecordsetStructure:           record,,detail,
    recordsetsequence:           variable
    recordsetpermessage:       *
    keyfieldname:                   key
    and different parameters:
    RECORD.fieldSeparator     ,
    RECORD.fieldNames         KEY,FNAME,LNAME,AGE
    RECORD.keyFieldValue     1
    DETAIL.fieldSeparator         ,
    DETAIL.fieldNames             KEY,SALARY,EMPID
    DETAIL.fieldNames             2
    if you still have the problem pleas reply back.
    Thanks
    Rinku

  • Sender file adapter, file existence check in archive folder if exists rename the same and proceed with current file

    Dear SAP Gurus
    Interface flow:
    File --> File and RFC.
    We have a requirment where PI needs to check the file existency in archive folder and if there is a file already exists with same name we need to rename that file and archive the current file as is...
    Note* Customer don't want to add time stamp!!!!
    For ex today first message processed with file name "UBMO_delta20140626.xml" and archived as is- UBMO_delta20140626.xml
    and customer sends a second file on the same day with same name(UBMO_delta20140626.xml) in this case before archiving PI needs to check whether there is a file exists already in archive folder or not if there is, then it should rename the same like(UBMO_delta20140626_1.xml) and proceed with current message processing and archive the same name(UBMO_delta20140626.xml).
    Many Thanks in advance...
    Nagesh

    Hi Nagesh,
    I think you can use the feature of run operating system command before message processing. you can refer the below wiki for information.
    SAP XI File Adapter OS Command Line Feature - Process Integration - SCN Wiki
    regards,
    Harish

  • Sender File Adapter - File Content Conversion

    Hello,
    i do have a problem with the file content conversion at the sender file adapter.
    I have configured the file content conversion with key field defined
    keyfield: key
    recordsetstructure is set as head,1,item,*
    head.fieldSeparator  | 
    head.beginSeparator  |
    head.endSeparator  |
    head.keyFieldValue  H
    head.fieldNames  key,....
    item.fieldSeparator  | 
    item.beginSeparator  |
    item.endSeparator  |
    item.keyFieldValue I
    item.fieldNames  key,....
    When i run it like this it will not read since it has a problem to identify the key fields.
    When ever i change the whole logic to be not based on fieldseparator but on fixed length, everything is working perfectly fine.
    but this unfortuantly doesn't help as i have no fixed structure for the rest of the fields.
    also when i change the recordsetstructure to head,1,item,1 my file is also processed correctly, of corse only for the first line, it at least tells me that the file structure is correctly defined.
    Can anyone help why the identification for the keyfields doesn't work with field names and separator but in the same set up with fixed lengths ?
    thanks a lot

    Hello All,
    thanks for the helpful answers.
    So i tried Jayan tip and removed the begin Separter.
    Unfortuantly my file is really looking like this |H|...|...| for the header record
    and for the item record |I|...|...| ( this was an" I" like in Item ...
    In my opinion this means i really do have a begin seperator which is the same like the field separator.
    When i removed it from both the file and the config it started to work.
    So i wrote an java function which will trow away the first digit in this case and integrated it in my szenario.
    So that when this file is read there is no | as a begin flag anymore.
    And the whole thing starts to work, this sounds more like a bug then a feature but anyway i am happy.
    so thanks a lot
    Tina

  • Sender FTP Adapter (file transfer w/o mapping)

    Hello everyone!
    Is there a way to configure a Sender FTP Adapter such that it simply picks up a file in an FTP folder then moves it to another FTP folder without changing any data (no mapping needed)?
    I tried doing it, but the Sender Agreement requires you specifiy an Outbound interface (which is not needed in this case). Would anyone of you know a workaround to this?
    Warm regards,
    Glenn

    Hi
    Use dummy interface name. But that should be same in ID objects
    Check this
    How to send any data (even binary) through XI, without using the Integration Repository
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 29, 2008 9:48 AM

  • Communication Channel status successful but file Not Delivered.

    Hi All
    I have a receiver communication channel which is showing status as SUCCESSFUL but the log says The message status was set to NDLV.  Due to which am unable to retrigger it even form Message Monitoring
    Its set to FTP & is not received at that side.
    Kindly put in your inputs on the possible solution for this issue.
    Regards
    Soumen!!!

    I dont think it is held in queue.....you will get an error (the one which you got) and then the message will go into Error state.
    When the channels are stopped and it receives a file it raises an error alert and is set to error state. Later when channel is started the file gets processed(You can try doing it.I did). Here it gave the error message but sets the channel to successful. Thats what is botehring me.
    Looks like you are scheduling the receiver channel....why?
    Had some requirement...
    @ Balaji : Its successful

  • 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

Maybe you are looking for

  • Confirmation report for shipment tracking

    Dear experts,                    how can i  generate a confirmation report for shipment tracking-vendor wise  ??? Regards, Durgesh Tambat.

  • CONTROL DATA FOR ACTIVITY TYPE NOT MAINTAINED

    dear all i get this error when calculating production order cost control data for activity type 1000\4230\1420 not maintained for fiscal year 2007 i hv maintained data in kp26 can any one pl help. i am learnign sap pp and hv 4.7 version thanks and re

  • Any FM to provide user with a text field to enter atleast 50 cahracters?

    Hi gurus! Pelase help me asap. I need to popup a screen with textfield , so that user can enter some text. Is it possible with any existing funtion module?. As i do not prefer to go for calling subscreen and having modules. all suggestions would be r

  • Merge pdf page

    Hi everyone ! I would like to merge pdf documents : I have a client who wants to send a PDF to several people. Each person puts his annotations (like comments) into the document. Then, I get all pdf (always the same, with several comments) and merge

  • Installation of CC failed on iMac

    HI It says Error starting CC cookies dir: cannot make folder/cookies: Permission denied (error13) MacOs 10.7.5 Cookies are enabled. Anyone an idea? Thanks Gerhard