File deliverable concern in FTP

Hi All,
We have a scenario where we sending the files to FTP with comma delimeted.
Now requirement saying that : There is a another file (called .cksum) should write no.of records , filesize, filename in 2nd file based onfirst file(File1.txt) records.
Ex :
The Checksum file contains number of records, file size and the file name .
The checksum file for file2.cksum contains the following information
1425702217      387293337       File1.txt
Please share your ideas on this , how do we achieve this 2nd file with that information.
Thanks,
Shankar

> >>To achieve this you have to do multimapping and then use Dynamic configuration.
>
> its nice idea , but in small confusion achieve this, can you elaborate some steps? for multimapping..
For multimapping steps use this blog... /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Now, since you already have the data type for your csv structure, so now just create the data type for checksumfile.
The data type for checkusm should be made with just one field (as per your example given for checksum values) and then use Dynamic Configuration to get the FileNmae & Filesize. For counting the records just simply use count function and count all records (use RemoveContext).
Here is the Dynamic Configuration code for FileName & size..
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","SourceFileSize");
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String fileSize = conf.get(key);
String fileName = conf.get(key1);
String output = fileSize + "" + fileName;
return output;
After counting the records just concatenate it with the output of the above udf and pass it to the target of your second mapping structure..
Rest of the steps you can see in above blog..
Regards,
Sarvesh

Similar Messages

  • Can SSIS be used to pick up files dynamically from an FTP folder?

    I get 4 files dumped into an FTP folder each day.  Each comes in with a date, in this format: '20140320' & the filename, which is always the same convention for these four files.  Can I run SSIS on a daily basis, like at 9AM, to scan through
    the files in the folder, and import the ones that were dropped in today (today's files always have yesterday's date).
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Hi,
    You can check the below Link.
    http://microsoft-ssis.blogspot.com/2011/08/foreach-ftp-file-enumerator.html
    Also I would suggest create 4 ftp tasks for each files and define 4 expressions based on the expression below. Give then each file name
    with the expression that is defined.
    “Filename#####1” + (DT_STR,4,1252) DatePart("yyyy",getdate()) + Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2)
    + Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) + ".csv"
    “Filename#####2” + (DT_STR,4,1252) DatePart("yyyy",getdate()) + Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2)
    + Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) + ".csv"
    “Filename#####3” + (DT_STR,4,1252) DatePart("yyyy",getdate()) + Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2)
    + Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) + ".csv"
    “Filename#####4” + (DT_STR,4,1252) DatePart("yyyy",getdate()) + Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2)
    + Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) + ".csv"
    Or whatever the file format is, I selected .csv
    Regards, PS

  • File transfer: AFP vs FTP

    Setup:
    Cable modem to Linksys WRT54g broadcasting only in G only mode for PBG4.
    AEBSn#1 in bridge mode via Ethernet from Linksys, N only mode, broadcasting wirelessly.
    AEBSn#2 is wirelessly extending N-only from AEBSn#1, and is connected to a mini with external hard drive.
    Using PBG4, if I mount a volume from the mini and transfer a file, transfer time is very slow: approx. 20 minutes for a 200MB file. If I FTP from PBG4 into the mini, transfer time is 2 minutes.
    (I think the same happens if I use a Macbook Pro connected to the N-only network, but it's in for repairs right now, so I can't be sure.)
    Any idea why the transfer times are so different b/w AFP and FTP and, more importantly, what I can do to remedy this? Thanks.

    Same problem here. I have two AEBS Gigabit in bridge mode. Transfering a file via FTP or with Apple Remote Access (ARD) brings up to 3 MB/sec. Same file and same configuration connected via AFP only brings 60 kB/sec.
    I hope somebody has an idea how to fix this.
    Thanks in advance

  • How to send multiple files in parallel using ftp with single connection

    Hi.
    i have written code for file upload manager using ftp..
    it perfectly working with sequence file uploading in single connection..
    And i tried to upload multiple files with parallel processing in a single connection.... but it is not working properly.. i also used thread concept
    but single file only transfered and connection refused...
    my code here...
    //////////////////// main class //////////////////////////////////////////
    ftp.connect();
    ftp.login();
    String [] archivos = new  String[100];
                                      File dir = new File("C:\\Files Uploading\\");
                                       archivos = dir.list();
                                       for (int s=0; s<archivos.length;s++)
         //Start Data Transfer Here
         new DataTransfer(archivos[s]).start();
                                       Thread.sleep(1000);
    /////////////////////// thread class ////////////////////////////////
    class DataTransfer extends Thread
          String FileName="";
          String LocalPath="",RemotePath="";
           public DataTransfer(String fname)
         FileName = fname;
         LocalPath = "C:\\Files Uploading\\" + FileName;
         RemotePath = FileName;
         System.out.println(LocalPath);          
            public void run()
                        System.out.println("DataTransfer Started");
         /File Transfer Here
         try
               FileInputStream input = new FileInputStream(LocalPath);
                               Ftp_Client.storeFile(RemotePath,input);
         System.out.println("Successfully sent : " + RemotePath);
         catch (Exception exc)
              System.out.println(exc.getMessage());
              System.out.println("DataTransfer Ended");
         }otherwise tell me any other alternate way

    And i tried to upload multiple files with
    parallel processing in a single connection....
    but it is not working properly.FTP isn't a multiplexing protocol. How could it work at all?

  • Retreiving files over http or ftp.

    I was wondering what program I should use to retreive files over http or ftp. Previously I had used wget per my hosting provider's recommendation. It worked when I was ssh logged in to his server (via Mac Terminal). However, when I try using wget on my local Mac it says "command not found".

    Thanks. So if I specify a file name (-o /path/to/file), does the incoming file get renamed to that (and put in that location) or does this specify the directory (-o /path/to/directory) that the incoming file will go to? I wasn't quite clear on that.
    Also, I keep hearing about stdout. What is it exactly? I assumed it was just the Terminal window itself, the alternative being things like | more or | nano or something like that... Or am I totally up the wrong tree?

  • XML File Creation Problem in FTP Server

    Hi.. Experts
    My Internal Table is as follows
    Types: Begin of ty_xmlfile,
             xmlline(60000)        type C,
           End of ty_xmlfile.
    Data: it_xmlfile type standard table of ty_xmlfile,
            wa_xmlfile type ty_xmlfile.
    When I download the file to my desktop using  GUI_DOWNLOAD. It works fine
    CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                BIN_FILESIZE = lv_size
                FILENAME     = lv_file_name
                FILETYPE     = 'ASC'
              TABLES
                DATA_TAB     = it_xmlfile
              EXCEPTIONS
                OTHERS       = 10.
            IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    In the debug mode when I download the internal table(IT_XMLFILE) into an excel file it doesn't open and it says tag is missinig(/basic_material_text) and also when I create the file in Application Server and transfer it to FTP Server it doesn't open there..and also in debug mode I find the length until  DIMENSION AN.. for that row when I double click on that line in debug mode it shows all the text until </baisc_material_Text>
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0&quot; LG.(F)                      (A)ASTM A276 CONDITION &quot;A&quot; 317LTYPICAL MILL CERTS REQ&apos;D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AN*
    The above statement is incomplete when the file is open in FTP Server.
    But when the file is created on to my desktop. It displays all the text....
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0" LG.(F) (A)ASTM A276 CONDITION "A" 317LTYPICAL MILL CERTS REQ'D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AND WILL BE USED AS RECEIVED(T) = TO FINISH TO THIS DIMENSION FOR FORGING AND BILLET MATERIAL ONLYVENDOR TO SUPPLY THE FOLLOWING ENGINEERING/QUALITY ASSURANCE DATATYPICAL MILL TEST CERTIFICATES/CERTIFICATES MUST ACCOMPANY THE MATERIAL.* COPIES REQUIRED:(2)ALL CERTIFICATES MUST HAVE LIGHTNIN PART NO.CLEARLY MARKED ON THEM.* COPIES REQUIRED:(2)</basic_material_text> *
    I could not understand why it takes only until DIMENSION AN
    Any suggestions would be very helpful...
    Thanks,
    Chaitanya
    -Points will be awarded for helpful answers.

    Hi...
    I think each XML Line will be of length 256. So I have to split the String into 256 of each Line.
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    Hope  it works out....I will try for that and Close the Post...
    Thanks,
    chaitanya K

  • File attachment transfer to FTP

    Hi All,
    We are on PT 8.45 & CRM 8.80. And mobile agent is being used for the FieldService.
    Currently we are facing issue with the attachment while synchronizing mobile agent with online application. We are using PutAttachment function for transferring the file to the file server.
    Below is the scenario:
    Technician attaches the invoice, as a html file, to the ServiceOrder component on mobile.
    He synchronize the ServiceOrder back to online application, and the invoice html file is uploaded to file server.
    But, if two technicians synchronize the mobile agent at the same time then the invoice files gets mixedup.
    For example:- Technician A tries to sync ServiceOrder 1, with invoice file name SO1.html. At the same time technician B tries to sync ServiceOrder 2, with invoice file name SO2.html.
    Now what happens is the content of file SO1.html is replaced by SO2.html on file server, although the file name & link to FTP file doesn't change.
    My doubt is that, for every file transferred from the WebServer/syncServer to AppServer is created as PSSYNC0.blob(as seen in the AppServer log). And before this blob file is transferred to FileServer it is replaced by the next file in the queue.
    So my question is can we change the name of PSSYNC0.blob to some unique name for every file? Or do we have any other work around for this?
    The AppServer trace follows:-----
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment:starting, ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/FM17258102tmp.html, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSFTP\CRM0120_33018\7151\FM17258102tmp.html
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment:filtered name = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/FM17258102tmp.html
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment:szTempDir = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6052_1351025679.txt exists.
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment: log file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6052_1351025679.log
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment:starting, ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/DM17250221tmp.html, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSFTP\CRM0120_33018\10824\DM17250221tmp.html
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment:filtered name = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/DM17250221tmp.html
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment:szTempDir = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6152_1351025679.txt exists.
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment: log file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6152_1351025679.log
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment: About to read log file C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6052_1351025679.log
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecuteGetAttachment: Log file indicates result = 9
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment: starting
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment: URL catalog entry: ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment: szFullFtpUrl = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/FM17258102FM17258102tmp.html
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment: pszLocalFilename = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp/PSSYNC0.blob
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment: Local file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSSYNC0.blob
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment:starting, ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/FM17258102FM17258102tmp.html, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSSYNC0.blob
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment:filtered name = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/FM17258102FM17258102tmp.html
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment:szTempDir = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6052_1351025679.txt exists.
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6052_1351025679.txt exists, looking for next available #.
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6052_1351025679.txt exists.
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: log file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6052_1351025679.log
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment: About to read log file C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6152_1351025679.log
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecuteGetAttachment: Log file indicates result = 9
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment: starting
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment: URL catalog entry: ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment: szFullFtpUrl = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/DM17250221DM17250221tmp.html
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment: pszLocalFilename = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp/PSSYNC0.blob
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment: Local file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSSYNC0.blob
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment:starting, ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/DM17250221DM17250221tmp.html, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\PSSYNC0.blob
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment:filtered name = ftp://biz\SVC-FTP-SASPROD:FdAcs9KM@EUWS0117/crm/RF_ATTACHMENTS/DM17250221DM17250221tmp.html
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment:szTempDir = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6152_1351025679.txt exists.
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp30674_6152_1351025679.txt exists, looking for next available #.
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: Checking if C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6152_1351025679.txt exists.
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: log file = C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6152_1351025679.log
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: About to read log file C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6152_1351025679.log
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: About to read log file C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6052_1351025679.log
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: Log file indicates result = 0
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: Successful transfer, deleting ftp log files
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: Successful transfer, deleting ftp log files
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) ExecutePutAttachment: Deleted ftp log files: C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6152_1351025679.log, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6152_1351025679.txt
    PSAPPSRV.6152 (169) [10/23/12 22:54:39 COMPEGUE@EUWS0123 PSSession](0) EvalPutAttachment:finishing, ret = 0
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) ExecutePutAttachment: Deleted ftp log files: C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6052_1351025679.log, C:\DOCUME~1\SVC-TU~1\LOCALS~1\Temp\ftp12880_6052_1351025679.txt
    PSAPPSRV.6052 (751) [10/23/12 22:54:39 DOGANUGU@EUWS0123 PSSession](0) EvalPutAttachment:finishing, ret = 0
    Regards,
    Nav

    there is no WebService running on PI server, this will always be running on the sending system?
    We do not have a WS specificallly running on the PI server.....we just create the WSDL file and send it to the source system.
    If you want to store the PI web-services in a central repository, then you can make use of the Services registry which is available from SAP PI7.1
    the WSDL file generated by PI will be used by the sending system to create an web service?
    The sending system will treat this WSDL file as a web-service. The WSDL file that you generate in PI has the message structure and also a URL (at the end of the WSDL) file. Using these two details the sender systems knows what should be the message structure and to which address (URL) should the message be sent.
    Regards,
    Abhishek.

  • Automate a BI report to flat file on to a FTP server.

    Hello all,
    I have an same issue like the following thread. After extract CSV file successfully to the directory, but unable to find the file. Any thought?
    Automate a BI report to flat file on to a FTP server.
    Regards!

    Need to analyze the business purpose ,however heres my take on it..
    You can utilize 3 options to export query result on to the SAP directories as below and map that path to your FTP server.
    1. Transaction RSCRM_BAPI (still valid in nw2004s)
    2. Transaction RSANWB (analytical Process designer)
    3. Information Broadcasting - KM folder has to be mapped as a file system location.
    Hope it Helps
    Chetan
    @CP..

  • Cant do a file get from external server using file sender adapter with ftp

    Hi all,
    Up until now our company has only used the file sender adapter with ftp protocol to get a file from our XI server for processing and input the file into an integration process
    I have a requirement to do an ftp file get from an external server
    From our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...).  So all firewall issues and communications are fine
    Unfortunately I cannot currently pull files from the external server using the XI file adapter with ftp protocol from the XI development server AWB017
    FTP Connection Parameters: External server name using port 21, Data Connection is Passive, No security, I supply a userid and password
    Processing Parameters: Processing Mode is Archive (I tried test but this did not work either)
    No messages appear in the RWB
    Is there something else that I need to set up in order for the external ftp get to work via the XI file adapter?
    Regards,
    Mike

    Thanks for your responses.
    I have found the error messages in the File Adapter Monitor
    Scenario 1
    When I prefix the source directory with a forward slash, eg <b>/Folder/Subfolder</b> the error message is as follows
    <b>EST: Error: Error connecting to ftp server 'ip address': FTPEx: /Folder/Subfolder: The system cannot find the path specified</b>
    Scenario 2
    When I DO NOT prefix the source directory with a forward slash, eg <b>Folder/Subfolder</b> a different error message is returned
    <b>Error: Retrieving file 'FILENAME.XML' failed unexpectedly: FTPEx: Folder/Subfolder: The system cannot find the path specified</b>
    At least in this scenario the adapter has been able to identify the file on the external FTP site but cannot retrieve it
    Questions
    I thought that the backslash prefix for the source directory was mandatory but I am receiving an error in each scenario
    I receive the same error message whether the Processing Mode is 'Archive' or 'Test'
    The logs on the external ftp server seem to indicate that I am simply connecting, sending username and password then quiting straight away. I am not issuing any commands that they can see
    I thought that being a Sender adapter it would inherently execute a Pull or Get command
    To recap, from our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues, communications, userid and password are fine
    Has anyone experienced these issues?
    Please advise on next course of action?
    Regards,
    Mike

  • File Sender Adapter with FTP protocol

    Hi,
    I implementet a file sender adapter with FTP protocol. There is a problem: the sender processes the files even if they're in use by another application.
    I.E. If another application put files (via ftp) in the sender work directory (that is on ftp), the sender processes those files before their transfer is completed.
    I don't want that this sender in a communication channel in PI 7.1, imports files in the system when they aren't completed yet.
    There are some ways to block sender before it processes incompleted files (in an ftp)?
    Thanks
    Matteo

    Hi,
    File sender adapter provides a check for NFS mode
    +Check this
    To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.
    ●      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.
    This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.+
    Other approach can be to apply OS level checks
    Regards
    Suraj

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

  • File adapter processing in FTP mode

    Hello SDN,
    I need some info on File adapter working in FTP mode.
    What happens when we point to a remote file location that runs on FTP server?
    FTP in standard does not support a remote read operation at all. So the only possible logic that strikes me is issue a FTP get command over the file and get the file locally, read it. Does it happen this way? Or SAP has customised FTP to enable the read operation from a remote location directly?
    Regards,
    Jai Shankar

    Hi Jai,
    I am sure you must have gone through this File/FTP help file earlier also. If you read the Procedure section of it, I think it will give you a clear idea what exactly happening there:
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    Regards,
    Subahsha

  • File not coming at FTP server

    Hi,
    I am doing Idoc to File scenario...In receiver communication channel FTP server is to be used...Data is processing successfully in sxmb_moni...but its not visible at FTP server....have checked at all the places...
    Please help.

    this can be for the following reasons...
    1. your File adapter might throw some error ( check RWB-->Adapter monitoring)
    2. Data might be stuck in Queue ( TO-BE-Delivered state) cehck in adapter engine or cache
    3. Since you are sending data to the remote server, it's so happens sometimes if the idle time is more from one file is sent and for another file it the gap is more then you might have to reactivate the file adapter and run the interface.
    4. Check is there any batch file running on the FTP by legacy which are moving the files form that location...
    5. Make Sure you are sending the data ( No empty files Careated).

  • Creating a GDG File in the Mainframe FTP

    Hi,
    I am working on Proxy to File Scinario, Where i need to create a File in the Mainframe FTP in the GDG File Format.
    The file name schema provided is <b>T903.PX5013.SIRCON.CREDS(+1)</b>
    I am able to genarate the file successfully in the another FTP but not in the mainframe FTP.
    Did any one created the File in the Mainframe FTP. Especially in the GDG File format.
    Thanks
    Amaresh

    Amaresh,
    Did you try the quotes..what was the error...
    You might also want to try...using the word literally..
    as in quote ..i have used that in the past quite successfully..
    Issue is with naming convention and ascii conversion....
    Regards
    Ravi Raman

Maybe you are looking for

  • ITunes 64 setup won't complete on y Vista 64 bit OS

    Hope someone can help.... I've just purchased and set up a new Dell XPS running Vista Home Premium 64bit OS. Its a remarkable machine (lightning quick) however I wasn't aware that this 64 bit OS is an obstacle to some programs....I've worked out solu

  • Currency key in COPA document

    Hi, Do you know how the currency key entered in COPA document is found ? The currency key should be equal to document currency. For the operating concern view of the COPA document, my currency type is not equal to document currency but to company cur

  • Send Images using Dynamic Proxies

    Hi! I try to send java.awt.Images over the wire. My first attempt was to modify the static stub example from the tutorial ('hello'). I added a new method to the interface and the implementation with Image as its return value. It worked fine. However,

  • JSF dataTable dynamic columns Problem

    Hello everybody, I'm trying to display a table with a dynamic number of columns. I found only 1 topic on the matter and tried it out. The JSP Page has this tag: <h:dataTable      binding="#{ViewBean.dataTable}"      value=     "#{ViewBean.tableRows}"

  • QuickLook doesn't show .flv Videos

    QuickLook in Leopard doesn't show me Cover Flow "artwork" for .flv Flash Video files. Does anyone know who is responsible for implementing this? Is it up to the guys that wrote Perian, since Perian allows QuickTime to play .flv files?