File to File Scenario without Mapping

Hi Gurus'
I have a requirement in my current project.
the source system (mdm) is sending around 7 files and these files have to be picked from the source location path by PI file adapters and these should be sent to BW(receiver) for generating the reports.
Each file consists of different data such as purchase org data, vendor data,company data etc.
My doubt here is, how can i approach the development; should i create 7 Snder CC,& Reciver CC,RA,SA,RD,ID.
In our interface there is no ESR Objects involved.
Please help me in solving the issue
Thanking You

Hi Gurus
I have devloped the Interafce as suggested.
In the sender CC, i have checked the Advance selection for source file and also checked the ASMA tab.
i have given three file names along with their source location paths such as USERS.xml,PROFILE.xml,PROFILEDESCP.xml.
On the Receiver CC, i am checking the ASMA tab and for the target directory location i am giving the path.
for the file name scheme i am giving as USERS.TXT, only one file name is given.
My doubt here is how can i give multiple file anmes as we have given for the source CC.
I ahev tested by running some files from PI RWB and can see success messages in PI MONI. BUT IN CC monitoring for receiver cc i am getting the following errors
1)Putting message into receive queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 9e6ade69-4d7b-11e1-9051-000000190a5a(INBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint  violated
2)Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header.
The message status was set to WAIT.
My requirement is MDM will syndicate some files and these files have to be picked from the source location and should be sent to BW.
PI will pick the *.xml files and shld send to BW as .TXT.
We have earleir developed the interafce for three file generation by creating 3 Sender CC,ReceoverCC,RD,ID,SA,RA.
ISo as of now there is requiremnt for 7 files to be sent, so i was looking if this is possible with out the creation of too many ID objects.
Please help.
thanking You
please help
Edited by: NABHINAV on Feb 2, 2012 10:23 AM
Edited by: NABHINAV on Feb 2, 2012 10:29 AM

Similar Messages

  • Is FCC required in File to File scenario without mapping

    Hello,
    I have a scenario where XI is picking up a csv file from a BW server and just pushing the file to some other location as it is .
    i.e csv file will be pushed as it is to another location
    So in this case is FCC required ? . ie do i need to convert the csv file in to XML and then back to csv , or i can just use a dummy interface to pass the csv file through the XI pipeline
    Thanks & Regards,
    Loveena

    You can execute a Unix script running in the XI server from the File communication channel. Ie. if you want to do something which was not part of XI adapter configuation , then you can make use of external unix script and you can execute those from the XI.
    For this, write a unix script and place in the XI OS level provided that path is accessible from PI Channel.
    E.g
    So u can use this in either Sender Channel to modify the data before it reaches into the Integration Server or in Receiver channel it is generally used to transfer the files into different location via Secure FTP
    SAP help: http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Blog:/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    ************Reward points if found useful

  • File to File multiple scenario without mapping

    Hi
    I am doing one simple file to file scenario without mapping i.e picking file from sender directory and then placing it in receiver directory via FTP.
    Now i have to take two files from different directories and place them in to different directories in the receiver side.
    On the sender side i have selected Advanced selection for source file and maintained the sceond directory name and filename.
    now i am not aware about the reciver side that how to place the two files in to different directories.
    I have to make only one interface for this.
    Thanks in advance.

    u have to follow the code in the link provided above but with some manipulations...
    in case u r placing the files in different target dir depending upon the source directory then ur code will be something like this:
    Note: i dont have a system as of now..so cant able to check the code for syntax errors..please cross check it
    MessagePropertyKey mpk = new MessagePropertyKey("Directory","http://sap.com/xi/XI/System/File");
    String SourceDir = msg.getMessageProperty(mpk);
    if(SourceDir.equals("/SourceDirectory1"))
    String targetDir1 = "/TargetDirectory1"
    msg.setMessageProperty("http://sap.com/xi/XI/System/File","Directory",targetDir1);
    else if(SourceDir.equals("/SourceDirectory2"))
    String targetDir1 = "/TargetDirectory2"
    msg.setMessageProperty("http://sap.com/xi/XI/System/File","Directory",targetDir2);
    else
    http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/engine/interfaces/messaging/api/Message.html#getMessageProperty(com.sap.engine.interfaces.messaging.api.MessagePropertyKey)
    lIbraries for adapter module development:
    http://wiki.sdn.sap.com/wiki/display/XI/Where%20to%20get%20the%20libraries%20for%20XI%20development
    How to develop adapter module:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?QuickLink=index&overridelayout=true

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • File-to-file scenario: no mapping, filename from sender file

    Hi all,
    file-to-file without mapping.
    we want to use XI to transport just files from XI file directory to another ftp-server (+ archiving on xi file directory)
    we configered an sender file adapter that picks the file up, but
    we have problems configuring the receiver adapter in that way that the filename or the original file is used
    Is that possible? with which parameter settings
    filename is not content of the XI message content so "message:FileName" doenst work
    Thank you very much
    regards
    Hans

    Hi Hans,
    Check this link:
    How to send any data (even binary) through XI, without using the Integration Repository
    OR
    Copy a file with same filename using XI
    Sachin
    Edited by: Sachin Dhingra on Nov 7, 2008 8:19 PM

  • IDoc to Flat file scenario - abap mapping

    Hi All,
    I have to do some IDOC to Flat file scenarios. In Order to generate the file in required format I will have to add all segments(Nodes) of Idoc in FCC receiver. We also have other option of doing it through ABAP Mapping which I found in one blog.
    Now my question is : Is it better way of doing it through FCC or ABAP Mapping?
    Ofcourse from development point of view ABAP Mapping looks easier as FCC is very time consuming task.
    Is there and performance issues in either of the approach?
    Thanks and Regards,
    Atul

    Hi VJ and Harald,
    Thanks for your replies.
    I am not having PI7.1 however the given blog was very informative.
    I will try using file port approach as suggested.
    Thanks and Regards,
    Atul

  • 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,

  • Scenario without mapping

    Hi
    I have a idoc to http scenario where i don´t need any mapping. I have heard that it is possible to do a "gateway" setup where you only need to set up the communication. Is this possible?
    Please help.
    BR
    Claes

    If u dont want the mapping step in File-to-File scenario, then it would be better to bypass whole Integration Repository
    Have a look here
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    Regards,
    Prateek

  • Jdbc to file scenario - base mapping error

    hello all,
    i am facing a similar issue discussed in this thread,
    Re: JDBC to FILE scenatio: How to map the resultSet?
    1. i changed the document name and namespace
    2. i checked for the occurence of the filed elements
    3. i tried using the documentname and namespce both from the MONI and MAPPING TEST TAB...but still the same base mapping runtime exception error.
    Please advice.
    Thanks
    i have been following the

    Aarthi,
    Can you give us the following details,
    1. select query that you are using in your JDBC sender adapter
    2.the Document Name and namespace that you have given in the JDBC adapter
    3. the source datatype that you have created for your JDBC side along with the occurence of each element.
    This will help us nail the causwe for your problem.
    Regards,
    bhavesh

  • How to send 100 records from an IDOC to File Scenario without using BPM?

    Hi All,
    I have a requirement that i need to send 100 records from sap to file by using the scenario IDOC to File. Can you suggest how can i achieve this?
    Regards,
    Ramvilas.

    Hi,
       Create a H type RFC destination.Tagert host and port give  Xi system host and port.Path give the
       /sap/xi/adapter_plain?namespace=<NameSpcae>&interface=<Interface> &service=<SenderBusinessSystem>&qos=EO or EOIO.
    Go to we21 find xmlhttp port.give the port name and assign RFC.Give the port in we20 your idoc and change to collective.
    In Xi export the IDOC and change the occurance to 0-unbounded and import it.
    Regards,
    Prakasu.M

  • Rename a file at the reciver without mapping with date/timestamp_filename

    Hi Friends,
    I have a scenario in which I have to rename the file if its exisiting at the reciever end with date/timestamp_filename in a file to file scenario without mapping.
    Thanks,
    --Sonal

    chk this (using adapter modules)
    http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicfilenameinaFiletoFilepassthroughscenario

  • File to XI scenarion without mapping

    HI All,
    MY REQUIREMENT:
    1. Need to read the data from FILE .
    2. pass the values to a BAPI structure in ECC Without any mapping
    QUESTIONS:
    1. Is it possible to complete the  scenario without mapping in XI.
    2. If possible how.
    Could any one help me how to achieve this
    Than you,
    Harsha P

    My source data structure is same as BAPI.
    We have created data types ,message types and Service interfaces for SENDER in ESR.
    But our Issues.
    1. Do we need to create Receiver Interface Objects.
    If yes How (In our scenario receiver is BAPI)
    import RFC under imported objects in esr
    2. What are the configurations we need to do in ID for SENDER and RECEIVER.
    coming to id:
    create everything like
    communication channels for sender as file and receiver as RFC.
    create Agrrements for sender and receiver.
    create Receiver determination and interface determination.
    Edited by: bhavanisankar.solasu on Feb 21, 2012 4:17 PM

  • 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

  • For File -- RFC-- File scenario want to remove sync/async bridge

    For File -- RFC-- File scenario want to remove sync/async bridge
    Can I work with File -- RFC-- File scenario without BPM
    Regards

    Hi-
    Check this threads
    RFC -> File without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    File-To-RFC without using BPM

  • Simple File 2 File scenario - binary

    XI freaks hello,
    I want to run a simple text File to text File scenario without ANY change of the file encoding.
    currently it is running using the Binary type (I don't want to mess with the content encoding of the text file).
    would this be ok?
    mind you..the file is taken from a Windows FS and moved to another FS...would this might cause encoding problem? should the original program create the file with the target server encoding
    cheers

    Got it from the market place.
    Note 821267 - FAQ: XI 3.0 / PI 7.0 File Adapter
    "Flat Files without File Content Conversion
    Whether to configure an encoding in this case depends on if you want to pass through the file "as is", e.g. within a File Sender to File Receiver scenario, or if you want to convert the file's encoding on its way through the Integration Server. <B>For "as is" processing, configure both the sender and the receiver using the File Type setting "Binary".</B>
    To apply an encoding conversion, configure the respective source and target encoding in both the sender and receiver channel."

Maybe you are looking for