Content Conversion for Sending Communication Channel using File Protocol

I have a file as follows:
CUSC,CRCA,OBAL,DATE
10197,0111,15250094.05,20071008
10758,0111,8131440.17,20071008
12939,0111,8212006.53,20071008
13129,0111,6953749.77,20071008
13331,0111,8607294.15,20071008
13579,0111,11972774.95,20071008
13676,0111,6636698.47,20071008
What is the content conversion that I can proceed with so that I can go with the mapping. I have to use File Adapter?
Please Help

Hi,
Check below links for Content conversion.
/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
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/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
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if Helpful

Similar Messages

  • Content Conversion Parameters in Communication Channel

    Hi,
    I have a requiremnet to develop:
    Scenario is SAP to Legacy System
    Based on Mapping Sheet, I have defined Data types for both SAP and Legacy system. The Data structure is
    There is a root node IS with occurance 1-n. In this node there is another node MS with occurance 1-n. This MS contains another node MI with occurance 1-n. MI contains MA node with occurence 1-n.Similarly MA contains MT node with occurance 1-n.
    IS -> MS -> MI -> MA -> MT all with occurance 1-n.
    Can anyone please help me in defining Content Conversion Parameters and Variable Substitution in Receiver Communication Channel.
    Regards,
    Deepak Raj

    IS -> MS -> MI -> MA -> MT all with occurance 1-n
    Your requirement seems to match with that mentioned in this blog:
    /people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
    The blog does not mention the use of FCC...instead uses functionalities in mapping to get flat file....
    Regards,
    Abhishek.

  • Issue with content conversion in receuver communication channel

    Hi,
    I am trying to configure receiver communication channel with file adapter and content conversion.
    File structure is simple, as shown below:
    MT_EmployeeDetails
         Employee_rec
              Employee_rec_struct
                   EmpNo
                   EmpName
                   Address
    It should have generated file in the following format:
    1101     xxxx     xxxxx
    1102     xxxx     xxxxx
    1103     xxxx     xxxxx
    But it is generating flat file as shown below:
    1101     1102     1103     1104
    Basically it is populating only first field in the target field. But I could see that the xml file is properly getting
    generated in sxmb_moni.Also, when i tried to generate xml file without FCC, it is creating file properly.
    following are the parameters I am using:
    Employee_rec_struct.fielSeparator     '0x09'
    Employee_rec_struct.endSeparator     'nl'
    pls let me know whetehr i need to add any other parameters in FCC.

    Hi,
    Can u please provide with the exact structure of target... i know u have mentioned it already...
    But the hierarchy and occurence is nt clear..
    Like
    Mt
    ---Employee(1)
    Records(0..unbounded)
    Name(1)
    Age(1)
    So that others here,can easily get vt exactly u want and give the solution....
    If ur structure is like..
    MT_EmployeeDetails
    ---Employee_rec
    Employee_rec_struct(0..unbounded)
    EmpNo
    EmpName
    Address
    Then,
    Use,
    Employee_rec_struct.fieldSeparator '\t'
    end separator is optional... by default its new line characcter.. no need of giving....
    U should be giving the recordStructure as  Employee_rec_struct,*
    If still nt solved do post
    Babu

  • Reg:File content conversion for Sender File Adaptor

    Hi all,
                i would like to know , how the file content conversion is written for the below mentioned XML code. The flat file will have only the table name and the fieldname
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Mt_File xmlns:ns0="http:/file_to_idoc">
       <query_table>ztable1</query_table>
       <row_count/>
       <Fields>
          <item>
             <fieldname>zempno</fieldname>
          </item>
       </Fields>
    </ns0:Mt_File>
    regards
    priya

    First you create the conversion rules, then you create the XML structure accordingly, not the other way.
    online help will help you

  • Sender communication channel with file adapter

    Hi All,
               Here i am facing some error with the communication channel in which i have used FILE adapter. Here i am using PI 7.0. Here i have configured the communication channel. but i didn't checked the "operating system commands". and i checked the " adapter specific message attributes". i dont know whether i have to check these adapter specific message attributes or not. When i have gone to runtime work bench there i saw in adapter monitoring. there it is not showing any error. but in communication channel monitoring it is showing that it is having  -
      "processing  errors" but i am not getting where will be the error.. Any new ideas will be appreciated.
    Thanks in advance,
    Ramana

    Hi Bhavesh and Aaron,
                  Here i viewed the XMl format of the sender file in the mapping. there i found the difference between the file i am trying to pick up by the adapter and the XML instance of the sender interface in mapping. The difference is there in the message type of the <ns0> tag the file i am trying to send is having one message type and name space, where as the XMl instance is having the other message type and same name space.
                 i think that will the problem in processing my file. i am not sure about it.please any of you confirm that if it is th processing error i am facing or not.
                Thanks for your efforts.
    Regards,
    Ramana.

  • Content conversion in Sender JMS channel

    Hello All,
    My scenario is JMS to Proxy. SAP PI receives a flat file from JMS application.
    Can any one please help us on converting flat file to XML conversion within sender JMS adapter
    Thanks&Regards,
    Moorthy

    Hi
    Check this
    conversion type StructPlain2XML
    conversion type SimplePlain2XML

  • File Content Conversion for Sender Channel

    Hi Experts,
          We are using SAP - PI 7.11 system. We have a scenario where we wld be getting 7-8 records and the record structure repeats n no.of times in a flat-file and while converting the Flat -File data into XML data we are facing an issue , explained below with an example :
    HEADER :  KeyField , f2, f3, f4, f5, f6, f7, f8
    RECORD1 : f1, f2, KeyField , f3, f4, f5, f6, f7 , f8
    RECORD2 : f1, f2, f3, f4, KeyField, f5, f6, f7, f8
    TRAILER : keyField, f1, f2, f3, f4,f5, f6, f7, f8.
      Its a fixed length flat - flie. Now the problem is : we have KeyField Value for RECORD1 as '0' and when the f3 of TRAILER is '0' the record is getting formed as RECORD1 instead TRAILER even i get proper keyField value for TRAILER RECORD. Could you please tell me why its happenning so ? And please provide the solution for this. I have used all the parameters like : fieldNames, fieldfixedLengths, keyFieldValue, endSeparator and ignoreRecordsetname and lastFieldOptional and fromConfiguration.
    But still i am not able to get the proper XML out of this flat - file. Could you please suggest any solution for this asap.
    Thanks & Best Regards,
    Lakshman

    Most of the configuration seems fine,
    Just validate your configuration against below configuration, which is working fine for me,
    Recordset Structure : HEADER, 1, RECORD1, ,RECORD2,,TRAILER,1
    Recordset Sequence : Ascending
    Recordsets per message : *
    Key Field Name : recid
    Key Field type : string
    HEADER.fieldFixedLengths     *********************
    HEADER.endSeparator     'nl'
    HEADER.fieldNames     ************************
    HEADER.keyFieldValue     01
    HEADER.keyFieldlnStructure     add
    HEADER.lastFieldsOptional     YES
    -santosh.

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • AS2 sender communication channel

    Hi All,
    I have one As2 to proxy scenario, using AS2 sender adapter,PI will be receiving flat file from party and I am performing content conversion in sender As2 channel, there is no mapping involved, and PI is sending this data to SAP system via proxy using integrated configuration.
    I have used 2 parties, one sender and one receiver, used 2 business components corresponding to each and one SAP system BC.I have mentioned AS2 ids in both the parties, and did the header mapping for receiver in integrated configuration ->Outbound processing tab.
    Now when the file is pushed from AS2 server, there is no log in sender channel monitoring, means the file is not getting picked up from the AS2 server at all.
    Can anyone please provide inputs how can we debug this problem.
    Thanks,
    Ruchi

    Hi,
       If you are using Seeburger AS2 adapter, then:
    1. Check if the URL http://XXXXX:50000/SeeburgerAS2/AS2Server is up. It should show-"405 Method Not Allowed  "
    2. Check for AS2 messages in Seeburger workbench message-MessageIdStore Monitor
    Thanks
    Rajeev Gupta

  • How to configure receiver communication channel in File to mail scenario?

    Hi all,
            I'm working in FIle-to-Mail Scenario. I did all the required configuration In Integration repository. As per my Scenario whenever a text file stored in Application server of the R/3 system. it should be sent as a attchment with a mail.so i set a sender communication channel with file adapter in sender R/3 system . i dont know which business system should i refer for my receiver communication channel.because my receiver end is  a mail server. should i create any third party business system for this one?
    can anyone suggest me to define a receiver comm channel in a right manner?
    helpful answers will be rewarded.

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • Query on Content conversion for Receiver SFTP Adapter

    Hi Experts,
    We have the receiver structre as follows:
    <DT_Receiever>
    <Header>
    <field1>abc<\field1>
    <field2>1234<\field2>
    <\Header>
    <Detail>
    <field3>nhj<\field3>
    <field4>bshsrt<\field4>
    <\Detail>
    <\DT_Receiever>
    We should do content conversion for the above structure using SFTP adapter at the receiver end.
    Kindly provide us some tips in achieving the same.
    Thanks
    Suganya.

    Hi Suganya,
    You can use message tranform bean for ur case.
    U have to use "StructXML2Plain"
    Please follow below link for ur reference If you face any problem please let me know....
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Thanks,
    Enivass

  • Help needed to debug Communication Channel using Seeburger modules

    Hi ALL
    Can you please, help debug the following communication channel using File adapter & seeBurger module.
    Adapter Framework caught exception: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl -
    Loader Info -
    ClassLoader name: [sap.com/com.sap.aii.af.app] Living status: alive Direct parent loaders:   [system:Frame]   [service:servlet_jsp]   [service:ejb]   [library:com.sap.xi.util.misc]   [service:com.sap.aii.adapter.xi.svc] Resources:   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/EJBContainer/applicationjars/com.sap.aii.af.ejb.jar   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/classes   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/lib/com.sap.aii.af_api.jar -
    Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl -
    Loader Info -
    ClassLoader name: [sap.com/com.sap.aii.af.app] Living status: alive Direct parent loaders:   [system:Frame]   [service:servlet_jsp]   [service:ejb]   [library:com.sap.xi.util.misc]   [service:com.sap.aii.adapter.xi.svc] Resources:   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/EJBContainer/applicationjars/com.sap.aii.af.ejb.jar   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/classes   /usr/sap/KPX/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.aii.af.app/servlet_jsp/AdapterFramework/root/WEB-INF/lib/com.sap.aii.af_api.jar
    Your help is greatly appreciated!
    Thank you,
    Patrick

    Hi Patrick,
    It seems that your seeburger instalation was not successfull.
    Try installing it again and make all the libraries are there.
    Regards,
    Luismier
    Edited by: Luismier on Aug 26, 2009 10:57 PM
    Edited by: Luismier on Aug 26, 2009 11:16 PM

  • 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

  • JMS sender communication channel content conversion

    Hi,
    I struck with the content conversion in the JMS Sender communication channel.
    I have configured the communication channel with the filed fixed lengths. (Simple type)
    The field fixed lengths i have given are 10,2,3,11
    The contents in the file 1000000072  230 111
    but, in the input xml after conversion iam getting 100000007 in the first field and 2 in the second field 23 in the third field.
    I have configured the sender communication channel as in the document in SDN.
    Even, i configured several communication channels. I didn't get this strange error any time.
    I have gone through SDN to fix this issue, but i didn't get solution.
    If anyone got rectified this kind of error, please answer your solution to me
    Thanking you,
    Regards,
    Krishnaraju.

    Hi,
    Thanks for all your support. The issue got resolved.
    The issue is due to the file, In the file the special characters are appearing. We are not able to see these characters in the notepad, wordpad, text editor.
    But, these characters are appearing in th syn text editor. So, we removed those characters and processessed the file. Now, it is successfull.
    Regards,
    Krishnaraju.

  • Key field values for file content conversion at sender communicationchannel

    Hi all,
    I am working on  scenario File to Idoc.In this scenario at the sender side we configure the file content conversion for .CSV file.
    In the flat file i am having more than one orders, XI will pick the file and creates a separate Idoc for each sales order at r/3.
    We have similar fields "Order Item Number" both header and item.
    If we got '00000' on the Header item then it should create a new idoc at the r/3 side other wise it will create line item.
    Order item number will be 00000 for header but it will differ from order item to item.
    source structure
    Order Header
    Order type
    Sold-to-code
    PO number
    Order item number
    Order date
    AdresName1
    AdresName2
    Street and House number
    Postal Code
    City
    Country Code
    Filler
    Order Item
    Order type
    Sold-to-code
    PO  number
    Order item number
    Order date
    Product code
    Order quantity
    Item text
    Filler
    Now I have some questions....
    I don't have standard filed values to give the key fileds at source structure.
    I need to create the Idoc at r/3 system for each individual record.
    Is it possible to create new idoc with out using the Key filed value?
    If it is possible then how can i proceed with fcc?
    please give me your valuable suggestions
    Best Regards,
    satya
    Edited by: satyatanuku on Mar 3, 2010 1:41 PM
    Edited by: satyatanuku on Mar 3, 2010 1:42 PM
    Edited by: satyatanuku on Mar 3, 2010 1:44 PM

    Hi,
    Just check the Content Conversion Parameters-  Recordset Structure.
    If you have filled in this parameter with
    Header,1,Item,1
    then change it to
    Header,1,Item,3
    Regards
    Chandra

Maybe you are looking for