Doubt in file to file scenario

can i transfer a flat file  (notepad) from sender to receiver using following configuration
Adapter Type: File Adapter
Transport Protocol: File System (NFS)
Message Protocol: file
Adapter engine: Integration server

Hi,
Check out this Blog
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
You can use the same logic either for FTP or for NFS
Thanks,
Prakash

Similar Messages

  • Basic doubts Regarding the RFC to File scenario.

    Hi All,
    I'm doing a RFC to File scenario, so before starting the development i went through many blogs and sites to know more the about scenario. I'm confused in the step where we have to create a RFC (type TCP/IP) in sm59.
    I have the following doubts :
    1)whether  to create the RFC in sender (which will be ECC system) or XI.
    i.e., RFC in sender (ECC) pointing to xi system in sm59 of Sender(ECC)
    or
    in XI pointing to sender (ECC) system.
    2) the program id maintained in RFC.
    the program id is any name or the FM which is being imported in XI system.
    Thanks in Advance,
    Kind Regards,
    Lalitkumar.

    Hi Lalitkumar,
    1)whether to create the RFC in sender (which will be ECC system) or XI.
    i.e., RFC in sender (ECC) pointing to xi system in sm59 of Sender(ECC)
    or
    in XI pointing to sender (ECC) system.
      It should be in sender ECC.
    2) the program id maintained in RFC.
    the program id is any name or the FM which is being imported in XI system.
    It can be any name but should be same in RFC destination and RFC adapter.
      As stefen mentioned use ABAP proxy inspite of RFC as its better performance wise.
    Regds,
    Pinangshuk.

  • Error/Doubts in Idoc-XI-File scenario

    Dear All,
    I am doing one scenario in which DELIVERY idoc is posted from R/3 to XI and then from XI that idoc is to be sent as flat file to one local folder.
    For this scenario, I have done all ALE settings and I am able to see the idoc in XI in cXML format.Now I want to sent it as flat file.
    Now, for doing this I created 2 BS & 2 TS. 1 BS & TS of type Third Party for receiver & 1 BS & TS are of type Web as ABAP for sender. Then I have created one namespace in IR. I have not created any DT, MT, MI, MM becoz the structure of source and target file are same. Now, I created one IM in which I specified specified Type as "ABAP Class" & Mapping program name as one of the Z function module as specified in one of the SAP Guides.
    Then in ID, I created 2 Parties ie. one for Sender & one for receiver. Sender is having a communication channel of type Idoc & receiver is having communication channel of type File. And thn further Receiver Agreement, Inetrface Determination, Sender Agreement & Receiver Agreement are configured.
    In my system there is one scenario already configured which is using Delivery idoc so I have used party in my scenario for both sender & receiver.
    Now, when I am sending the idoc from R/3, I am able to see cXML in SXMB_MONI but it is taking receiver as the one which is defined for the already existing scenario but not the receiver defined by me.
    Can anybody guide if I have followed the correct steps & where I am doing the error.
    Warm Regards,
    N.Jain

    Hi ,
    Plese refer the following blogs ,
    IDoc to File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    You have to do all this settings mentioned in the docuemnt:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    Also can you check this weblogs on the same:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Thanks ,
    Suvarna
    Award pts if  it helps .

  • Doubt in idoc 2 file scenario

    Hi,
    I want to create idoc 2 file scenario with out any Transformation.
    In that case how/what to create Data type for receiver.
    I want to receive the same idoc in the receiver folder/Directory (like XML file) with out any transformation.
    Thanks
    Ruban

    Hi,
    For this scenario you need to create the Data type structures as similar to IDOC type and just have to transfer to file without FCC.
    It will transfer the IDOC data as it is in XML format
    refer
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
    (Just avoid using FCC conversions on receiver file adapter in above scenarios)
    Thanks
    Swarup
    Edited by: Swarup Sawant on Mar 24, 2008 6:15 PM

  • Doubt Regarding SOAP to File Scenario

    Hi All,
    I am trying to create a SOAP to File scenario .These are the following things I have done so far :
    IR -  2 datatypes ( 1 for soap message and 1 for file message )
           2 message types for the corresponding messages
          2 Message interfaces, both are asynchronous
          1 message mapping
          1 interface mapping
    ID- 2 business systems (1 to send soap, 1 to recieve file )
        2 communiccation channel (soap sender, file receiver )
    soap sender adapter parameters - Interface Name  - Message interface for soap message
                                                      interface namespace - scenario namespace
    Then,  i generated a wsdl file to expose the outbound message interface for soap message as a web service, url for message interface : http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    After generating the wsdl file, i imported it in external definition
    Could anyone plz. tell me, is this the right approach to creat this scenario ? how can I test this scenario?using altova spy ?

    Hi,
    The URL you have mentioned to genarate WSDL is not a valid one
    http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    Check the below valid URL
    http://host:port/XISOAPAdapter/MessageServlet?channel=:service:channel.
    You no need to import this to the Eexternal Definition as you already have DT,MT and MI, Any way this dosn't make any difference.
    You can use SOAPGUI Tool to test:
    ->Create New Project -> provide WSDL you have genarated.
    ->Select Request and provide username and password and click the green button on top(Submit request to end URL).
    Using altova spy:
    Select SOAP Menu->Create New SOAP Request and provide your WSDL file and
    SOAPMenu->Send Request To Server
    Then you will get response..
    Regards,
    Prasanna

  • Regarding Background Job scheduling for file to file scenario

    Hi Guru's
    Good morining all of u
    I have one doubt on ...
    can we do background job scheduling for file to file scenario?
    Please give me response as early as possible.
    thanks and regards
    sai

    background jobscheduling for file adapter...
    you can schedule the file adapter according to your requirement as follows:
    In the  Communication Channel Monitoring Locate the link Availability Time Planning,  In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

  • Problem in idoc to file scenario

    hi
    while creating the idoc to file scenario i am facing few problems.
    1) My design time objects are working fine. i have checked my message mapping, message interface etc.. (all design time objects are in active mode).
    2) In ID, i have tested my configuration in test configuration, its working fine there as well (in ID i am using 2 business service one for sender, one for receiver)
    3) i am using my ecc6 training server as my sender and using my XI server as receiver.
    4) i am sending idoc from ecc6 and converting it  to file in XI server and saving it in XI server itself(my receiver in this case).
    my error:
    i send my idoc from we19 transaction, and i see a error message stating
    that 'RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC'
    my doubts.
    1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    kindly help me with this issue.
    regards
    manoharan

    >
    manoj murugesan wrote:
    > 1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    >
    > 2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    >
    > 3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    >
    >
    > kindly help me with this issue.
    >
    >
    > regards
    > manoharan
    and to 1 & 2 ref. below,
    Configuration steps required for posting idoc's(XI) -
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    ALE configuration for pushing idocs from SAP to XI -
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    3. NFS protocol is used to read/write files to the XI server itself. If you have to write to a local machine then use FTP

  • Issues in IDOC to File scenario using bussiness service

    Hi Team
    I found a blog which explains about the IDOC to FILE scenario by using bussinss services. I followed the steps and finally i am getting a error message while posting an idoc in we19 (ie IDOC 09878 was saved but cannot or should not be sent).  The setting which have done on SAP side are as below
    SAP SIDE CONFIGURATIONS
    1. Created RFC destination : RFC_XI_SYSTEM
    2. Created port : PORT_TEST
    3. created logical system: IDOC2FILE
    4. created partner profiles: IDOC2FILE
    XI side configurations
    1. Created RFC destination: RFC_SAP_SYSTEM
    2. Created port : by using IDX1 t-code
    DOUBT: here it is asking for PORT, CLIENT,Description and RFC destination, please let me know what values i need to put here, please find the SAP and XI system details below and suggest accordingly.
    3. metadata: by using idx2.
    DOUBT: here it is asking for IDOC type and source port,  i can give the idoc name but i am not getting what i need to give to source prort field, please check and let me know,  please find the SAP and XI system details below and suggest accordingly.
    SAP system details
    Client: 800
    User name: sapuser
    system id: DEV
    system number:10
    XI system details
    Client:100
    username:xisuper
    system id: SXI
    system numebr: 00
    I request you to please check and help to successfullly completion of this scenario. I request you to please provide me the screen shots of the pre-requiste settings and suggest me the steps to debug the scenario.
    Thanks in advance.
    Raju

    To complete your scenario successfully with better understanding of Idoc adapter
    read http://help.sap.com/saphelp_nw70/helpdata/en/ab/bdb13b00ae793be10000000a11402f/content.htm.
    for troubleshooting refer http://help.sap.com/saphelp_nw70/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm

  • IDOC to File scenario Configuraton settings

    hi,
       I am doing IDOC to FILE scenario.I am sending IDOC from R/3 to XI and then to XML file.That mean smy scenario is as Follows (  R/3XIfile ) These are my queries
    -->I have created RFC Destination from R/3 to XI.should I need to create RFC destination from XI to R/3 ( i mean In  XI )??
    -->I have created one Port in R/3 and I have linked that port with RFC Destination that i have created.here i am sending IDOC from R?# to XI...SO we call this PORT as SENDER PORT or RECEIVER PORT??
    -->and DO we need to create PORT in XI also??is it require for my scenario??
    -->DO we need to create Partner Profiles in XI also??
    -->DO we need to create LOgical system in XI to represent the XI system?? (as we created LS in R/3 to represent sender system)
    --->Here is my big doubt..
                   when we test IDOC ..by sing we19 TCODE,
       We need to fill the corresponding details as below,
    Receipent                                  Sender
    Port                                              Port
    PartnerNo                                      PartnerNo
    PartnerType                                   PartnerType
    my Doubt is,
    -->>In which field we need to specify the Port that we have created in R/3..Receipent side OR Sender Side..?? and Why??
    -->>Same for ParnerNo..where we need to specify the Logical system which we have created in R/3 should specify??Why??
    Please give reply ASAP..with detailedexplanation..
    points will be rewarded..
    regards,
    murali

    HI
    SLD-
    1) Create a Product/Software Component
    2) Technical System pointing to R/3 system
    3) Business System for the above technical system
    In the Repository
    1) Import the Software component created in the sld
    2) Create a namespace,
    3) import the idoc and then create sender data type/message type etc and mapping
    4) Mapping Rules is depends on the requirement
    In the Directory
    1) Create a Scenario /import the business system
    2) Create Receiver/Interface determination
    3) Create communication channels for sender and receiver
    4) Sender Agreeement and Receiver Agreement.
    Then the file adapter configuration is depend on the input file format.
    Also you need to have Logical destionation created in the XI , and the IDX1 entry
    In R/3 Port, Partner profiles etc should be created
    Have a look into this document~
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    While doing an File -> XI -> IDoc scenario, The Points to noted are:
    1. You donu2019t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you will need a sender agreement for the file.
    4. In this configuration note that you will also need a receiver agreement for the IDOC.
    For any File -> XI -> IDoc scenario ref:
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    While doing an File -> XI -> IDoc scenario, The Points to noted are:
    1. You donu2019t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you will need a sender agreement for the file.
    4. In this configuration note that you will also need a receiver agreement for the IDOC.
    For any File -> XI -> IDoc scenario ref:
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD u2013 System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system names
    cheers
    reward poins if found useful

  • Error in IDOC(ALEAUD) to file Scenario

    Hi ..
    we have a client requirment were they want the ALEAUD  acknowledgement in the form of file.
    So we are creating a IDOC to file scenario, where IDOC is ALEAUD which is mapped to create a file in the traget system. but when we post the IDoc we get thwe following error.
    *Note: have a small doubt. Can we use ALEAUD Idoc as a normal IDoc to File Scenario. because with the documents i understand that ALEAUD is a acknowledgment IDoc which is generated based on the request IDOC. but in our scenario we are manually using the structure of ALEAUD in the source system*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_NO_REQUEST</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>ALEAUDIT IDoc cannot find request IDoc in Integration Server</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Kindly help me out .
    Thanks in advance
    Deepika

    Hello,
    If you need to send the ALEADUIT back to the SAP system if the file returns a successful ack, then you will need to have a BPM with a separate SEND step to send back the ALEAUDIT.
    And check this ......
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    *******Reward points if found useful

  • BAPI to File Scenario

    Hi Everybody,
    Greetings!!!
    I am new for XI, pls help me to sort out the queries given below:
    1. Can u all help me out for step by step procedure to be followed for BAPI to File Scenario. (Guide me all configuration step to be performed in R/3 & XI)
    2. Also, pls tell me how to configure BAPI in ALE (I am using BAPI_GOODMVT_CREATE)
    3. Also, guide me in Value mapping in XI. (Eg: if the value is A then it should call BAPI_GOODMVT_CREATE, if the value is D then it should call BAPI_GOODMVT_DELETE and if it is U then BAPI_GOODMVT_CHANGE) - Give me code if it is necessary in case of JAVA mapping.
    I will appreciate you for quick response and solve my probs.
    Regards/Guru

    Hi Guru,
    <i>Can u all help me out for step by step procedure to be followed for BAPI to File Scenario. (Guide me all configuration step to be performed in R/3 & XI)</i>
    1) Go to transaction sm59.
    2) Give some name.
    3) Connection type TCP/IP.
    4) Activation Type Registered Server Program.
    5) Give some programid. You have to use this program id in RFC sender communication channel.
    6) In gateway host give the host name of R/3.Give gateway service.
    Before testing this connection create a RFC sender communication channel in XI.There specify the parameters like R/3 hostname,program id created above, authorization credentials for R/3 etc.Then activate the communication channel.Then test your TCP/IP connection in R/3. You have to test connection only after you create RFC CC in XI because it will go and check for the program id in XI.
    You will need to schedule a JOB in your R3 system that will call the RFC during every time perdiod.
    <i>Also, guide me in Value mapping in XI. (Eg: if the value is A then it should call BAPI_GOODMVT_CREATE, if the value is D then it should call BAPI_GOODMVT_DELETE and if it is U then BAPI_GOODMVT_CHANGE) - Give me code if it is necessary in case of JAVA mapping.</i>
    Your requirement can be easily met using the Extended Reciever determination that we have...
    Here actually based on condition from the message in the payload u can assign your receivers..
    Below is the steps to do the same...
    Under Receiver Determination --> Configured Receivers --> Specify the 2 receivers and beside the same you have an option called condition, there you specify the condition on which it has to go to the first system and then the condition on which it has to go to the second system.
    When you click on the codition it will open another window (Condition Editor window) under which you have a Left Operand which when you click will open up another window(Expression Editor window), there for your need you check on the XPath radio button and then click on the field whose value you wanna check from the structure that it displays, when you click on the field it fills in the XPath Expression, then click ok.
    After that it takes you back to the previous window(Condition Editor window) with the Left Operand having the XPath Expression, so all you will have to do is to fill the Right Operand which is nothing but the value you want that field to contain.(For Example if a field "A" that you have selected which comes in the XPath Expression in ur Left Operand,has a value "1" in your Right Operand)
    There you also have an option to put in an "and" or an "or" condition if required(For Example if you wanna check if "A" and "B" is satisfied or it you wanna check if "A" or "B" is satisfied, this can also be done)
    I also suggest u to go through these blogs..
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    If you have any doubts or clarifications on the same, please do ask and i will tell you how to proceed.
    Regards,
    Abhy Thomas

  • IDOC to EDI file scenario and EDI file to IDOC scenario without Seeburger

    Hi All,
    IDOC (Invoice) to EDI file scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    EDI file to IDOC (Orders) scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    Regards

    Hi Rachit,
    >>Can anybody send me blogs to convert IDoc structure to EDI or EDI to IDoc structure using Conversion Agent or using JAVA Mappings.
    Using conversion Agent there is no coding, If you have a conversion agent insatlled in your landscape you will have better understanding..
    Also java code for IDoc to EDI have some problems:
    1. The EDI format differs based on requirement so there will always be a customized code for it.. Like we have IDco to EDIFACT and ANSX12...
    2. Because most of these codes are propriety materials I doubt whether anyone be sharing the complete code here in SDN. Better to have a java consultant at your end and put him with your requirement.. From the reply in above threads you should be clear that what you are looking for can be done from java coding..
    All the best
    Regards
    Suraj

  • Problem in File-File Scenario

    Hi All,
    I am doing File->File Scenarios. There is no Recrod set also. I want to rename the file using XI. No mapping required. To rename the File name we can do the coding related to Dynamica configuration in one UDF and will map to the top node of the target. But i don't have the mapping here, So How can i execture this UDF or Do i need to write the Module in File adapter CC.
    I tried with dummy mapping , But I am getting the following error
    </SAP:Category>
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE
    </SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Target_File_determined_
    </SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException
    </SAP:P2>
    <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    </SAP:P3>
    <SAP:P4/>
    <SAP:AdditionalText/>
    <SAP:ApplicationFaultMessage namespace=""/>
    <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_Target_File_determined_ a com.sap.aii.utilxi.misc.api.BaseRu
    ntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    </SAP:Stack>
    The mapping part is correct. There is no doubt on that. I don;t know why i am getting this error. Can you please tell me what could be the reason or any solution to resolve my problem.
    Points will be rewarded for helpful answers.
    Thanks in advance,
    Best Regards,
    Vijay

    Bhaskarudu,
    Option 1: If you only want to rename the file then pick the file and rename the file in receiver communicatin channel and write. Check this weblog for some help:
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    Option 2: If you want to rename the file dynamically then you should do the mapping. Check this weblog for this:
    /people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
    Option 3: If you are picking the file within your organisation which is shared on NFS then you use OS commands in the file adapterd to rename the file.
    Regards,
    ---Satish

  • Error in fileto file scenario

    im working on a file to file scenario.
      My scenario is not posting the output file in the destination.I have few doubts.
    1.in a file to file scenario, I have used just one business system
    2.How do I check whether my communication channels are working fine(I checked in the communication channel monitoring in runtime workbench.both are showing finished successfully  but the file is not posted in the destination)
    if you any of can send me a step by step process fro a file to file scenario that would be really helpful.

    Hey,
    Rather Use the SXMB_MONI to check the status of message processing. Check the parameters of your File adapter. Most imp at the receiver file adapter target destination, file name scheme, File construction mode. If the target directory is not already define try once creating the directory manually and running it.
    Are you using Any File Content Conversion Prameters in this case ?**
    Cheers,
    *RAJ*
    *REWARD POINTS IF USEFULL*

  • Error in File scenario

    I am doing File->File Scenarios. There is no Recrod set also. I want to rename the file using XI. No mapping required. To rename the File name we can do the coding related to Dynamica configuration in one UDF and will map to the top node of the target. But i don't have the mapping here, So How can i execture this UDF or Do i need to write the Module in File adapter CC.
    I tried with dummy mapping , But I am getting the following error
    </SAP:Category>
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE
    </SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Target_File_determined_
    </SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException
    </SAP:P2>
    <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    </SAP:P3>
    <SAP:P4/>
    <SAP:AdditionalText/>
    <SAP:ApplicationFaultMessage namespace=""/>
    <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_Target_File_determined_ a com.sap.aii.utilxi.misc.api.BaseRu
    ntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    </SAP:Stack>
    The mapping part is correct. There is no doubt on that. I don;t know why i am getting this error. Can you please tell me what could be the reason or any solution to resolve my problem.

    Hi,
    Use Java Mapping instead of GraphicalMapping with UDF.
    The purpose of JavaMapping is to bypass the inputstream to outputstream along with Dynamic Configuration code which meant for renaming the picked source file name according your requirement
    Code:
    import com.sap.aii.mapping.api.StreamTransformation;
    import java.io.*;
    import java.util.Map;
    public class RenameSourceFile
        implements StreamTransformation
        public RenameSourceFile()
        public void setParameter(Map map1)
            map = map1;
        public void execute(InputStream inputstream, OutputStream outputstream)
            try
              DynamicConfiguration conf = (DynamicConfiguration) param.get("DynamicConfiguration");
              DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
              ourSourceFileName = conf.get(KEY_FILENAME);
    //logic to rename the file name - do it according to your requirement
              // put the filename in below statement
              conf.put(KEY_FILENAME, "ModifiedFileName");
              String s = null;
              BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(inputstream));
              StringBuffer stringbuffer = new StringBuffer();
              while((s = bufferedreader.readLine()) != null)
                   outputstream.write(s.getBytes());
            catch(Throwable throwable)
                throwable.printStackTrace();
        private Map map;
    Thanks,
    Gujjeti.
    Edited by: Praveen Gujjeti on Sep 11, 2008 6:07 AM

  • File to File scenario without ESR

    Hi PI Experts,
    I m doing a file to file scenario, which can be used for files with different structures. So I believe I should do this as just pass through without any ESR/mappings.But the doubt I have is how to configure receiver determination without a service interface.Can you please give me suggestions on how to proceed with this.
    Thank you so much in advance!
    Anjana.

    HI,
    follw steps:
    File to File Interface without ESR objects
    this is very simple , you need to create Configuration objs
    1. sender Communication channel and agrrenment
    2. receiver Communication channel and agrrenment
    3. u have to provide dummy service interface names and name space in interface determination,
    4.in receiver determination , we have to provide source and receiuvers bu.components and remaining dummy names.
    and provide
    dummy name means : any name like xyzzz
    dummyname sapce : http://xyzzz
    please refer this blog:
    Re: File to File Interface without ESR objects
    thanks,

Maybe you are looking for

  • Loops not showing up on a specific project?

    Hi there, A quick question: I've only been working with Garageband 3 for a few months and have never encountered the following problem before. I'm working on podcast project that involves some of the preinstalled Garageband loops. Today, when I opene

  • Response message from stored procedure

    I have created  the stored procedure(oracle) CREATE OR REPLACE PROCEDURE UPDATE_INSERT(sHID IN VARCHAR2,sZNAME IN VARCHAR2,sZDATE IN DATE)IS I NUMBER; BEGIN SELECT COUNT(HID) INTO I FROM ZSO_H WHERE HID = sHID; IF I > 0 THEN begin DELETE FROM ZSO_H W

  • User Wise Vendor/Customer Master

    Hi All Scenario Business is having 4 location, all 4 location is having 4 sales person(User) . Now E.g Location A is having 100 Customer which handling by Sales Person A  and  Location B is having 200 Customer which handling by Sales Person B   I don

  • Accessing my voicemail whilst away from the home

    I donlt know how to get my code to access my voicemail using my mobile to  pick up my messagges whilst out, I press the right buttons on my mobile but when it says to enter my code, I don;t know it, how do I get it to then be able to change it to my

  • Radio button in the Inner tr:table is not working??

    hi guys, I am trying with Nested <tr:table> structure. Like, trying to displaying a table inside another table. In both Inner & outer table I have set the rowSelection=single, value for selectionListener, and autoSubmit=true. the problem that i am fa