FCC Parameter

we have a requirement in which we are getting 50MB file and we need to process this 50mb file to target system. How could this be possible. Here, we are using file adapter to pick the file. Could you please help me out..?

Hi Valli,
You can use in your sender file Recordset structure and Recordsets per message to split your file in several messages, check this thread http://scn.sap.com/thread/3680969
Regards.

Similar Messages

  • FCC parameter in IDoc to File scenario

    Hi,
    We have configured FCC parameter to get the comma separated flat file. File is getting created but I want header line in the file which is not getting created. Can any please suggest on the same?
    Target DT structure is as below:
    Inside root node FileName_Values is used for variable substitution in target File Name and these fields should not be present in file content.
    Second node inside root node is having actual structure of file.
    FCC configuration is as below:
    Thanks,
    Vertika

    Hello,
    >>Please see the screen shot it doesn't any thing about occurrence.
    Duplicate Subtree option will make sure that whatever is the cardinality of Main node (i.e Oildex_File node) will be passed on to the duplicated node as well.
    So don't have to worry about that.
    >>If I am mapping constant value in first node which is the original node and actual line items in second node I am not sure what will happen in case of more that 1 line item.
    Answered above.
    If there are more then 1 source line items and if u have mapped source line item to that duplicated target node, then as many occurrences of target node will be created as present in the source item - so treat duplicate node as any other node having multiple cardinality.
    >>Can you please use full word instead of using acronyms? I am confused what exactly you said in your last post.
    I thought i have written a straight forward reply and used so called acronyms only for simple PI words like Operation mapping, meessage type, occ, ur Message type name...
    Anyway, in my previous reply i was proposing u another approach where i was suggesting to create one more mapping between ur target structure only i.e. MT_Oildex_Invoice.
    So with the second approach, you don't have to change anything in your existing mapping.
    Create one more 1 to 1 mapping between your target structure only (and while doing mapping change the occurrence of message type so that multimapping tags gets added automatically) and then u can use duplicate subtree option on "oildex_File" node on the target side.
    So while doing mapping just repeat the same process which i have explained you above for first occurrence of oildex_File node (i mean just map constant values in the first occ of oildex node) and for the second occurrence of "oildex_File" node just do 1 to 1 mapping (map second occurrence of oildex_file node in target side to the source "oildex_File" node)
    Let me say it again, ur second mapping will be between MT_oildex_Invoice  TO  MT_oildex_Invoice
    once done, add ur second mapping under Operation Mapping and then check if you are getting constant values before the actual values or not?
    Thanks
    Amit Srivastava

  • How to check FCC parameter

    Dear All expert
    I have define FCC parameter for flat file to IDOC scenario but its not working
    But when we send XML format file it posted successfully so any way to check where we have put wrong value of FCC and why it not working
    Txt Format -
    1     5500     20080508               
    2     ARTN     VANHUSEN     -     2     5000
    2     ARTN     VANHUSEN     -     2     5000
    2     ARTN     VANHUSEN     -     2     5000
    Thanks
    Amit Shivhare

    Hi All
    this is my FCC value
    Record set structure MP01,1,MP02,*
    Record Sequences  - ascending 
    Record Set per message -2
    Key field value - KZ
    Key Filed Type - integer
    MP01.fieldNames     KZ,POS_StoreCode,POS_Date
    MP01.keyFieldValue     1
    MP01.keyFieldinStructure     Ignore
    MP02.fieldSeparator     '0x09'
    MP02.endSeparator     'nl'
    MP02.fieldNames     KZ,QUALARTNR,ARTNR,VORZMENGE,UMSMENGE,UMSWERT
    MP02.keyFieldValue     2
    MP02.keyFieldinStructure     Ignore
    IgnoreRecordsetName     true
    Thanks
    Amit Shivhare

  • Receiver FCC parameter to preserve spaces

    Hi Gurus,
    Our scenario is using Outbound (IDoc to Fixed Field Length Flat File) and we are using File Content Conversion
    However upon testing, the spaces are not being preserved in the flat file.  We tried to map fields with Constant number of spaces (e.g. 5 char field mapped with Constant having value 5 spaces) but it is not working, space is still not preserved in the flat file generated.
    For those that have encountered this scenario, what did you do with this issue?   As i've said the scenario is fixed field length flat file so the field lengths still have to be in the flat file even if the field has no value
    Hoping for your kind response

    Hi,
    It may happen that the spaces are coming and u cannot see in the editor.
    Goto SXMB_MONI of PI system and check the payload after mapping(Target Payload).
    Right click on the payload and open it... then see if spaces are coming in the payload or not
    Babu

  • Unable to configure file adapter using FCC  for Multilevel hierarchy

    Hi Experts,
    Can anyone help me in configuring the Receiver file adapter with FCC for the structure given below
    <Root>
    <Level1>
         <Ele1>
         <Ele2>
         <Level2>
                <Ele2_1>
                <Ele2_2>
                <Level2a>
                        <Ele2a_1>
                        <Ele2a_2>
                </Level2a>
         </Level2>
    </Level1>

    Hi dineshmale,
    I have do this Multilevel hierarchy before. FCC can directly configure this scenario. But I don't know you output format. What my format shown below(here i use '#' instead of space):
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    FCC Parameter:
    Recordset Structure: Level1,Level2,Level3
    Level1.fieldSeparator = (2 spaces)
    Level2.beginSeparator = (some spaces according to the length of the fields in Level1)
    Level2.fieldSeparator = (2 spaces)
    Level3.beginSeparator = (some spaces according to the length of the fields in Level1and Level2)
    Level3.fieldSeparator = (2 spaces)
    Level3.endSeparator = \n
    There are some points:
    1. the endSeparator for Level1 and Level2 doesn't work.
    2. the first begin separator in Level2 and Level3 doesn't work.
    3. The last field of super node and the first field of child node is separated by the (child).fieldSeparator.
    4. ....
    What's more, I have write a blog of FCC For Hierarchical Structure in Receiver Channel just now. So it need two days for Approval. Let me know for any issues.
    Edited by: guKidd on Dec 14, 2010 7:52 AM
    Edited by: guKidd on Dec 14, 2010 7:54 AM

  • File Adapter Reciver Side: FCC Convetion Problum in PI 7.1

    Hi Experts
    XML Structure
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <REC>
    - <ROW>
      <MATNR>CPF30007</MATNR>
      <MTART>ROH</MTART>
      <MBRSH>F</MBRSH>
      <MAKTX>25 lbs. geschn. Karotten</MAKTX>
      <MEINS>LBR</MEINS>
      </ROW>
      </REC>
      </ns0:mt_idoc2file>
    i am traying to convert this xml to txt format in PI 7.1 . i am unable to conveting structure in TXT . i am getting the error .
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'REC.fieldFixedLengths' or 'REC.fieldSeparator' is missing"
    FCC Parameter what i have given.
    Record Struture :ROW,REC
    ROW.filedName   :MATNR,MTART,MBRSH,,MAKTX,MEINS
    ROW.filedSeparator:,
    ROW.endSeparator  :nl
    ROW.fieldFixedLengths:12,20,21,20,10
    Please any one help me out from this issu.
    Thanks and Regards
    G.Praveen Kumar
    Edited by: praveen.tecnics on Sep 30, 2010 2:37 AM

    Hi,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <REC>
    - <ROW>
    <MATNR>CPF30007</MATNR>
    <MTART>ROH</MTART>
    <MBRSH>F</MBRSH>
    <MAKTX>25 lbs. geschn. Karotten</MAKTX>
    <MEINS>LBR</MEINS>
    </ROW>
    </REC>
    </ns0:mt_idoc2file>
    FCC Parameter what i have given.
    Record Struture :ROW,REC
    ROW.filedName :MATNR,MTART,MBRSH,,MAKTX,MEINS
    ROW.filedSeparator:,
    ROW.endSeparator :nl
    ROW.fieldFixedLengths:12,20,21,20,10
    Can you please change your data type as per this XML
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <ROW>
    <MATNR>CPF30007</MATNR>
    <MTART>ROH</MTART>
    <MBRSH>F</MBRSH>
    <MAKTX>25 lbs. geschn. Karotten</MAKTX>
    <MEINS>LBR</MEINS>
    </ROW>
    </ns0:mt_idoc2file>
    Dont put REC, logically its nt required also.
    Now use the same FCC u have specified, it will work, remeber to change the MM accordinly also...
    Babu

  • File Receiver Adapter FCC parameters

    Hi
    I have a File to File format via PI
    I have the following structure from the sender File adapter passing to receiver file adapter.
    The inbound structure as follow
    <CONTRACT>
    <HEADER>
        <X1>
        <X2>
    <LINE>
       <Y1>
       <Y2>
       <Y3>
    I have configured the FCC parameter at Receiver file adapter as follow
    HEADER.fieldseparator -    '0x09'
    LINE.fieldseparator  - '0x09'
    I can get Header and LINE items.
    But with mutiple records, I can only receive one record.
    I have tried a lot of combination based on the forum thread on this matter but to no avail
    I would like to seek your expert advice.
    Regards
    Fred

    The payload at the target adapter show only
    <Header>
    <Line>
    <Line>
    <Line>
    occurences is 1:unbounded
    I have also tried adding in Header.endSeparator - 'nl'
                                             Line.endSeparator - 'nl'
    but the output is still the same with one record.
    I have check the payload at Sender adapter CC
    and found it is coming as one record only
    though the source file has mulitple records.
    BTW, the source file structure is fixedlength with header indicator as H
    line indicator as L.
    Therefore I have set keyfield parameter in Sender adapter FCC as H and L

  • Empty document found. Proceed without sending message - FCC error

    Hi,
    Getting the above error in sender file channel monitoring and cant seee message in moni.
    My FCC parameter are
    Record set structure: OrderHeader,,Item,
    Sequence : ascending
    Key field name : keyField
    type: string-case insenitive
    OrderHeader.fieldSeparator: ,
    OrderHeader.fieldNames: SFA_Order_No,Order_Type,Order_Type,Dist_Channel,Division,Sales_District,Ship_To,Document_Date,Discount,IDENTIFIER,Delivery_Date,Sold_to_Party,Sold_to_Party
    OrderHeader.keyFieldInStructure: add
    OrderHeader.keyFieldValue: OrderHeader
    OrderHeader.endSeparator: 'nl'
    Item.fieldSeparator: ,
    Item.fieldNames: SFA_Order_No,Material_No,Quantity,GIK_Flag
    Item.keyFieldInStructure: add
    Item.keyFieldValue: Item
    Item.endSeparator: 'nl'
    i dont have key field in my source strucure, so given Item.keyFieldInStructure: add
    my source file is:
    1000001,"Z001","RU  ÍÎÂÈÊÎÂÀ ÀÍÍÀ","2999901553","20090803",25,0,"20090804",2999901553,""
    1000002,"Z001","RU  ÍÎÂÈÊÎÂÀ ÀÍÍÀ","2999901549","20090803",25,0,"20090804",2999901549,""
    1000001,"80806730",1,1
    1000001,"81200005",2,0
    1000002,"90101446",1,1
    1000002,"90194294",1,0
    source DT strucute is:
    can you please validate my FCC parameters?
    Regards,
    Rashmi

    Hi Rashmi,
    Remove all this:
    Key field name : keyField
    OrderHeader.keyFieldInStructure: add
    OrderHeader.keyFieldValue: OrderHeader
    Item.keyFieldInStructure: add
    Item.keyFieldValue: Item
    and put this:
    Key field name : SFA_Order_No
    and test it.
    Regards,
    ---Satish

  • FCC parameters in Sender CC

    Hello all,
    I have a File to IDOC scenario where the file is a flat file where the structure is like this.
    the structure is very volatile,
    a record set would start with 001 and end with 999. for each record a sales order has to be created.  creating multiple sales orders from Idoc is not a problem but I just need all your help in defining the FCC paramets for this file.
    001|327737|
    002|NEW|
    004|1|
    005|2077|
    006|091021|
    007|26|
    008|600000134|Trailwood Transport Ltd.|
    010|69216|LBS|
    011|10159|
    050|1177|416|
    999|327737|11|
    001|327863|
    002|NEW|
    004|1|
    005|1610|
    006|091021|
    007|16|
    007|21|
    008|600000101|TRAVELERS TRANSPORTATION SERVICES|
    010|42595|LBS|
    011|091909A|
    050|1177|256|
    999|327863|11|
    001|327876|
    002|NEW|
    004|1|
    005|1359|
    006|091026|
    007|16|
    008|600000021|BRUCE R SMITH LIMITED|
    010|42231|LBS|
    011|93468|
    050|1697|1050|
    050|1697|1050|
    050|1697|1050|
    050|1697|1050|
    999|327876|11|
    Also the file name is something like: abc.yymmdd , the extension of the file keeps changing every day. Please suggest me how do I acheive this.
    Thanks for your help in advance.
    Regards,
    Kalpana.
    Edited by: Kalpana Timmapuram on Dec 4, 2009 2:22 AM

    Hi Kalpana,
    Also the file name is something like: abc.yymmdd
    the file name u can give as   abc.*
    which will choose all files starting with abc.
    For the FCC i think it's better u access the whole record at a time
    like
    001|327737| will be 1 record and
    002|NEW|
    004|1|
    005|2077|
    006|091021|
    007|26|
    008|600000134|Trailwood Transport Ltd.|
    010|69216|LBS|
    011|10159|
    050|1177|416|
    999|327737|11|
    all will be one single records...
    You can split the records into fields based upon the I in mapping and will get the exact structure...
    Babu

  • Configurig FCC in Receiver File Adapter

    Dear All,
    It is a IDOC to FILE Structure where after mapping there are only two fields in the target structure and the occurrence is only once.
    The two fields are - filename and data
         <Message>
              <filename>brand0412</filename>
              <data>CO BLUE ALTERNATE Y</data>
         </Message>
    I would like to create a text file with the following requirements:
         1) the name of the text file -> value of field filename -> brand0412.txt
         2) the content of the text file should be -> the value of the data field -> CO BLUE ALTERNATE Y
    i.e.
    File name - brand0412.txt
    Content - CO BLUE ALTERNATE Y
    What are the parameters I should use for FCC?

    Hi Rana,
    You can use DynamicConfiguration to name the text file. You can find the Dynamic configuration UDFs on SDN. Here are few , modify as per your requirement.
    Target file name using Dynamic Configuration
    SAP XI Dynamic Configuration - Code Gallery - SCN Wiki
    Dynamic File Name - UDF
    Map as below :
    Filename -> DynamicConfiguration UDF ->TargetMessage
    Your target structure will look like
         <TargetMessage>
                   <Message>
              <data>CO BLUE ALTERNATE Y</data>
                   </Message>
         </TargetMessage>
    Select FileName in ASMA properties in receiver adapter.
    Once you have done this , configure the receiver adapter using FCC parameter. refer below.
    XI/PI: File Content Conversion for Simple Structure

  • FCC parameters for File  to CSV

    Hi ,
    I am facing some problem when i am doing a simple file to CSV .the file is picked up from source directory,but i am not getting it back in the target directory.I think the problem is with the Content Conversion parameter and the receiver communication channel.Can any one tell me the FCC parameter in the receiver CC.
    Thanks.

    Hi-
    Try this parameters,I also faced the same problem earlier.
    item.endSeperator  'nl'
    item.fieldSeperator   ,
    itm.fieldNames                 ** give all ur fieldsnames seperated by comma
    MT.fieldSeperator  '0'
    Record.fieldSeperaotr  '0'
    Hope this helps you..

  • Variable Substitution field shouldnot be written to the file

    Hello,
    I am doing a proxy to file scenario.
    Below is my datatype structure:
    MT_IN
    ---Line     1..unbounded
    ---FileName 1..1
    From the R/3 side, I send the entire file in the "line" element and the name of that file in the "FileName" element.
    Now I want to use this "FileName" element in my variable substitution to dynamically generate my filename schema but I dont want to write this into the file which is written to the filesystem.
    I only want to write the contents of "Line" element to the file and not the "FileName".
    What all options are available to do this? Please detail out.
    Thanks

    Hi Laxmi
    I think you need to reframe the message
    Do like this
    MT_OUT
                Header
                   FileName
                Items
                   Line
    Now you get Record Structure  Header, Items
    and apply FCC parameter. This will resolve. Your structure is not getting supported correctly by FCC. Try it
    Thanks
    Gaurav

  • File content Conversion in j2se at the receiver side

    Hi ,
    I need to do a file content conversion using j2se adapter at the recevier side.
    my structure is something like
    <name>
        <name1>
        <name2>
    </name>
    <address>
         <address1>
         <address2>
    </address>
    and the output should be like
    #tname1$name2
    #sadress1.address2
    Please do the needfull
    Thanks & Regards,
    Hamsa

    Hi Hamsa,
    #tname1$name2
    #sadress1.address2
    Lot of # and $, so can you paste the FCC parameters that you have tried in the File adapter?
    In j2se also we can use the same. If you are not sure on how to use, paste the FCC parameter here and someone will be able to make the J2SE version out of it
    Regards
    Suraj

  • MessageTransformationBean Problem

    Hi Guys,
    I have a .txt file with below structure
    Plant|Contact_ID|Contact_Name
    017S|96630|GIL1
    017S|96630|GILami
    017S|96630|ssss
    017S|96630|ffff
    The first line is Header Value and Rest of the lines are Item values.
    and I dont want the Header Value into my system during conversion.
    If i was using File Adapter FCC parameter, i would easly use Document Offset paramet with value to 1. and i will have a simple structure for conversion (only item values will be read into the system).
    How to perform the samething using MessageTransformationBean?
    I dont want to send the Header information to receiver system (prxy connection).
    PS: I am not using any mapping here as well. and i cannot ask Source system to not to send the Header LIne in the text file.
    Do help me. i know its bit tricky one.

    Hi Got the answer by myself.
    I am updating here so that others can benefit from it.
    if the Module parameter xml.conversionType =StructXML2Plain
    then use the Parameter: xml.documentSkipFirstRows = <specify number of rows to be omitted>
    If the Module Parameter  xml.conversionType = SimpleXML2Plain
    then insert value for pameter xml.processFieldNames = fromFile
    Description: *fromFile* means that the field name information is located in the header line of the file to be converted.
    hope this helps.
    Prakash.
    Edited by: senthilprakash selvaraj on Aug 3, 2011 11:55 AM

  • UDF - Removing Header Record from File

    Hi Team,
    In my file(File Content Conversion) to ABAP server proxy scenario...
    The source File structure is like this...
    KUNNR|Matnr|Description----->(This is Hearder Record.Each File contains this header record.)
    1001|0077321|Special Materials
    1002|0077323|Raw Material
    File adapter will picks the file , In Message Mapping The first record is the Header Record from the above file structure.So I need to remove the Header Record.
    Can we handle  this requirement with any FCC parameter ;I think we can do it with the help of UDF in MessageMapping?
    Can anybody ghelp me the sample code for this.
    Thanks.
    Drumi

    Hi,
    You can use Document Offset in FCC to  specify the number of lines that are to be ignored at the beginning of the document.
    Regards,
    Priyanka

Maybe you are looking for

  • How do I get rid of my name in Lion Login ID on Top Right of Menu

    In Lion, my user id (My full name) is at the top right of my menu screen - next to spotlight.  Im trying to figure out how to get rid of my full name because a) Theres only one user on this computer & I know who I am b) I have other apps with menu ic

  • How do I get admin access to my child's iPad

    I am setting up my child's iPad using my apple ID. I want to let her have her own passcode, but I want to have ultimate admin access. Is this possible on iPad 3 and if so how?

  • Service entry sheet revoking issue

    Hi All, I am facing some issue in revoking the service entry sheet. We created SES, accepted and entered invoice. Then i cancelled the invoice and revoked the SES, but now the revoked value in movement  102 is not the SES accepted value. For example

  • Standard business content not extarcting all data

    Hello, I am currently rolling out QN data.  The standard business content for 2lis_05Q0task includes FECOD FEGRP & OTEIL (from table QMFE) fields however the data is not being pulled. All the other data is coming in ok.  Is there something I need to

  • Replaced HDD, still not working

    Hi. Our MacBook stopped working for no reason. It wouldn't boot up, and just the flashing folder with a question mark appeared. After some searching it seemed like this is a common problem and most likely the HDD had failed. MacBook is 14 months old.