File to file using fcc

Hi Experts,
     i am doing file to file scenario using fcc.in that i want to send multiple records as an xml file and i have to display that records in the receiver side.
thnaks in advance
lokesh

You can set the parameter Recordsets per message to *, otherwise also it is set to * by default.
This link is for your reference to set all the parameters in FCC.
http://help.sap.com/saphelp_nw70/helpdata/EN/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm

Similar Messages

  • 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 file adapter Need to Get Only one record Using FCC

    Hi All,
                  I am using File to ABAP Proxy interface, where i need to Trigger my proxy so in my sender file adapter , i need to configure as such it is should take only one record, from whole file i am using Key field parametrs in FCC but it is taking all the records which is not having the key fields also
    please help me
    Thanking you
    Sridhar

    2A64310       1 6V83970       03751650016001154000                    1 6V9961XT-3   13236157001160
    2A64310       1 6V83970                        000                    1 6V9962XT-3   23236162
    2A64730       1 6V83970       03751650016000106000                    1 6V9962XT-3   13236162000112
    2A64730       1 6V83970                        000                    1 6V9961XT-3   23236157
    2A64741 6V99481 6V83971 4S541403751650016000152360                    1 6V9964XT-3   13236168000166
    2A64741 6V99471 6V83971 4S5414                 000                    1 6V9963XT-3   23236167
    2A64772 6V99492 6V83982 3S860605001650017000244000                    2 6V9965XT-3   13289090000248
    2A65690       1 6V97460       07501226872000110000                    11242153L&MP   1
    2A65690       1 6V97460                        000                    11242121L&MP   2
    EOF
    this is sample file , i need to have any one line , cause i need to just trigger a proxy , i am not to going tp take entire file cause in real time i will getting 100 MB file which will be a performance issue

  • Error in file to file using FCC

    hey guys
    i m doin File to file scenario using FCC and getting the followin error in message mapping when i load the payload from SXMB_MONI
    23:43:10 Start of test
        Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
      23:43:10 End of test
    the payload is of the form
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:DT_sender xmlns:ns="http://thoughtbyte.com">
    - <Recordset>
    - <Row>
      <Name><?xml version="1.0" encoding="utf-8" ?></Name>
      </Row>
    - <Row>
      <Name>- <ns:DT_sender xmlns:ns="http://thoughtbyte.com"></Name>
      </Row>
    - <Row>
      <Name>- <Recordset></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><?xml version="1.0" encoding="UTF-8"?></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><ns:MT_sender xmlns:ns="http://thoughtbyte.com"></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Recordset></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Row></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Name>ewqe</Name></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Age>das</Age></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Dept>fggfgf</Dept></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></Row></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></Recordset></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></ns:MT_sender></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name></Recordset></Name>
      </Row>
    - <Row>
      <Name></ns:DT_sender></Name>
      </Row>
      </Recordset>
      </ns:DT_sender>
    any idea where the error might be?
    thanx
    ahmad

    hey guys
    i m still getting the same error,even though i have changed the payload
      <?xml version="1.0" encoding="utf-8" ?>
    <ns:DT_sender xmlns:ns="http://thoughtbyte.com">
    <Recordset>
    <Row>
      <?xml version="1.0" encoding="UTF-8"?>
      </Row>
    <Row>
      <ns:MT_sender xmlns:ns="http://thoughtbyte.com">
      </Row>
    <Row>
      <Recordset>
      </Row>
    <Row>
      <Row>
      </Row>
    <Row>
      <Name>dsfdf</Name>
      </Row>
    <Row>
      <Age>ghhg</Age>
      </Row>
    <Row>
      <Dept>gfgfg</Dept>
      </Row>
    <Row>
      </Row>
      </Row>
    <Row>
      </Recordset>
      </Row>
    <Row>
      </ns:MT_sender>
      </Row>
      </Recordset>
      </ns:DT_sender>
    i didnt knew why i waz getting <name></name> so i manually deleted them and also deleted the "-" and the pasted this in the file to be picked,file is pickin up but not being delivered and the error is still the same
    00:27:23 Start of test
        Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
      00:27:23 End of test
      thanx
    ahmad

  • Ignore last lines in a file using FCC

    Hello,
    can we ignore last two line in a file, when we are using FCC.
    in a file uploaded with some special char like $#@..... due to this mapping getting failed.
    i want to ignore last two lines in a file.
    Regards,
    Chinna

    Hi Chinna,
    you can also use replaceString funtion to remove all special character and then use result for date transformation like shown below.
    Hope it will be helpful for you.
    Regards
    Jitender

  • File not able to pick while using FCC at sender channel

    Hi Experts ,
    we design one scenario that we need to process flat file to ECC. So we have used FCC at sender channel.
    while we testing ,  only its showing as successfull logs in channel , but we not able to pick the file.
    could you please check the below details and let me know it i missed any thing.
    PFB file which  need to pick.
    PFA scrren shot of FCC
    26.Jun 2014 #123
    Country|Currency|Amount|Code|Rate
    Australia|dollar|1|AUD|18.989
    Brazil|real|1|BRL|9.119
    Bulgaria|lev|1|BGN|14.037
    Canada|dollar|1|CAD|18.836
    China|renminbi|1|CNY|3.242
    Croatia|kuna|1|HRK|3.623
    Denmark|krone|1|DKK|3.682
    EMU|euro|1|EUR|27.455
    Hongkong|dollar|1|HKD|2.603
    Hungary|forint|100|HUF|8.916
    IMF|SDR|1|XDR|31.154
    India|rupee|100|INR|33.540
    Indonesia|rupiah|1000|IDR|1.668
    Israel|shekel|1|ILS|5.883
    Japan|yen|100|JPY|19.824
    Lithuania|litas|1|LTL|7.952
    Malaysia|ringgit|1|MYR|6.272
    Mexico|peso|1|MXN|1.550
    New Zealand|dollar|1|NZD|17.678
    Norway|krone|1|NOK|3.286
    Philippines|peso|100|PHP|46.019
    Poland|zloty|1|PLN|6.627
    Romania|new leu|1|RON|6.258
    Russia|rouble|100|RUB|59.842
    Singapore|dollar|1|SGD|16.137
    South Africa|rand|1|ZAR|1.894
    South Korea|won|100|KRW|1.986
    Sweden|krona|1|SEK|2.989
    Switzerland|franc|1|CHF|22.569
    Thailand|baht|100|THB|62.119
    Turkey|lira|1|TRY|9.469
    United Kingdom|pound|1|GBP|34.361
    USA|dollar|1|USD|20.179
    FCC details
    channel logs.
    regards
    raju

    Hi Peddaraju,
    Cross check correct source directory and file name is maintained in the sender file communication channel. If everything is fine try to restart the XPI File Adapter service in NWA.
    Troubleshoot as suggested in the below thread:
    File Adapter in PI not reading file from file system.
    Regards,
    Krupa

  • Problem in Archiving File From FTP Server to XI File Server Using FCC

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server. Archiving on XI server is working fine without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files).
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    File adapter has the functionality which support the empty file handling.
    Handling of Empty Files
    Specify how empty files (length 0 bytes) are to be handled.
    ○ Do Not Create Message
    No XI messages are created from empty files.
    The files are processed according to the selected Processing Mode.
    For example, if the processing mode is Delete, empty files are deleted in the source directory.
    ○ Process Empty Files
    XI messages are created with an empty main payload.
    The files are processed according to the selected Processing Mode.
    ○ Skip Empty Files
    No XI messages are created from empty files.
    Empty files are skipped and remain in the source directory.
    refer the belwo link:
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    reward points if helpful*
    thanks
    SAPXI

  • Adding EOF to XML file without using FCC

    Hello Experts,
    I have a simple File to File scenario with source and target files being XML  and simple mapping (No content conversion necessary). The issue which I face is described below:
    File is written by receiver File Adapter on the unix system, a third party Unix script tries to read the file and faces problems which they report is because the file is not ended correctly. When we try to open the files using vi editor, we also get a warning: [Last line is not complete].
    As a temporary solution the script is making sure the line is ended correctly. Can you advice me how from PI side I can make sure that the file ends properly. I was thinking to write a shell script and add it as a OS post processing command but I am not sure whether that will work and whether that is the best solution.
    Also the file name is generated dynamically using time stamps in the receiver side. Version of PI is 7.0 SP16
    Best Regards,
    Pratik

    Hi,
    When PI sends target file to file,it definely wellformed XML,anyway you are sending XML file.
    If you are nor using any mapping,,just copying file from one to other,then problem with test data,may be source data doesnot have EOF tag.
    check/test in message mapping,it gives valid xml structures in out put,then problem with your data.
    Regards,
    Raj

  • 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

  • File to File using BPM & value mapping

    Hi,
       I have the following scenario to do. sample file structure is given below.
    source:
    HDR   13052008INDIA
    BDY   123456
    BDY   1234567
    EOF 
    Target:
    HDR 2IN  BDY 123456 EOF
    HDR 2IN  BDY 1234567 EOF
    for the above mentioned source and target mapping. we have to use BPM and value mapping.
    In the HDR row 13052008 is the date value this has to be passed to RFC function module and it will return 2, this value has to be mapped to target
    And INDIA has to be mapped to IN using the value mapping option. similarly we have many coutry code.
    could anyone let me know the step by step procedure to achieve this, I followed the blog https://weblogs.sdn.sap.com/pub/wlg/1926. [original link is broken] [original link is broken] [original link is broken] but it does not fit to my scenario.
    help is appreciated.
    Regards
    RDS

    Hey,
         This is a normal file to file scenario.
         You need to use RFC look up instead of value mapping.(as you need to extract 2 and IN from an RFC)
    There is no need for a BPM.
    refer to this blog(for RFC look up)
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    this will solve your problem.
    Output of RFC look up will be 2 and IN . So use the concat function.
    Other values map them directly from source to target.
    Also, set the occurence for the target structure as 0 to unbounded in the mapping.(this is to be done in order to have one file for each record of the source)
    You also need to configure file content conversion.(both at sender and reciever side) to convert the text file to XML on the sender side and then XML to text at the reciever side.
    refer to this link for FCC.
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    This is for sender file content conversion.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    This is for reciever FCC.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    reward points if useful.
    regards,
           Milan

  • Unable to load project after delete some path with files but not used at all

    Im using the demo of Premiere Pro CC last demo download today.
    All the fuc**ng day editing some videos, and saved, then I deleted som efolder containing some video files (almost not used) then when I try to open premiere the project I were working, premiere opens, load and freezes and nothing happens, it keeps on the main area withouht any windows, and I cant get my 10 hours of work What happening with thei premiere ? And Im unable to open the project in Premiere CC 7.0 from another computer as saif it was done using new version.
    I NEED A SOLUTION !
    Or never never more use premiere

    I NEED A SOLUTION !
    Don't do this mid stream in EDIT
    ... I deleted som efolder containing some video files (almost not used)...
    TRY  - Go to you Back Up project file or an Auto save and hope that recovers some of your work afterrestoring what you deleted.

  • How do I view ipod music files with out using I tunes?

    I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
    How do I view ipod music files with out using I tunes?

    they should be under ur my music folder if u have windows

  • How to upload Excel file in BI using function module in abap program

    How to upload Excel file in BI using function module in abap program?

    Hi Anuj,
    To upload the file , you can try a standard program "RSEPSFTP" .
    while you execute the program , a selection screen appears in which the inputs should be give as
    RFC destination - The target server name
    FTP command- PUT
    local file - your file name
    local directory - path of your local file
    remote file - your target file name
    remote directory - where it has to be stored
    Hope this is useful for you
    Thanks & regards
    Anju

  • Cannot Delete CPTL file from Desktop using Vista

    Hi All,
    I cannot Delete CPTL file from Desktop using Vista. Explorer
    crashes. It is a Captivate 2 file.
    I have tried (with no luck):
    - logging in as a different user and deleting the file.
    - running explorer as an Administrator
    - uninstalling Captivate.
    Anyone got any ideas?
    Cheers,
    Raef

    Hi Raef,
    That is a strange issue. Here are a couple more ideas you
    could try:
    - Have you tried renaming the file (including suffix)?
    - Have you rebooted?
    - Do you get any error messages when trying to delete, such
    as "Acess Denied"?
    - Is your machine networked? Is it possible someone else has
    the file open?
    - Can the file be moved to another location or put in a
    folder (and then deleted)?
    - Have you tried using the Command Prompt / DOS mode to
    delete the file?
    It sounds like it could be a Vista issue so I would look at
    the Microsoft Vista forums too. Sorry I do not have an exact
    answer.
    IHTH,
    Aaron

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

Maybe you are looking for

  • Loading and Unloading components

    Hi, I'm creating an application with flex and at the moment I'm using a component for each page that I want the user to be able to click through, then changing viewstates on button clicks. I was wondering, since some of my components have autorefresh

  • Laser Jet 4000 TN

    Hello I have searched this forum for a few hours to find a solution. A lot of answers refer to HP Jet. I have no idea what that is. I connect using airport extreme and an ethernet cable. I did reset everything on my printer still no success. Anybody

  • Useable Premiere Elements 11 Serial Number

    I bought Elements 11 and Premiere Elements 11 together last year from Amazon.com.  When I tried to start Premiere on my old computer, it was taking forever, so I started and registered Elements 11.  Because I bought them together in one box, I didn't

  • Cannot open a set of files in iPhoto

    I was uploading photos from my camera and the battery went out - because I was uploading such a huge card, I had to do it three times before it was successful. No problems in iPhoto but after a couple months I noticed that in addition to my original

  • Default Value to Form using Custom Library?

    In Custom Form A, in the global variables i have store the value , How to populate default value to Form B using in custom library. I tried using COPY, but its not working? COPY('GLOBAL.EXP_PRO',':IT_QF.PROJECT_NUMBER'); Is their any other way to do