FCC on receiver side issue

Hi
i have idoc to File scenario
This is my required output.
STaaabbbccc\
MTdddeeemmm\
ITggghhhooo\
MTdddhhhbbb\
ITcccaaaeee\
But i am getting the output as
STaaabbbccc\
MTdddeeemmm\
MTdddhhhbbb\
ITggghhhooo\
ITcccaaaeee\
i have used FCC, but not getting the output. is it possible to obtain the requried output through FCC?
i have defined the datatype as below
Layout
|____RecordSet
        |____ST                     1-1
             |______f1,f2,f3,f4,f5
             MT                     0-Unbounded
             |_____f1,f2,f3,f4,f5
             IT                       0-Unbounded
             |_____f1,f2,f3,f4,f5
Thanks
Saiyog
Edited by: Saiyog Gonsalves on Apr 28, 2009 5:22 PM
Edited by: Saiyog Gonsalves on Apr 28, 2009 5:24 PM

>
Saiyog Gonsalves wrote:
>
Layout
> |____RecordSet
>         |______ST                     1-1
>                     |______f1,f2,f3,f4,f5
>                     MT                     0-Unbounded
>                      |_____f1,f2,f3,f4,f5
>                      IT                       0-Unbounded
>                      |_____f1,f2,f3,f4,f5
>
>
> Edited by: Saiyog Gonsalves on Apr 28, 2009 5:22 PM
You have to change your data type so that the order is maintained for ST MT and IT. Otherwise it is not possible. If you look at in SXMB_MONI the XML nodes are grouped together based on the node names. Thats the reason file adapter is writing them same way.
VJ

Similar Messages

  • FCC in receiver side in idoc to file scenario

    Hi all,
               I am doing an idoc to file scenario using FCC .I am using FCC in receiver side ,but i am getting my output file in only one line while i want structre to be seprated by new line.for more information i am giving muy file structre.
    Record
        header(1to1)
        data    (0 to unbounded)
        footer  (1to 1)          header, data, footer are three structre which contain various fields.I have to use fieldFixedLengths as filed separator. I am also using endseperator as 'nl' but its not coming in new line.Please share ur views on this issue.
    Regards
    Neha

    hi neha,
    In your scenario
    Recordset Structure  header,data,footer
    header.fieldFixedLengths    =  1,2,3,  whatever it is 
    data.fieldFixedLengths      =  similar to header
    footer.fieldFixedLengths    =  similar to header
    header.endSeparator  = 'nl'
    data.endSeparator  = 'nl'
    footer.endSeparator  = 'nl'
    I guess you dont have to do any thing else.
    Regards
    Pushkar
    Message was edited by:
            Pushkar Anand

  • FCC Parameters - Receiver Side

    Hi All,
       Is it possible to give the FCC parameters for the following complex struture at the receiver Side. What are the option are avilable to resolve the issue.
    <b>deliveryOrderMessage,1,
    startOfMessageSegment,1,
    message,1
    segmentGroupHeader,1
    segmentGroupHeaderLevel1
    Some fields are there
    headerSegmentDatails,1,
    Some fields are there
    invoiceToDataSegment,1
    Some fields are there
    headerSegmentData2,1,
    Some fields are there
    shipToDataSegment,1
    Some fields are there
    headerSegmentData3,1
    Some fields are there
    headerSegmentData4,1
    Some fields are there
    commentSegment,*
    Some fields are there
    segmentGroupForDetails,*,
    lineSegment,1,
    Some fields are there
    commentSegment,*,
    Some fields are there
    endOfMessageSegment,1
    Some fields are there</b>
    How can I provde the Recorset strcture and Content Conversion parameters???
    Note: Please don't provide necessary links related to this issue not all related to file adapter.
    Thanks in Advance,
    Best Regards,
    Vijay
    Message was edited by:
            Gangisetty Vijaya Bhaskarudu
    Message was edited by:
            Gangisetty Vijaya Bhaskarudu

    Hi,
    Same structure given by you with , saparated and keep it as it is sure you will get
    in record structure
    just give as it is
    deliveryOrderMessage,1,
    startOfMessageSegment,1,
    message,1,
    segmentGroupHeader,1,
    segmentGroupHeaderLevel1,
    headerSegmentDatails,1,
    invoiceToDataSegment,1,
    headerSegmentData2,1,
    shipToDataSegment,1,
    headerSegmentData3,1,
    headerSegmentData4,1,
    commentSegment,*,
    segmentGroupForDetails,*,
    lineSegment,1,
    commentSegment,*,
    endOfMessageSegment,1
    Regards
    Chilla

  • Regarding FCC in receiver side

    HI friends, i need help regarding FCC. my input file is a text file on which some of fields doesn't have data so i want to display pipe symbol in that empty field in receiver side. what i have to do in the sender channel parameters side.
    points will be awarded.

    Can you give some example?
    You can use message mapping with condition that if some input tag is blank then use that symbol (pipe |).
    You can that pass the message at reciever side....
    What is your output format?
    Regards,

  • Help with FCC on receiver side

    Hey guys
    i have an XML structure on the receiver side as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Invoices xmlns:ns0="urn:NOVInvoiceToSCO">
       <Invoice>
          <InvoiceProperties>
             <InvoiceNumber>sdds</InvoiceNumber>
             <InvoiceDate>dsd</InvoiceDate>
             <VendorNumber>dsd</VendorNumber>
             <InvoiceTypeCode>rer</InvoiceTypeCode>
             <PrimaryCurrency>
                <CurrencyCode>dd</CurrencyCode>
                <ExchangeRate>dsd</ExchangeRate>
             </PrimaryCurrency>
             <PaymentTerms>sd</PaymentTerms>
          </InvoiceProperties>
          <InvoiceDetails>
             <InvoiceLineItem>
                <WorkOrdernumber>dsd</WorkOrdernumber>
                <LineItemNumber>dsd</LineItemNumber>
                <InvoiceQuantity>
                   <Quantity>ds</Quantity>
                   <UnitOfMeasureCode>ds</UnitOfMeasureCode>
                </InvoiceQuantity>
                <LineItemInformation>
                   <LineItemMaterialNumber>sds</LineItemMaterialNumber>
                   <LineItemDescription>dsd</LineItemDescription>
                </LineItemInformation>
                <Pricing>
                   <UnitPrice>
                      <MonetaryAmount>dsd</MonetaryAmount>
                      <UnitOfMeasureCode>dsd</UnitOfMeasureCode>
                      <CurrencyCode>sds</CurrencyCode>
                   </UnitPrice>
                </Pricing>
                <LineItemtotal>
                   <MonetaryAmount>sd</MonetaryAmount>
                   <CurrencyCode>ds</CurrencyCode>
                </LineItemtotal>
                <Requisition>
                   <Number>ds</Number>
                   <LineItemNumber>ds</LineItemNumber>
                </Requisition>
                <Status>sd</Status>
             </InvoiceLineItem>
          </InvoiceDetails>
          <InvoiceSummary>
             <TotalLineItems>ds</TotalLineItems>
             <InvoiceTotal>
                <MonetaryAmount>ds</MonetaryAmount>
                <CurrencyCode>ds</CurrencyCode>
             </InvoiceTotal>
             <Tax>
                <TaxTypeCode>sd</TaxTypeCode>
                <TaxAmount>
                   <MonetaryAmount>ds</MonetaryAmount>
                   <CurrencyCode>s</CurrencyCode>
                </TaxAmount>
                <TaxReference>ds</TaxReference>
             </Tax>
          </InvoiceSummary>
       </Invoice>
    </ns0:MT_Invoices>
    <InvoiceProperties> is the header
    <InvoiceDetails>is the data
    <InvoiceSummary>is the trailer
    i am using the following on the receiver side under FCC
    Recordset Structure: Invoices,Invoice,InvoiceProperties,PrimaryCurrency,InvoiceDetails,InvoiceLineItem,InvoiceQuantity,LIneItemInformation,Pricing,UnitPrice,LineItemTotal,Requisition,InvoiceSummary,InvoiceTotal,Tax,TaxAmount
    Invoices.fieldSeparator     'nl'
    Invoice.fieldSeparator     ,
    Invoice.endSeparator     'nl'
    InvoiceProperties.fieldSeparator     ,
    InvoiceProperties.endSeparator     'nl'
    PrimaryCurrency.fieldSeparator     ,
    PrimaryCurrency.endSeparator     ,
    InvoiceDetails.fieldSeparator     ,
    InvoiceDetails.endSeparator     'nl'
    InvoiceLineItem.fieldSeparator     ,
    InvoiceLineItem.endSeparator     'nl'
    InvoiceQuantity.fieldSeparator     ,
    InvoiceQuantity.endSeparator     ,
    LineItemInformation.fieldSeparator     ,
    LineItemInformation.endSeparator     ,
    Pricing.fieldSeparator     ,
    Pricing.endSeparator     ,
    UnitPrice.fieldSeparator     ,
    UnitPrice.endSeparator     ,
    LineItemTotal.fieldSeparator     ,
    LIneItemTotal.endSeparator     ,
    Requisition.fieldSeparator     ,
    Requisition.endSeparator     ,
    InvoiceSummary.fieldSeparator     ,
    InvoiceSummary.endSeparator     'nl'
    InvoiceTotal.fieldSeparator     ,
    InvoiceTotal.endSeparator     ,
    Tax.FieldSeparator     ,
    Tax.endSeparator     ,
    TaxAmount.fieldSeparator     ,
    TaxAmount.endSeparator     ,
    Now i want the output of the following form
    Header
    Data
    Trailer
    Note:Data has occurence 0--* and both header and trailer have occurence 1
    i m unable to get the CSV file on the receiver side,can anbody cross check my parameters and lemme know whr i m wrong?
    thanx
    ahmad

    Hi Ahmad,
    give recordsetstructure : InvoiceProperties,1,InvoiceDetails,*,InvoiceSummary,1
    and in key-value pair give:
    InvoiceProperties.fieldFixedLengths : length of fields of InvoiceNumber,InvoiceDate..etc similarly for InvoiceDetails and InvoiceSummary
    InvoiceProperties.fieldSeparator , similarly for InvoiceDetails and InvoiceSummary
    Then you will get your req CSV file.
    Thanks,
    Rajeev Gupta

  • Step by step Scenario for using FCC at receiver side

    hi -
    I would like to implement the File >XI>File using file content conversion at receiver side.
    Can anybd help me doing this.
    I would like to use the following xml file at the sender side :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
       <FullName>
          <Name>
             <FName>abc</FName>
             <MName>bcd</MName>
             <LName>cde</LName>
          </Name>
          <Name>
             <FName>def</FName>
             <MName>efg</MName>
             <LName>fgh</LName>
           </Name>
       </FullName>
    </ns0:MT1_FCC>
    would like to have the target file as txt with following structure...
    abc#bcd#cde
    def#efg#fgh
    Kindly guide...

    HI Jeswani,
    If this is what you want then take your datatype like this:
    Full Name
      name
        --FName
        --MName
        --LName
    Then map it up. Then in reciever file content conversion you should take like this:
    Recordset Structure: Name
    name.fieldSeperator = #
    name.endSeparator =  'nl'
    This should get your file layout what you are expecting.
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • File Content Conversion on the Receiving side

    Is there a way in which if I want a Pipe Delimited File as a result, after the last field also I get a pipe with next record starting in the next line.

    Hi,
    For | (Pipe), use corresponding hex code as fieldSeparator i.e. 0x7C as fieldSeparator.
    For FCC on receiver side refer -
    [Simple FCC|http://www.riyaz.net/blog/index.php/2008/02/19/xipi-file-content-conversion-for-simple-structure/], [Complex FCC|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
    For separotor at the end of line you can try using a dummy field or use combination of pipe and newline i.e. '0x7C' and '0x0D' (stands for carriage return) or 'nl' as endSeparator
    Edit: You might consider using 'nl' as beginSeparator parameter and 0x7C as endSeparator. This will do the trick. However, this would add a blank line in the beginning of the file.
    Hope this helps.
    Regards,
    Riyaz
    Edited by: Riyaz Sayyad on Aug 21, 2008 3:00 PM

  • Need to do FCC at receiver with multiple segments

    Hi Friends.
    I have .xsd at source and .txt at receiver. Please can you help me to do in FCC at receiver side.
    Source Structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SEND xmlns:ns0="http://test.com">
       <ROOT>
          <SITETYPE/>
          <SITENUMBER/>
          <SITESTATUS/>
          <SITENAME/>
          <CHAINLETTER/>
       </ROOT>
    </ns0:MT_SEND>
    Target Structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_RECEIVE xmlns:ns0="http://test.com">.
    <HEADER>
    <RECORDID></RECORDID>
    <SERIALNUMBER></SERIALNUMBER>
    </HEADER>
    <abc>
    <RECORDID></RECORDID>
    <SITENUMBER></SITENUMBER>
    <SITESTATUS></SITESTATUS>
    </abc>
    <def>
    <RECORDID></RECORDID>
    <SITENUMBER></SITENUMBER>
    <SITENAME></SITENAME>
    </def>
    <TRAILER>
    <RECORDID></RECORDID>
    </TRAILER>
    </ns0:MT_RECEIVE>

    Hi,
    look into below links
    http://wiki.sdn.sap.com/wiki/display/XI/BasicFileAdapterContentConversion
    http://sapxitutorials.blogspot.com/2009/03/file-receiver-with-content-conversion.html
    regards
    Aashish Sinha

  • FCC Receiver side

    Hi Experts,
    Im working with the file to file scenario with FCC receiver side parameters ( sender xml with receiver text).
    I want my fields with comma separated values...like... abc,xyz,mno.. so on...
    Im giving the parameters as :
    HEADER1.fieldSeparator: 'nl'
    HEADER.fieldseparator: ,
    Where the structure is Header1--->Header.
    Im getting the error as :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    Channel has not been correctly initialized and cannot process messages.
    Please help.

    Hi Robin,
    My sender xml file structure is :
    DT_FCCRec-->HEADER1->HEADER--->lastname,name,middle,company...so on till 10 fields.
    My output file should be a text file with comma seperated values.
    I need 5 rows...with 10fields seperated by comma:
    name,lastname,firstname.....10 fields
    name1,lastname1,firstname1...10fields
    name5,lastname5,firstname5...10fields.

  • How to handle preceding space characters in file to file(FCC on both sides)

    Hi All,
    We have scenario with file to file (FCC on both sides).
    Issue is: Sender side we are converting source file (CSV) into XML. But while converting it is ignoring preceding spaces.
    Example:
    Suppose Source file(CSV) contains one record as mentioned below ( for ur understanding purpose I mentioned 'X' instead of space. )
    XXXXXXXXXX12345     78945  23548    23446
    The above record is getting converted into XML as
    <text>12345     78945  23548    23446</text>
    But we need the record to be converted into XML as mentioned below
    <text>XXXXXXXXXX12345     78945  23548    23446</text>
    i.e we need spaces before "12345" also.
    As both sender and receiver having same structure, we are not using any mapping also.
    Please suggest in this regard.
    Thanks & Regards,
    Nagaraju

    Hi,
    In your sender content conversion use the parameter:
    NameA.fieldContentFormatting     nothing
    For further ref:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    Regards,
    Manjusha

  • Problem in Receiver side File Adapter using FTPS mode

    Hello,
    Here I am facing some problem in receiver side while using FTPS mode in the channel configuration.
    The error message which i could see in the audit log is,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: java.lang.NullPointerException
    Can anyone help me out in solving this issue ASAP?
    I am using Per file transfer mode ni the reciever channel.
    Thanks in advance,
    Yours
    Soorya

    HI Surya,
    First check wether server started or not and then check you are connecting to FTP server by
    go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
    Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
    Also the check whether the folder you are trying to access is having permission for delete/read/write.
    Restart the FTP server and try it again.
    Regards
    Sridhar Goli

  • Problem with file contnet conversion in receiver side.

    Hi All,
    I have a source strucuture as below.
    Header-1.1
    Item..1..unbounded.
    footer..1..1,
    As i am using PI 7.0 , can you any one tell me ..how do i mention item segment is occuring multiple times in the reciever content conversion.If only one segment is comming then the scenario is working but if the item segment is comming with multiple times, it is throwing error.
    Can any one let me know how do we achieve this.
    Regards,
    Chandu.

    hi,
    There is no need of giving * in receiver side FCC
    give the structure as
    header,item,footer
    try with this one,it will work....
    and give corresponding
    header.feildSeparator
    header.fieldNames
    item.feildSeparator
    item.fieldNames
    footer.feildSeparator
    footer.fieldNames
    default endSeparator is 'nl'
    if fixed length give fixed lengths

  • Encoding in Receiver side file adapter

    Hi All,
    I have special characters in message structure. While writing the message to output file the special characters are not getting printed(getting replaced by '?'); I have tried using UTF8, ISO-8859-1 and other code pages related to latin characters; Still facing an issue. I have tried using Binary mode also.
    I tried using similar encoding formats in sender adapter. It was working fine and all the special characters are visible.
    Is this problem in receiver side file adapter? Any inputs on the same will be a lot more help ful.
    Thanks in advance
    Nik

    Hi
    I have é, à and some other characters in my source message structure. The same characters are visible in message monitoring. While writing to file, they are being replaced by ?
    This type of character are generated using UTF-8
    use the same for receiver
    The default setting for code page is the system code page that is specific to the configuration of the installed operating system.The content of the message needs to be converted to the corresponding code page before the message is saved as a file.
    You should use this conversion only for plain text and not for XML documents. If you want to change the encoding of an XML document, then select the File Type as Binary and apply XMLAnonymizerBean as an additional module in the Module tab page.
    Thanks
    Gaurav

  • FCC in receiver end

    Hi experts,
    How to ignore a receiver Substruture during FCC but use the fields for dynamic directory configuration in Receiver File adatper?
    This is my strcture:
    <root>
        <EmpDetails>
                 <var1>aaaa</var1>
                 <var2>bbbb</var2>
         </EmpDetails>
         <FolderList>
                 <folder1>value1</folder1>
                 <folder2>value2</folder2>
          </FolderList>
    </root>
    so basically in the receiver side i want only the details of <EmpDetails> recordset. and i want to use the details from <folderlist> record set for Directory configuration and it should not come in the flatfile.
    how can i achieve this without UDF or Scripting.
    Regards,
    Prakash.

    Hi Prakesh,
    Just define your result structure like that:
    <root>
        <EmpDetails>
                 <var1>aaaa</var1>
                 <var2>bbbb</var2>
         </EmpDetails>
    </root>
    Then map your message properly, and finally use Dynamic Configuration to set the target folder and file name for the interface.
    Hope this helps,
    Greg

  • Configuring IDOC and RFC Adapters in both Sender and receiver side

    Hi ,
    Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    Similarly for RFC adapters.
    Regards,
    Sweta

    Hi,
    >>>Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    kindly try searching for them first yourself (there are tons of docs for that and similar questions)
    and come back if you any further issues
    Thank you,
    Regards,
    Michal Krawczyk

Maybe you are looking for