Want to achieve FCCat receiver side while field sepreted by'nl'&fixedlength

Hi all
         I am trying an idoc to file scenario in which my output file is a flat file
structure having Recordset structures Header, Data Item &Footer .In item the field
are in fixed length as well as in new line also.I am bit confused how to achieve this
I have also gone through help doc but not getting proper idea. for detail understanding i am giving the struct of my o/p flat file......................
PM157610100000305000126 (header)
2803010138951000127290100000005USC  2007062720070627SSDASDSA       
000000000789EUR               (tow row of item fields)
PM15000001  (footer)
                                      Plz do the needful help by sharing your views on this issue
Regards
Neha

Roy,
In your file receiver communication channel select the option content Conversion. In recordset structure you give Header, DataItem, Footer and give this parameters:
Header.fieldFixedLengths
Header.endSeparator
Header.addHeaderLine :   0
DataItem.fieldFixedLengths
DataItem.endSeparator
DataItem.addHeaderLine :   0
Footer.fieldFixedLengths
Footer.endSeparator
Footer.addHeaderLine :   0
Also check this help for reference:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
---Satish

Similar Messages

  • 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

  • Firefox crashes whenever i want to install any addon or download any file. Some times i am receiving error while downloading any file like "could not be saved, because you cannot change the contents of that folder"

    I am the user of latest firefox 3.6.6 browser. I am getting problems of frequent crashes whenever i tries to install any addon. The crashes also occures whenever i want to download any file.
    I am also receiving errors while downloading any file like:
    "C:\Users\****\AppData\Local\Temp\******.001.part could not be saved, because you cannot change the contents of that folder.
    Change the folder properties and try again, or try saving in a different location. I already changed it many many times but still the same problem."
    Adobe flash palyer is also giving problems of not responding. I am using updated version of it already. Java is also updated.
    I already uninstalled firefox compeletly and re installed it many many times but still the same problem. I also scanned my computer with avira and malware bytes' Anti malware and got no dection. Please ractify this problem ASAP lest my profession will suffer.
    == Crash ID(s) ==
    b7f518f2-8d86-41ca-8bab-aee632100709; 1d790e10-d8eb-4904-98c9-94bc62100708; f042d319-b9f8-42ed-a8cb-57c7d2100708

    Please help.
    It is getting worse
    Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
    Please help.

  • Mandatory fields in receiver side

    Hi Experts,
    Is there any easy way to find out, what are the mandatory fields(receiver side) we have to map during mapping?
    Regards
    Sara

    Basic question
    Sender side :
    1. Sender1_Root
    2. Sender1_Child1
    3. Sender2_Root
    4. Sender2_Child1
    Receiver Side:
    1. Receiver_Root
    2. Receiver_Child1
    3. Receiver_Child2
    1. Sender1_Child1 is mapped to Receiver_Child1
    2. Sender2_Child1 is mapped to Receiver_Child2
    In this case, Do we need to map the Sender1_Root and Sender2_Root to Receiver_Root?
    Regards
    Sara

  • Sending an idoc to 1 the of the 2 idocs in the receiver side based on field

    Hi,
    Am having 1 idoc in sender side SHPMNT05 and 2 idocs in receiver side DELVRY05 and VEHCLE01.
    My requirement is to send data to DELVRY05 only when one field in SHPMNT05 is having space in it
    and to VEHCLE01 only if having Vehicle no in that particular field.
    And to populate DELVRY05,
    Need to call a FM with Delivery no and del item details.
    Function module has to determine based on the FS scenarios, whether to change the delivery, split the delivery (Create new delivery) based on the reason code.
    Take the return values from RFC function module and populate DELVRY05 idoc.
    Using conditional operator on that particular field we can map it to root nodes of the idocs and do mapping, i think.
    But How can i call a func module for populatng del05.
    Help me firends.
    Thanks,
    Ravi.

    You may perform RFC lookup in your mapping to call the function module. Make sure that your function module is remote enabled.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Regards,
    Prateek

  • 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

  • Problem with Stored Procedure exection in Sender and Receiver side of JDBC

    Hi All,
    I am facing problem while executing Stored Procedures using sender and receiver sides of JDBC adapter.
    Here is my SP in Oracle DB :
    PROCEDURE EMP                           
    ( ID IN VARCHAR2,NAME IN VARCHAR2,PROCESSED IN VARCHAR2  ) AS                                                          
    BEGIN                                                         
       INSERT INTO EMPLOYEE VALUES (ID, NAME, PROCESSED);COMMIT;END EMP;
    Now I want to execute this SP using sender JDBC channel and receiver JDBC channel.
    Can anyone please help me executing this SP?
    Regards,
    Soorya

    Hi Soorya,
    The receiver Data type should be like this:
    <StatementName>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName >
      </StatementName>
    Check the link http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    Which DB  are you using?? The sender structure will be like
    <resultset>
    <row>
    <field1></field1>
    <field2></field2>
    <field3></ field3>
    </row>
    </resultset>
    Search SDN you will get lot of examples
    Regards
    Suraj

  • File access parameter in file adapter at receiver side

    Hi Experts,
    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction    mode = add time stamp and put file directly .but it is showing time in file name????????
    2. i want my file name as  TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    Regards

    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction mode = add time stamp and put file directly .but it is showing time in file name????????
    The addtime stamp will add timestamp as the last part of the filename before the extension.
    2. i want my file name as TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    You can achieve this using dynamic file naming UDF in mapping and using ASMA in file adapter.
    Use current date function and generate the current date. Then use substring to pick date,time from it and format it according to your requirement (TimeSheet_Country_Date_time).Else you can write a UDF to generate the file name as per your requirement and then pass it to the dynamic filenaming UDF in the mapping.
    Search SDN for dynamic file naming.

  • 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

  • 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,

  • 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

  • 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.

  • Multiple EDI files at receiver side

    Hi,
    We have an outbound interface(flat file --> PI --> EDI) where flat file coming in and PI processing it to customers.
    Based on a field from input file, i am creating 3 UNH segments in one EDI file. But, we need to create 3 EDI files for each UNH segment.
    For eg:
    Number(from input file): 001,002,003, for each number I am creating 3 UNHs in one EDI file.
    But I need 1 EDI for 001,1 EDI for 002,1 EDI for 003.
    Is it possible to create multiple EDI at receiver side.
    Please suggest me the possible ways to achieve this requirement.
    Regards,
    KNR.

    Hi Its possible,
    -->Number(from input file): 001,002,003, for each number I am creating 3 UNHs in one EDI file.
    But I need 1 EDI for 001,1 EDI for 002,1 EDI for 003.
    do You have any EDI XML structure in mapping?
    In Message mapping signature tab change your mapping occurence 0..unbounded
    and in mapping click target structure and click on duplicate subtree .(create 3 times)
    and map your structure to 3 different structure of the same target message based on 3 UNHs
    it will be basically 1:N mapping without BPM

  • 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

  • Append the data in file at receiver side

    Hi All,
    I want dump the data frm SAP tables. the data is hughe so we are sending the data in slots from ECC like 50K recoerds at a time and after that to collect that i using the append parameter at file receiver side and records are getting appended in file only that is correct 
    but my one doubt is
    let say monday the records get append into file at receiver side and on tuesday again the records will get appended in same file....it will be problem for this i used create parameter with overrite my question if i am using create then we can not use append ........
    please suggest...........
    Regards

    Hi gangadhar,
                             Append will work like this..
    if there is no file ..create the file and if file already exists then appends the data to the existing file..
    in your case when you create the file with day i.e file_day ..first time when you send 50K records file will get created..
    if you send another 50k in the same then will get appended to the same...
    in case if you send the another 50K set another day..then a new file will get create as there is no file available with taht file name
    i.e filename_nextday...
    Hope this clears all your queries
    HTH
    Rajesh

Maybe you are looking for

  • CUPC 8.6 (and older) - Sound Notification for Chat to wrong source

    This issue originally came up in CUPC 8.5(6), but as I logged in to report it, I saw 8.6(1) was just released - I have confirmed the same issue still exists in 8.6 as well. A user asked me how to get sounds to notify her when someone sent her a Chat

  • Named disable itself on shutdown

    Hallo, after installing the Solaris 10 03/05 i am faced with the problem named is returning into the state "disabled" after a shutdown. Enabling via svcadm starts the named and it works fine (no config errrors). So, whats happened here??? BTW: Is the

  • Can't update iPhoto

    First off, I' am new to Mac! This could just be a rookie move... I updated my mac to Os X 10.9.1 and ever since then, I cant open my iphoto. When I go to the app store to update it it says "unavailable  with this apple ID, this update is not availble

  • Can't startx as non-root user [Solved]

    I have no idea what's going on. I'm pretty sure I have my permissions set correctly, but right now running startx as a non-root user dumps me back out. Here's my log file: This is a pre-release version of the X server from The X.Org Foundation. It is

  • Claim Search Customizing - Selection Screen Is Missing (FS-CM)

    Where customize this one in SPRO? Transaction ICL_EXPERT_1 "For Search 0001_ICLEXPERT (Search Appl. ICL), the Definition of the Selection Screen Is Missing in Table TIGN221"