FCC with javapping

> I want to Know What is the structure of source data type
You can use dummy values for the source data type. Just enter one node with any name you like.
> and How to configure sender comm. channel
Like you are doing it always, but of cause, no conversion
> Other Q Is it  possible to read Excel or pdf file without module development  and just by java mapping?
Sure. But you have to write the Java mapping by your own.
Regards
Stefan

Can i use it with FTP ( or is it mandatory to use NFS for FCC )
Can i also archive the file on the FTP server
you can use FTP and that is not a mandatary NFS.
you can laso archive the file on the FTP server
http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/

Similar Messages

  • How to do FCC with SFTP adapter (BIC MD tool)

    Dear All,
    Hi guys...can anyone tell how to do FCC with SFTP adapter (Seeburger).
    Can BIC MD tool do the FCC required. can anyone provide link which tells steps to perform FCC with BIC MD.
    we know that we can use the standard module for it. but we are trying to explore this BIC MD and its limitations.
    Regards,
    Senthilprakash

    Hi,
    Im closing this thread as its open for long time now.
    well i have even found the solution for the same.
    SFTP adapter as such does not have FCC functionality.
    we have to use SAP Modules for performing FCC in SFTP adapter.
    for complex conversions (more than 3 levels) we can use BIC tool and then deploy the module in our adapter.
    Regards,
    Senthilprakash.

  • Problem in Sender File Adapter using FCC with Variable structure

    Hi Experts,
    Hi Experts,
    I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
    Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
    Recordset per message == *
    Key Field Name == Key
    (Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
    HEADER.fieldSeparator           ,
    HEADER.endSeparator           u2018nlu2019
    HEADER.fieldNames               Key,x,y,zu2026
    HEADER.keyFieldValue          1
    HEADER.keyFieldInStructure      ignore
    HEADER.fieldContentFormatting     trim
    HEADER.additionalLastFields     ignore
    HEADER.missingLastFields     ignore
    DATA.fieldSeparator
    DATA.endSeparator
    DATA.fieldNames
    DATA.keyFieldValue
    DATA.keyFieldInStructure
    DATA.fieldContentFormatting
    DATA.additionalLastFields
    DATA.missingLastFields
    Using same variables for Trailer record as well.
    Source CSV file which i am picking:-
    ADSE ,RASD,replan  Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,  S Top Up ,20080401  ,20080430  ,sdf  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,  r Cash Award ,20070701  ,20070703  ,ded  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,   Cash Award ,20070801  ,20070831  ,df  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,sf  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    BTRL ,   5140, 
    When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
    However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
    Kindly help me in solving this problem.
    Thanks,
    Aditya Verma

    Hi Madan,
    Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
    ADSE ,ASDA,Sha  replan Fr ont Feed Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,   r Cash Award ,20070701  ,20070703  ,TPV  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,  r Cash Award ,20070801  ,20070831  ,TPV  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,TPV  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    EMPL ,0255555,   Cash Award ,20080301  ,20080320  ,TPV  ,                          00000000027870  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:25,
    EMPL ,0266666,   Cash Award ,20071001  ,20071020  ,TPV  ,                          00000000020681  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0877777,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000036000  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:05,
    EMPL ,0888888,   Leaver Cash Award ,20071201  ,20071231  ,TPV  ,                          00000000157200  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:11:29,
    EMPL ,0899999,  S Leaver Cash Award ,20080301  ,20080331  ,TPV  ,                          00000000153530  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:42,
    EMPL ,0800000,  S Leaver Cash Award ,20070701  ,20070731  ,TPV  ,                          00000000012234  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:34,
    BTRL ,   5140,
    This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
    Thanks a lot,
    Aditya.

  • Sender FCC with unbounded RecordSet Structure produces Empty File

    Hi Experts,
    My scenario is File (FTP) to IDoc, using FCC on the sender.
    The source file is a flat file representation of the IDoc e.g. with the segment names preceeding each record row.
    FCC parameters are as follows:
    RecordSet Name: Z1RECORDSETNAME
    RecordSet Structure: EDI_DC,1,E1TPDLH,1,Z1TPI2H,1,E1TPACC,E1TPTRM,,E1EDT13,,E1TPDIH,1,Z1TPI2HD,1,E1TPNOT,*
    RecordSet Sequence: Variable OR Ascending
    .fieldFixedLengths
    .fieldNames
    .keyFieldValue
    .endSeparator
    .keyFieldInStructure
    above parameters are used in all segments, except in E1TPNOT where ignoreRecordsetName is added
    My issue is when the test file contains more than 1 value for the unbounded segments E1TPTRM, E1EDT13 (e.g.  3 row values for E1TPTRM and 2 row values for E1EDT13) the Content Conversion succesfully finishes but produces an Empty File (size = 0)
    Does anyone know how to fix this issue?  Am i missing something in the parameters to be able to support the current file structure?
    Kindly share your ideas/solution
    I've tried to edit the test file to have only 1 record value for the unbounded segments and it is succesfull and does not produce an empty file.

    Try giving
    EDI_DC,1,E1TPDLH,1,Z1TPI2H,1,E1TPACC,E1TPTRM, * ,E1EDT13, * ,E1TPDIH,1,Z1TPI2HD,1,E1TPNOT,*
    I got it, i guess even you have given the astrix after E1TPTRM and E1EDT13 and it changed to bold.
    Ok ignore my answer.

  • FCC with ASCII and UTF-8 encoding issue

    Hi,
    I have File to IDoc scenario and I am doing FCC which has Japanese chars. (PO with HEADER,1,ITEMS,*)
    I have specified UTF-8 encoding in file adapter to processed the file.
    Earlier, my source file was in ASCII format which had junk chars; my file was picked and Idoc posted had junk chars.
    Then I used UTF-8 encoding for my source file to correct this issue. XI showed proper Japanese chars but this time Header part is missing.
    Do I have to specify encoding in "module" for File adapter?
    Regards,

    Thanks for your replies Chirag/Gabriel,
    ISO encoding didn't work.
    My source file will be in UTF-8 format.
    There is one correction. It is ANSI encoding, not ASCII as in the subject.
    I still have this issue when my document offset is 0.
    I tried to play around with FCC and found this odd thing.
    When first line of my input file is blank....and I omit reading the first line with offset 1, then file is read in its entirety.
    Again, when I remove this blank line and the file starts with Header and with offset 0 in File adapter, then again my Header part is missing.
    What to do?
    Regards,
    AV

  • Sender FCC with complex nested structure - FCC Configuration

    Hi Guys,
    I am working on a File-to-File Scenario using FCC at sender side. I need to configure FCC for this .
    The structure below is nested.
    Can anyone help me with the FCC Configuration for this structure.?
    Souce structure :
    ROD_DT
      num_orders
      test_mode
      order_x
          order_id
          order_date
          mfg_id
          catalog_id
          first_name
          last_name
          recipient
          message
          address1
          address2
          address3
          city
          state
          zip
          country
          country_code
          phone
          subtotal
          tax
          shipping
          total
          shopatron_total
          fulfiller_total
          shipment_id
          additional_info
              in_store_pickup
          express_shipping
               express_shipping_flag
               express_shipping_text
               express_shipping_arrival
         discount
             discount_description
             discount_percentage
             discount_total
          language_id
          currency_id
          ship_type
          packing_list
        num_items
        items
           item_x
              item_id
              quantity
              price
              part_number
              fulfiller_total
              shopatron_total
              options
                 option_x
    FCC Configuration:
    Recordset Structure =
    Header.fieldNames =
    Header.fieldSeparator =
    Header.endSeparator =
    Body.fieldNames =
    Body.fieldSeparator =
    Body.endSeparator =
    Any help in this regard is highly appreciated

    Note that the maximum nesting level that is supported in FCC is as below;
    <recordset>
    <NameA>
    <field-nameA1>field-value</field-nameA1>
    <field-nameA2>field-value</field-nameA2>
    <field-nameA3>field-value</field-nameA3>
    </NameA>
    <NameB>
    <field-nameB1>column-value</field-nameB1>
    <field-nameB2>column-value</field-nameB2>
    <field-nameB3>column-value</field-nameB3>
    </NameB>
       </recordset>
    So if your nesting exceeds 2 levels ... FCC is not possible.

  • Specifically FCC with Reciever file adapter

    Gurus,
    java lookup in message mapping......In a scenario..for Soap to IDOC(ECC)....
    what are the valid values for Service, ChannelName......
           try {
                Channel channel = LookupService.getChannel(Service, channelName);
                accessor = LookupService.getDataBaseAccessor(channel);
                dbRes = accessor.execute(sqlStmt);
           } catch (LookupException e) {
                e.printStackTrace();
           } finally {
                if (accessor != null)
                     try {
                     accessor.close();
                     } catch (LookupException e1) {
                          trace.addWarning("Error closing accessor - " + e1);

    Hi,
    While dealing with the SAP Applications we have to use Business system.
    In your case, you are using the Idoc, so use the Business system to communicate with the SAP ECC.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    Regards
    Seshagiri

  • PI 7.11 - FCC Receiver Adapter

    Hi
    I've got a simple xml which i have to convert in a fixed length text file. Is it possible to convert it using FCC with following structure:
              <root>
                   <data>
                        <record>
                             <name>john</name>
                             <surname>doe</surname>
                             <zip>12345</zip>
                             <city>abcd</city>
                        </record>
                        <record>
                             <name>bart</name>
                             <surname>simpson</surname>
                             <zip>131313</zip>
                             <city>springfield</city>
                        </record>
                   </data>
              </root>
    I did this conversion already with PI 7.0, but i removed the <data> element to get a simpler substructure. Is it also possible without removing this?
    I found following entry [Re: File Adapter Reciver Side: FCC Convetion Problum in PI 7.1], but it didn't works for me. Any suggestions?
    Thanks in advance
    Michael

    Hi,
      Are you looking for a content conversion at teh Receiver adapter or the sender adapter?
    If you have defined teh structure in ur Data type as u have mentioned then don't remove anything because ur source file would be containing the following structure itself.
    If you are getting the XML structure at source
    <root>
       <data>
          <record>
                   <item1>
                   <item2>
          </record>
       </data>
    </root>
    the follow the same structure at the receiver side as well. If u want to delete the data node at teh receiver side then delete at teh source side FCC as well.
    Just try and let me know. I will help you out.
    Thanks
    Veeru

  • Problem with fixedlenthgs in receiver file adapter

    HI,
    I am doing XML to flat file scenario  and using mutli mapping concept without BPM.
    in the receiver file adapter I am using FCC with fixedlengths,then it generated just 3 output files out of nearly 100 source files.the errored one are succcessful in the SXMB_MONI and failing in RWB-->Message moni with waiting status and MDT says that XI_J2EE_ADAPTER_FILE ,Error Code PROCESSING_ERROR .
    i tried in SDN and then found something like enable the disablesecurity check box in variable substitution parameters ,then I got 4 files out.
    these are my FCC params for all structures:
    struc1.fieldFixedLengths
    struc1.fixedLengthTooShortHandling
    struc1.endSeparator
    and I tried with fieldSeparator then it gives successfully all output files.
    so,where is the problem?I didnt understand?
    any suggestion.
    thank you,
    regards,
    Babu Sri

    Bhavesh,
    I felt the same way,but assumed that ,in that way fixedlenghths wont work.
    in my target structure most of the fields have 0-1 occurences ,and even in the source structure too.so,I think it might be the reason.Then I have to make all my about 60fields 1-1 madatory and using mapWithDefaultValue function, as my sources are optional.
    you think it will work just using the "mapWithDefaultValue" function without changing my occurences to 1-1 in the target structure(mandatory)?infact I can try but ,cos of pain for changing like 60 fields....:) and even dont know which fields are causing the problem,so that we can apply "mapWithDefaultValue" function only on those fields.
    thank you,
    Babu Sri

  • Key Field Value in FCC

    Hi Experts,
    I have a scenario in PI, where I have 1 Header, n Data Records and 1 Trailer in the source file. This data is coming in CSV format.
    I am using FCC to convert CSV into XML.
    In the FCC, I have used keyFieldValue parameter. For the Header Record, the Key Field Value is constant "H"; for Trailer Record the key field value is constant "T".
    However for Data Record, the key field value is not constant. The first character of Key field of Data Record will always be "D", but rest of the Alphabets can change.
    Sample File:
    "H","3.04",22/10/2009,16:31:12
    "D2S",21/10/2009,20:00:26,"20044",00666,"S",1
    "D2S",22/10/2009,14:26:20,"20044",00668,"S",1
    "D0S",22/10/2009,08:33:34,"00044",04165,"S",1
    "D0S",22/10/2009,11:59:59,"00044",04166,"S",1
    "T",1393.27,1393.27,8
    Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
    I have no clue, if this can be converted into XML through FCC.
    Any help will be highly appreciated.
    Regards,
    Varun

    >
    Varun Agarwal wrote:
    > Sample File:
    >
    "H","3.04",22/10/2009,16:31:12
    > "D2S",21/10/2009,20:00:26,"20044",00666,"S",1
    > "D2S",22/10/2009,14:26:20,"20044",00668,"S",1
    > "D0S",22/10/2009,08:33:34,"00044",04165,"S",1
    > "D0S",22/10/2009,11:59:59,"00044",04166,"S",1
    > "T",1393.27,1393.27,8
    >
    > Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
    >
    > I have no clue, if this can be converted into XML through FCC.
    > Any help will be highly appreciated.
    >
    >
    > Regards,
    > Varun
    Write a simple module. The module will do a replace of the Dxx fields to D (you can use simple regex function for this)
    After the module, use the messagetransformbean to do the FCC for you.
    The module might sound complex, but trust me its a simple logic you need to implement and you can easily do the FCC with the messagetransformbean

  • How to add the new line in reciever FCC

    Hi All,
    I have my reciever FCC with me, but I just need to add one more additional line or you can say seprate the first line.
    So how to add extra or new line in the current structure?
    Please let me know if there is any parameter for this.
    Thanks in advance.
    Regards,
    Rahul Kulkarni

    Hi Rahul,
    You can achieve this by endseperatot "nl"
    If record set structure is * means fine, you just add second line field names by using end separator "nl".
    If you added first line names in recordsetstructure add second line names as well and remaining same use end separator.
    Example (below file is having two lines):
    <NameA>
    name,address,id
    empid,sal,region
    <NameA/>
    your FCC will be (according to your requirement the below 3 fileds will be use full).
    Recordsetstructure  - *
    NameA.fieldvalues - name,address,id
    NameA.endseperator - nl
    NameA.fieldvalues - empid,sal,region
    Thanks & Regards,
    A.Neelima.

  • First line not coming when FCC is used

    Dear All,
    I am using FCC on sender side and the input file is in UTF-8 format....
    i am using FCC with key fields on the sender file adapter...
    now as the UTF-8 file was having control characters at start the keyfield was not matching the start of file and hence the first line of data was not coming in moni..
    i got an answer to this query yesterday where Stefan Grube and Volker replied saying that some of the editors like notepad and word add control chars at start in UTF-8 files and hence UTF-8 files should be created only using editors like TEXTPAD .....
    but the problem is that the file would always have control chars at start.. what are the ways of removing it ?
    i am thinking of an adapter module at the sender side...
    Edited by: Tarang Shah on Jun 11, 2009 6:31 AM

    Hi,
    I faced this kind of problem previously.
    Have used SynTextEditor in which the hidden/special/control chars are clearly visible, delete those chars and use for input.
    Alternatively, you can save the file in UTF8 format in textpad and use as input.
    Regards

  • How to do a sender File Content Conversion with this structure ?

    Hi SDN,
    I have a flat file with this format :
    header1
    header2
    headerN
    detail1
    detail2
    detailM
    header and detail are strings with differents lengths.
    There is no key field.
    What are the method to do a FCC with this structure ?
    thanks in advance
    Greg

    Hi,
    Here is my test data :
    3D10512224046N350 106500002000020083,450072413090545023500280242
    3D10512224142N388  63400012000120138,050062213030641032902310041
    3D10512224143N355 191600009000080333,850062914360806045901430124
    3D105122230127/014046N 106501080015301051222084500170000,6894840047,4027610101
    3D105122233970/014046N 106501090011001051222105800110000,6895330047,3884300102
    3D105122228864/014142N  63402050008301051222065900080000,7999170047,3951100101
    3D105122210381/014142N  63401073011001051222071500190000,7397000047,3853100102
    3D105122210668/014142N  63403070011591051222081200100000,8302500047,3871200103
    3D105122210342/014142N  63405073011591051222082700130000,8269000047,3866200104
    3D105122223934/014142N  63404073011301051222085100120000,8365170047,3757800105
    3D105122210380/014142N  63409063011591051222092900120000,9868670047,3974300106
    3D105122201670/014142N  63406050011591051222100000110000,9861830047,5372000107
    3D105122210514/014142N  63410073011001051222103300070000,9895830047,4272700108
    3D105122201339/014142N  63407090014301051222105300190000,9831410047,4126660109
    3D105122204940/014142N  63408073014301051222111700150001,0161500047,4243200110
    3D105122225675/014142N  63411090012001051222121100191000,7733330047,3888700111
    3D105122205447/014142N  63401080012001051222123800061000,7442170047,3867100112
    3D105122216716/014143N 191601080011001051222074300091000,2266940047,8758400101
    3D105122222952/014143N 191601073011301051222081800360000,3559120047,9371010102
    3D105122225232/014143N 191601063014001051222090600130000,4123830047,8753300103
    3D105122216516/014143N 191601083012001051222095700080000,4648000047,8643300104
    3D105122230377/014143N 191601070012001051222100700040000,4714830047,8638500105
    3D105122221885/014143N 191601073012001051222104500130000,5358330048,0378500106
    3D105122208380/014143N 191601071517001051222122500110000,5779500047,7382700107
    3D105122224171/014143N 191601070011001051222124300081000,6140330047,7543800108
    There is no key code because the data are different depending on the companies in my group.
    Greg

  • How to Ignore Header Line in FCC " Sender Side" .

    Hi SDNrs,
    I am getting a File Data  after FCC with header Data.
    How to Ignore that Header Line coming with actual data...
    Like Employeeid , Name , Deptid
    So this Employeeid , Name , Deptid is also coming as Data.
    Or what approach Should be Used?
    Regards
    Prabhat Sharma.

    Hi,
    Use " Document Offset" parameter in Sender File CC.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Thnaks
    Amit

  • Problem with hissing noise of earphone on nokia e5...

    I have a new brand of E50 but It's a problem with quality of sound on the earphone speaker.During the calls I hear the hissing
    noise.Is it problem of this model or my headset is defect?

    Hey. Really sorry for late answer. i got same model (but i7 , r7 m265 )
    For the fan noise ; check out gpu and cpu temperatures . clean the fan dust with power manager program. and update drivers.
    for the battery , %1 wear is nothing . only affects 1-2 mins . battery has internal smbus battery fuel gauge and it automatically calibrates battery full charge capacity. but you can manual calibrate fcc with power manager. we are very lucky because on some hp ,samsung etc laptops , battery comes with %10 wearage (like my old laptop).
    you post this message 6 months ago. if your battery wear is >%15 now , send battery to service. they will replace a new battery. if battery wear <%10 , your battery is normal

Maybe you are looking for

  • Messages do not sync in correct order.

    One of our Blackberry users is experiencing the following annomoly, for example: An e-mail will be delived to Outlook at 10:00am. The user will reply via Outlook at 10:05. A little later once the Blackberry handset has syncronised wirelessly the sent

  • Partner number 0000002016 for customer 2348, partner function WE does not e

    Hi, We are getting errors: SE Partner number 0000002016 for customer 2486, partner function WE does not exist. 3500020146 CH Partner number 0000002016 for customer 2348, partner function WE does not exist. 3500016813 SE Partner number 0000002016 for

  • Synching Tungsten E2 with Outlook 2010 on Windows 7 (64 bit)

    I am currently using Windows XP and Outlook 2003 with Tungsten E2 but need to replace my PC The new PC will be running Outlook 2010 on Windows 7 (64 bit).   Is there any way of synching my Tungsten E2 to Windows 7 (64 bit) running Outlook 2010?  With

  • Update Termination Error while creating Delivery

    Hello Experts, I am trying to create delivery with reference to Standard Order when I click on SAVE I am getting message that delivery is being created. But when I am trying to open the same delivery in change mode I am getting Update termination Err

  • FDM ability to split or allocate based on custom dimension

    This is a little complex to explain, but I have a requirement for every row coming through on a flat file, to check the value of the UD4 dimension, and if it has certain values, it needs to allocate or split that row into multiple rows. So, for Examp