File to File - no mapping

Hi,
    I want to transfer files from one FTP location to another FTP location. No Mapping is involved, just file transfer.
Please let me know the steps. Is Interface mapping & Message Interface is required ??  Is it possible to transfer without creating MI, IM, DT...??
Thanks,
RDS

please visit the blog
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
There is no need of creating objects in Integration Repository.
if the data is not in XML, then no mapping can be done. So, we will only need to work in the Integration Directory (ID).
Interface name can be anything you make up, but should be unique. In this case, it is "nonexistence_interface".
Namespace name can be anything you make up or already exists. In this case, it is "http://abc.com".
No need to give interface mapping in Interface Determination in ID.

Similar Messages

  • Error in message Mapping(file to file scenario)

    Hi friends,
    In file to file scenario i am getting error like this while activating standard change list in IR.
    Activation of the change list canceled Check result for Message Mapping MM_file2filejuly27 | URN:file2fileJuly27.com: 
    Starting compilation 
    Compilation complete
    Check result for Software Component Version praba.com | PRABA.COM | 2007 | 0: 
    The standard error type ExchangeLogData is not defined for the namespace URN:file2fileJuly27.com  
    Save the software component version definition again. The object is then saved automatically
    could you help me out how to correct this error?

    Prabha,
    You should  not delete any existing standard  Data types provided by SAP.  ExchangeLogData and  ExchangeDaultData are standard data types get created when you create new namespace.
    If you have already deleted then copy them from other Namespace to your namespace. Activate your default data type first and then your objects.
    Hope this will solve your problem.
    Nilesh

  • 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

  • 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

  • File to File with no mapping (different filename)

    I have a requirement to change the name of the filename in a file-to-file scenario.  The prefix of the file will stay the same, but the target file needs to have a date format replace main part of the file.  The date format is also specific YYYYMM.  Below are the two examples of the source and target filenames.  We are not doing a message mapping with this scenario.
    Source: CA_MONTHLY_REPORT.txt    Target: CA_200901_01.txt
    Source: US_MONTHLY_REPORT.txt    Target: US_200901_01.txt
    The date needs to be calculated off a date function for current month and year.
    Is this possible to do?
    Thanks
    Skip Ford

    With mapping (UDF) it is easy. But I guess you're not allowed to use mapping, you would need to introduce adapter module.
    I think with the standard configuration, you can not archive it. You have to use either UDF or adapter module.
    Jayson

  • File to file with out message mapping and using variable substitution

    Hi,
    Can any one send me a scenario where we can have file to file scenario with out message mapping and where i can use variable substitution.
    As of now i am using integrate configurations where i cant use variable substitution as the message does not reflect in integration engine. I need to populate time stamp between <filename><timestamp>.txt.pgp
    I am as of now using configuration scenario.
    The time stamp always writes before the last file extension.
    Let me know your thoughts?
    Thanks,
    Chandra.

    Hi Chandra,
    u can use the Variable substitution even without IR contents also(Mapping....).
    in the receiver communication channel just specify the path u want to access for a value...
    eg: filename                             payload:mt_name,1,records,1,name,1
    and in th file name give it as %filename%.txt... or vt ever ur requirement
    Babu

  • How to write XSLT codeing in file to file using XSLT mapping?

    Hi ,
    Experts,
    I am new to XSLT coding as iam doing File to File XSLT Mapping for i have created IR and ID part and i have wriiten XSLT codeing which is not working.
    source structure:                     Target structure
    Fname                                    Name  = (Fname+Lname)
    Lname
    maths   
    science                                   Total_marks = (mathssciencesocial)
    social   
    <?xml version='1.0' ?>
    <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" xmlns:aash="http://xlst.file2file" xmlns:ns0="http://xlst.file2file">
    <xsl:template match="/">                                               |
    <aash:mt_student_result>                                      this is my Naming Space
    <Data>
    <Name>
    <xsl:value-of select="concat(ns0:mt_student/data/FName,ns0:mt_student/data/LName)"/>
    </Name>
    <Marks>
    <Total_Marks>
    <xsl:value-of select="(ns0:mt_student/data/Marks/Maths)(ns0:MT_Student/Data/Marks/Science)(ns0:mt_student/data/Marks/Social)"/>
    </Total_Marks>
    </Marks>
    </Data>
    </aash:mt_student_result>
    </xsl:template>
    </xsl:transform>
    while testing in Interface mapping the values are not comming into result side please verify the code and suggest me the correct one.
    Thanks in advance
    shabeer ahmed.

    Hi Shabeer,
    PFB, the corrected XSL.
    try using it, it would work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" xmlns:aash="http://xlst.file2file" xmlns:ns0="http://xlst.file2file">
    <xsl:template match="/"> |
    <aash:mt_student_result> this is my Naming Space
    <Data>
    <Name>
    <xsl:variable name="vFName" select="ns0:mt_student_result/Data/FName"/>
    <xsl:variable name="vLName" select="ns0:mt_student_result/Data/LName"/>
    <xsl:value-of select="concat($vFName,$vLName)"/>
    </Name>
    <Marks>
    <Total_Marks>
    <xsl:variable name="vMaths" select="ns0:mt_student_result/Data/Marks/Maths"/>
    <xsl:variable name="vScience" select="ns0:mt_student_result/Data/Marks/Science"/>
    <xsl:value-of select="concat($vMaths,$vScience)"/>
    </Total_Marks>
    </Marks>
    </Data>
    </aash:mt_student_result>
    </xsl:template>
    </xsl:transform>
    I have given input as,
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_student_result xmlns:ns0="http://xlst.file2file">
              <Data>
                   <FName>FName</FName>
                   <LName>LName</LName>
                   <Marks>
                   <Maths>M</Maths>
                   <Science>S</Science>
                   </Marks>
              </Data>
    </ns0:mt_student_result>
    Output was,
    <?xml version='1.0' ?>
    |
    <aash:mt_student_result xmlns:sap="http://www.sap.com/sapxsl" xmlns:ns0="http://xlst.file2file" xmlns:aash="http://xlst.file2file"> this is my Naming Space
    <Data><Name>FNameLName</Name><Marks><Total_Marks>MS</Total_Marks></Marks></Data></aash:mt_student_result>
    It worked.Try it out.
    Regards,
    Swetha.

  • Run time exception while checking dynamic file name in mesage mapping

    Hi Experts,
    In my file to idoc scenario i need to know the file name dynamicalyy as i require this file name during mesage mapping.
    for that i have created UDF with the following code.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    but when i am testing this code in mesage mapping in IR i am getting runtime exception.why its giving so ?
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:Messages/ns0:Message1/ORDERS05/IDOC/EDI_DC40/MANDT. The message is: Exception:http://java.lang.NullPointerException in class com.sap.xi.tf._MM_EDI_HospitalsToORDERS05_ method filename$com.sap.aii.mappingtool.tf3.rt.Context@545f545f
    Can we test this in message mapping itself ?
    Best Regards,
    Rohit

    One more question - I hope you didn't forget return statement in your java code.
    this worx 4 sure:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;

  • Error: 1:n multi-mapping using BPM for file to file scenario

    Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
    When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
    I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
    Here is my design and configuration.
    IR
    Data Type: DT_file_split -> for both input and output file
    Message Type: MT_file_split_sender, MT_file_split_receiver
    Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
    Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
    Interface mapping: OM_file_split
    u2022     Source = SI_file_split_out
    u2022     Target = SI_file_split_in
    u2022     Mapping Program = MM_file_split
    BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
    ID
    Import my Integration process
    2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
    2 Receiver determination:
    u2022     Source system to BPM using interface SI_File_Abs_source
    u2022     BPM to target system using interface SI_File_Abs_target
    1 Interface determination:
    u2022     from source system to BPM
    u2022     Sender interface: SI_File_Split_Out
    u2022     Receiver interface: SI_file_abs_source
    1 Sender Agreement
    u2022     Commu. Component: Source System
    u2022     Using interface: SI_File_Abs_source
    u2022     Sender Communication Channel: CC_File_Split_Sender
    1 Receiver Agreement
    u2022     Sender Communication Component: BPM
    u2022     Receiver Communication Component: Target System
    u2022     Receiver Interface: SI_File_Split_In
    u2022     Receiver Communication Channel: CC_File_Split
    Anyone know how to fix this?
    Thanks,
    Pavin

    Hi,
    Yes, thats the problem.
    You are creating file from test tab of  1..N mapping .
    In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
    Messages
          Message1
               MessageType
    When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
    So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
    <xml......>
    <Messages>
    <Message1>
    <MT_...>
    </MT_...>
    </Message1>
    </Messages>
    This should solve your problem.
    Regards,
    Sami.

  • Idoc File to File scenario mapping problem

    Dear All,
    I am working on File to File scenario in which my source xml file is having multiple deliveries Idoc structure to which I want to convert into output structure as required.
    In my source file there is possibility that there can be multiple delivery idocs for the same delivery number so i want to pick all the data for  the unique deliveries and if same delivery number repeats then the delivery created last should only be picked without considering others.
    Please guide me in mapping this scenario.
    Regards,
    NJ

    Hi,
      Use the below UDF.
    Set set = new HashSet(Arrays.asList(var1));
      String[] array2 = (String[])(set.toArray(new String[set.size()]));
      Arrays.sort(array2);
      for (int i = 0; i < array2.length; i++) {
        result.addValue(array2<i>);
    Map like below:
    source fieldremove contextUDF--Target(delivery number )
    Regards,
    Prakasu.M
    Edited by: prakasu on Jun 2, 2009 6:43 PM

  • Request Message mapping in SXMB_MONI for File - RFC - File without BPM

    Hi ,
    In my File-RFC-File scenario, the messages are processed successfully.
    but when i look into the SXMB_MONI for File to RFC step, the records are present only till the  Message split According to Receiver List and not able to see the records from Request Message mapping step onwards.it contains
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:Z_PI_LOTUSNOTES_UNIFORM xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />
    in my mapping for the receiver RFC i have not done the mapping for all the fields. few fields i have disabled. whether this could create a problem in message mapping. pls let me know what needs to be done.

    Is it only for this scenario that the above display issue is occuring or is it for all scenarios?
    If onlt a particular Pipeline steps are displayed then you can check what is the TRACE level set in SXMB_ADM --> Integration Engine Configuration --> and check if the TRACE parameter is set to at least 2 (max is 3 which will ensure that your DB will get full quickly)
    For more information refer: /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    Regards,
    Abhishek.

  • Where can I find the file where the static mapping allocations of the DHCP server are stored?

    In our company we are using DHCP to assign static ip addresses to our clients.
    Now we are forced to change the ip address range. To prevent changing each allocation
    of mac-address to ip-address manually with the admin tool i would like to change the allocation
    in the file where the allocations are saved. The reason ist that i just have to use copy & paste for all
    the allocations.
    So how is the file named and where can I find the file where
    the static mapping allocations of the DHCP server are stored? Is it just an ASCII file?
    Must i note anything when i change the file manually?

    From man bootpd:
    BOOTP/DHCP STATIC BINDINGS
         Static IP address to ethernet address bindings are stored in the /etc/bootptab file and in Open Directory.  Bindings specified in the /etc/bootptab file take precedence over those in Open Directory.
         See bootptab(5) for more information about the /etc/bootptab file.
         For Open Directory, bootpd looks at the /Computers records for the following properties:
    /etc/bootptab is a standard text file, while the records in Open Directory can be manipulated either through the command line, or via Workgroup Manager.

  • Mapping error in File to File Scenario.

    In a file to file scenario some times sender communication channel picked the file, before the file is completely copied to the directory Though the poling intervals is 300 seconds. To my assumption, assume that the sender communication channel lastly polled on 10:10:10 and i am coping a file after 285 sec that is 10:14:55 and file size is 20 mb that takes 50 sec to copy. but the next sender communication channel poling is 10:15:10. here the file is partially copied but the communication channel picked the file and process. The scenarios throws mapping error because of in correct input file. This rarely accords but how to handle this. i want the cc to wait until the file is completely copied to the dir and then poll.

    Hi ,
    But there is some problem with system i guess. Adapter engine first load the whole file and then send it to Integration engine where after receiver and interface determination , mapping is excuted. So the fact that adapter picked up half of the file and tried to process does not seem correct.
    Ideally this behaviour should not occurs.
    If you are observing similar with all the adapter , you should also cross check with SAP support team.
    Ranjeet Singh.

  • [RFC to File]Problem about Changing file name in message mapping.

    Hi,
    my problem:
        Type:RFC to File
        I change the file name in message mapping.
    when I call the RFC to send the data twice at the same time, both of the output file names are changed while I only want to change the second output file name.
        thanks
    Sam

    In my MM, the input values to these variables (var1, var2 and var3) are (<ZZCOMBI>array,G499999,END_FIFC0029) ,
    var1 is an array of input <ZZCOMBI> item list;
    var2 is get from a property file by call another UDF;
    var3 is constant value.
    the test input data :
    I send the data for the first time:
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G000002G000002</ZZCOMBI>
    <ZZKYKBN>*</ZZKYKBN>
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G000002G000002,G499999,END_FIFC0029)
    the output file name(File1) :END_FIFC002920090413-171534-053.dat
    output record: G000002G000002
    because the data what I send is the last record, the system send the dummy data for the second time by program.
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G499999</ZZCOMBI>
    <ZZKYKBN />
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G499999,G499999,END_FIFC0029)
    the output file name(File2) :END_FIFC002920090413-171533-928.dat
    output record: G499999
    I find that File2(20090413-171533-928) was ouput before File1(20090413-171534-053 ) from the time stamp.
    I am not sure about that "XI will create a message ID for each message and the messages are independent." as you mentioned above.
    Best regards
    Sam
    Edited by: YONGHE ZHOU on Apr 15, 2009 3:59 AM

  • File to file mapping without xml

    Hello,
    is there a possible way to use a PI7.1 file to file mapping (one static-positioned field must be mapped) without storing the file in xml format ?
    We are having a flatfile and have to send this flatfile through our jms receiver adapter(as flatfile structure) but there is one important field which has to be mapped/changed(static value for all files).
    Our SAP Applikation (File sender) would avoid to change this during or after creating the flatfiles in the R/3 System.
    Thanks,
    Gordon

    Hi Gordon,
    >- Do you have an example for that abap mapping ?
    DATA g_str TYPE string.
      CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
        EXPORTING
          im_xstring  = source
          im_encoding = 'UTF-8'
        IMPORTING
          ex_string   = g_str.
      REPLACE 'ABC' WITH 'XYZ' INTO g_str.
      CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
        EXPORTING
          im_string   = g_str
          im_encoding = 'UTF-8'
        IMPORTING
          ex_xstring  = result.
    >I think i have to use some entry parameters for my interface right ?
    ?? no..
    >- Is it possible to use that within the integrated configuration ?
    ??  yes..
    Regards,
    Udo

  • File to File using BPM & value mapping

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

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

Maybe you are looking for

  • Indesign crashes when placing pdf created in Xinet Fullpress.

    Indesign crashes when placing a pdf from Xinet Fullpress. Xinet thinks the problem is in inDesign. What to do? The pdf files works fine in acrobat and apple preview.

  • 'Account Payable Checks Format'

    Hi all can any one have study material for 'Account Payable Checks Format'...using tcode F-58, F110, FBZ5,..etc. Internally all transaction calling RFFOUS_C by variance.... thnx.... R.K.

  • Error in address output (name not filled). Its urgent

    Hello folks, when  i execute smartfrom prog i m getting this error. Error in address output (name not filled). Message no. SSFCOMPOSER323 With regards, Shashank Reddy

  • Sort property in table

    Hi, I want to disable the sort property for one condition how to disable it using sortlistener from the backing bean?? Please help.. thanks and regards,

  • Ipod touch 3rd generation won't sync.

    3rd generation Ipod touch won't sync with itunes. I downloaded the new software, reset the ipod, went through the trouble shooter and my comp nor itunes recognizes my Ipod. Any tips?