Receiver File Adapter - Create File on another SAP System

I am working on a project that includes this requirement:  PDF files to be copied from a third party company via SFTP to a directory on our ECC system.
We have worked out the sender side config, and the transfer of the files into PI works fine via SFTP.
However, the PDF files are ending up in a directory on the PI system and not on our ECC system as expected.
The receiver communication channel is set up as follows:
Party = blank
Communication Component = communication component of the ECC business system
Adapter type = File
('Receiver' is ticked)
Transport Protocol = File System (NFS)  (etc)
Target directory = /tmp   (using this temporarily for testing)
I would have thought using the ECC business system would mean the files would end up on that system, but instead they end up on the /tmp directory on the PI system.
We are not permitted to use FTP between our SAP systems, so I can't go with that option.
I've searched for help on this and only see conflicting and vague statements about whether the NFS protocol can or can't be used for transfer to another SAP system in the landscape. 
Any suggestions and help on the above, and the best method of transferring the files to the end SAP system would be very appreciated.
Regards,
Christine

remember that NFS means that it is referring to a file system on PI server.
What you could do is mount a space on SAP PI onto SAP ECC so that ECC will be able to access the files on SAP PI.
Guess that should solve the problem.

Similar Messages

  • File Adapter - Create File Name from Payload

    Hello,
    I have a scenario where I'm sending deductions to external vendors (wage types) following a payroll run, via XI. Part of the message payload includes a data element 'Vendor Name' (e.g. Zurich Insurance). When the XI File Adapter creates the file, I want to create the files as /usr/file/xi/<Vendor Name>.csv
    How to I pick up the 'Vendor Name' from the message payload and pass this into the "File Name:" field of the "File Access Parameters in the File Adapter communication channel configured?

    hi,
    The dynamic filename generation concept is as follows.
    In your filename field. just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    If you have any clarifications, do get back,
    Regards,
    Bhavesh

  • File adapter created file permissions at OS

    Hi,
    We have a file adapter scenario and once we run the scenario at OS level the file is being created with following permissions.
    <b>-rw-r----- </b>  1 xisadm   sapsys    19789000 Oct 10 17:01 File10024322.txt
    So it is not being processed further till we change the permisions to<b> -rw-rr</b> .
    Is there any place in XI where we can change to write the file at OS with <b>-rw-rr</b> permisions.
    Thanks
    Sunil

    Moorthy,
    This is XI writing the file at OS and not XI not reading the file.
    But in one of our DEV env the file is being created with <b>-rw-rr </b> permissions after changed some thing , which we are not sure now. Now we have the same issue in production. Bye the way OS is AIX.
    We would like is there any place in XI we can change so that XI can write the file to have "others" to <u>read</u> the file.
    thanks
    Sunil
    Message was edited by: Sunil Guditi

  • File-Adapter create Files with length 0

    Hello Guys,
    the XI get messages from the Backend via RFC and when the File-Adapter writes the Message sometimes with length 0
    Can you help me

    Hi Anton,
    As Sudhir mentioned, there could be a problem of correct data. The best solution is :
    Inside your RFC code just validate the code for empty values. e.g
    IF NOT ITAB_RFC[] IS INITIAL.
    **ITAB_RFC internal table data.
    ENDIF.
    and after validating this, if still you are getting some file with "0" length, then check File Content Conv in your CC.
    Regards,
    Sarvesh

  • Sending PO idoc to create PO in another SAP system

    Hi,
    SAP A is sending PO idoc (Orders05) to SAP B ...i want it to be posted as PO in SAP B...is it possible or do i have to post it as an SO only ....I found a IDoc type PORDCR01 ...is this correct??
    Also once a PO is created in SAP B can i send a ORDRSP back to SAP A? What config is needed for this...only otbound partner profile( with message control) need to have this entry and also a distribution model entry ....what else?
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 19, 2011 10:39 PM

    Please check through MM01 whether these fields are display only or can be input enabled, also check the transportation group (MARA-TRAGR) in both the SAP system are in Sync

  • File Adapter creates file with old record.

    Hi,
    I am working on Oracle Soa suite and trying to find out the the ways to Write file with the help of File Adaptor. But I find a problem with the file Adaptor that whenever I try to write updated rows to the file, it provides the earlier values in the rows and the new values are not written to the file.
    Regards
    Udit

    Hi Anton,
    As Sudhir mentioned, there could be a problem of correct data. The best solution is :
    Inside your RFC code just validate the code for empty values. e.g
    IF NOT ITAB_RFC[] IS INITIAL.
    **ITAB_RFC internal table data.
    ENDIF.
    and after validating this, if still you are getting some file with "0" length, then check File Content Conv in your CC.
    Regards,
    Sarvesh

  • XI3.0 - file adapter create directory

    Hi,
    Is there anyway in 3.0 to prevent a receiver file adapter from creating a directory if it does not already exist.  There was a parameter in the J2SE adapter but I do not know if or how this has been implemented in 3.0.
    Regards
    Ian

    Ian,
    SPS 17 introduces a new configuration setting for the receiver file adapter: "Create Target Directory" which does exactly what you want.
    See http://help.sap.com/saphelp_nw04/helpdata/en/57/a21f407b402402e10000000a1550b0/frameset.htm
    Regards,
    Koen

  • Error in Receiver File adapter using File content Conversion

    Hi,
    I am getting the following error in the receiver file adapter.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'statement.fieldFixedLengths' or 'statement.fieldSeparator' is missing
    I am using the below parameters for FCC:
    Recordset Structure - statement
    statement.endSeparator - 'nl'
    statement.fieldSeparator - '0X09'
    statement.fieldNames -xblnr,wrbtr,newbs,kostl,newko,prctr,xref1,rke_wwfud,rke_wwst3,blart,bukrs,bldate,budat,gjahr,monat,ctype,waers,bktxt,posnr,wbs_element,mwxkz,businessplace,businessplace,c_waers,c_wrbtr,g_ctype,g_waers,g_wrbtr,h_ctype,h_waers,h_wrbtr,trade_id,lob,sgtxt,zuonr,reason_rev,ldgrp,tcode,lifnr
    ignoreRecordsetName - true
    Please let me know where i am going wrong.
    Thanks,
    Aparna

    Hi Aparna,
    I feel the problem in your content conversion parameters is with
    statement.fieldNames and ignoreRecordsetName
    When you are confirguring receiver file adapter for file content conversion the above one is not required. Please refer below link for details on configuring content conversion in file adapter
    [http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm]
    Hope this helps !!
    Regards,
    Amit

  • Synchronous file adapter sender side configuration in sap pi

    Hi Experts
    synchronous file adapter sender side configuration in sap pi
    can you explain any one tell me step by step procedure?
    Regards
    Sagar

    Hi,
    You can use RequestResponseBean in the sender file adapter module .
    RequestResponseBean (SAP Library - SAP Exchange Infrastructure)
    Request/Response Bean for IDOC_AAE adapter
    Instead of IDOC_AAE adapter you can use FILE adapter.
    Regards,

  • File Adapter-Creating a temporary file

    Hi,
    I got an requirement to place only completed file(With 100% data) in the target directory. So  i need to gather the data in  a temporary file first before final file is put on the target directory. I know we have an option in the File adapter (Put File). What i need is, where the temporary file is created?  do we need to delete these  temporary file?  and How to test this requirement?
    Thanks in advance.
    Regards
    Sreeni

    HI Sreeni
    If you use Temporary file under put file XI wil create a temporary file at the target location only.
    But when your requirement is to create file why you are looking for temperory file. Just use Create and it will create a final file.
    write mode : directly
    Use empty file handling as Ignore
    Thanks
    Gaurav

  • File Adapter: Dynamic file name

    Hello,
    I would like to use a filename like this:
    Name.<DOCNUM>.Direction.<Timestamp>
    For DOCNUM I use variable substitution. Works fine.
    For <Timestamp> I need a different format as the timestamp function
    in file adapter create. So I try to set up my timestamp in mapping like
    dynamic file name:
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Timestamp");
    conf.put(key1, a);
    Input a is date function which creates my desired timestamp format. In file adapter I try this:
    Name.%DOCNUM%.Direction.%Timestamp%
    or
    Name.%DOCNUM%.Direction.Timestamp
    or
    Timestamp
    all doesn't work for Timestamp.
    So is there a possibility to configure a dynamic filename like this???
    Is there a possibility to access dynamic configuration variables in dynamic filename except
    the known for filename and directory??
    thanks
    chris
    Edited by: Christian Riekenberg on Mar 10, 2009 4:02 PM
    Edited by: Christian Riekenberg on Mar 10, 2009 4:05 PM

    your file name needs to be
    Name.<DOCNUM>.Direction.<Timestamp>
    dont use variable substitution. use only dynamic configuration and set the file name
    introduce a logic that will create the string
    Name.<DOCNUM>.Direction.<Timestamp>
    eg. String filename = "Name" + var_docnum + "Direction" + var_timestamp;
    then use the dynamic conf code to set the file name and use adapter specific properties in you adapter to retrieve it.
    Ref:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

  • Sender File Adapter with file conversion

    Hi guys,
    I’m using a Sender File adapter with file conversion. The message to be processed has a structure with fixed lengths and in your content are some values that needs to be ignored.
    An example:
    value1  <b>value2</b>  value3…
    I want to ignore <b>value 2</b> but I can’t find a parameter for that! Do I need to define dummy fields on my data type and ignore those fields during mapping? Or there is a specific parameter for that?
    Thanks in advance,
    Ricardo.

    hi,
    there always is another way:)
    you can import the whole line to one field
    and cut it inside the adapter module
    (then you can define start and stop of the substring that you need to use)
    but of course it's not standard even though it's quite easy to achieve in java
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File Adapter or File  Transport which one will give more performance

    Hi all,
    File Adapter or File Transport which one will give more performance ? in OSB?
    Which one to select any one did performance analysis?
    Thanks
    Phani

    Why don't you just go read some benchmarks?
    http://www.barefeats.com/mbpp18.html

  • How to get the EXCEL file from web site (b2b) into SAP system?

    Hi Guys,
    I have a requirement of saving the excel file that has been send to SAP system from a B2B site.
    Currently there is a call to the SAP system from the B2B site via an RFC function ,this RFC functions gets the excel file as an input to the SAP system,i need to store this Excel file in the SAP  (as an excel file itself).
    How can i acheive this?
    Please suggest.
    Thanks ,
    Swati

    You can extract a date portion and  assign to the variable and then compare with GETDATE()
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Need of XI to send an XML from one SAP system to another SAP system

    Dear colleagues,
    I work in the SRM solution.
    In SRM there is a Purchaser and Supplier scenario called Supplier Self Services.
    The Purchaser creates a Purchase order and sends it to the supplier in form of an XML file.
    The purchaser system and supplier system are the same SAP system but different clients.
    Example: Purchaser client is 300 and Supplier client is 330 and both of them are on the same system.
    I have a very basic question.
    Currently we have the XI system which acts as an interface to send the Purchaser PO XML to the Supplier as XML.
    a)My question is in case the XML structure is identical across both the clients, then what is the need of XI system?
    b) Is it not possible to send XML from one client to another without an XI system? there si no need of any message mapping required since I am expecting the same XML structure in both clients.
    Please clarify the need of XI system in the following scenario. Is it not possible without XI?
    Many thanks.
    Best regards,
    Srivatsa

    Hi Srivatsa,
        YOu can send the XML message from one sap system to another sap system even without an XI system in between.
    But the use of SAP XI (Or any other middleware) is recommended because, it gives you the following advantages.
    1) Better monitoring and alerting mechanism. XI provides you robust set of tools that let you monitor the status of the messages that are exchanged.
    2) Direct communication between systems is referred to as Point to Point communication, which has its own disadvantages as against Hub and SPoke model (Message exchange using XI).
    3) Message delivery is guaranteed if you have XI in between.
    If the target system is down, the sender sap system will not try multiple times to post the message.
    But if you use XI, it can be configured to send the message multiple times, till it succeeds.
    Regards,
    Ravi Kanth Talagana

Maybe you are looking for

  • Drag and drop photo files into photo lab website for uploading photos, worked in old version but not in new version.

    drag and drop ability not available in new version. I am trying to upload a large number of photo file to an online photo site for processing and the drag and drop does not work it did on the old version.

  • SOAP communication Channel inactive

    Hi Forum, We have some SOAP sender and receiver channels, in the integration Directory, which are all active there, but, in the RWB i can see all of them as inactive, with message in RWB as "Channel started but inactive" , why so, can u pls help

  • Duty/Tax Requirements in different sales scenarios.

    Hi, Could anyone please tell me what are the statutaory requirements in terms of excise duty, LST, CST, VAT for sales/stock transfers between- 1- A factory and a factory in the same state in India 2- A factory and a factory in another state in India

  • Mass availability check in COHV fails

    Hi, I have daily mass processing job for Collective availability check running with Reset availability data flag in background job. the job runs around some time 4.30 AM in morning. Sometime the job fails because of order locking issues ( Order is op

  • Where to buy oracle openworld presentations?

    Hi all, I've been searching for the whole oracle website and could not find the url for buying all the presentations for oracle openworld. (or just database presentations) can anybody help? thanks andrew