File To File Mapping

Hi,
I trying to use a .txt file as source and target where I want, after reading the data from source file it will be automatically deleted.Is it possible?? without using any package(OdiFileWait). Mainly I want to use The interface and may with some special KM.
Please ans.
Thanks
Papai

Then in your IKM create a new step as "Delete processed file". Select the technology as odiTools and put below commands
OdiFileDelete "-FILE= *D:\FF\allfile.txt* " "-RECURSE=YES" "-CASESENS=NO" "-NOFILE_ERROR=NO"
Here you can put your filename or the variable name that contains the file.
When all step of IKM will run successfully , the last step will execute as well. So it will delete the file. If due to any reason interface fails then it wont delete the file as it is the last step of your IKM.
Thanks.

Similar Messages

  • How to remove a font file and its mapping from XML Publisher Administrator

    Hello,
    I am trying to remove a font file and its mapping from the XML Publisher Administrator. If this is not possible, is there a way to disable it?
    The reason why I am asking this is because we just got a new check printer, and I was able to print just fine. However, the MICR font was not coming up properly on the check, so I went ahead and configured the font with the XML Publisher Administrator. Now my check output is coming up blank after running the XML report publisher program. The only change I did was to upload the MICR font and mapped it.
    My template and rdf report file are working fine in another environment we have, so I know that's not the problem.
    Any help is appreciate it.
    Thanks.

    This is how you do it
    Font
    DELETE FROM xdo_lobs
    where lob_code like '<Font_name>';
    Font Mapping Set
    DELETE FROM xdo_font_mapping_sets_TL
    WHERE mapping_code like '<MAPPING_CODE>'

  • 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

  • Generation of Control file in OWB Mapping.

    Hi All,
    OWB config details is as follows:
    OWB 9i :9.2.0.2.8
    OWB Repository: 9.2.0.2.0
    OWB 9i Client OS: Windows XP Environment
    Oracle DB 9i Enterprise Edition 9.2.0.1.0-64 bit Production on IBM AIX machine.
    I developed mapping which involved a source file (CSV) & oracle table as target.
    Validated & Generated mapping. No error displayed.
    Configured mapping set Data File Location, Bad File Location, Log File Location (All these parameters were set to point to different directories in unix.)
    Registered all the above location in Deployment Manager.
    Deployed the mapping & executed mapping.
    I was expecting control file generated by mapping to create on unix partition, however many times it did save on my local machine on Windows XP rather than on unix. The control file created in the local directory where OWB client is installed.
    When the same mapping is executed from another machine still the file was created on my local machine.
    This was observed after I created file location for Bad file & Log file from OWB.
    Why does control file is created on local machine rather than Unix Server?
    Can someone please let me know more on this?
    Thanks in Advance.
    Regards,
    Vidyanand

    Hi Vidyanand
    You may try to register physical file location under one logical location. Then register the location with physical datafile lication. It worked for us.
    Cheers, Bana

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

  • File TO File-Using XSLT mapping (for Beginners) --- Error in XSLT

    Hi,
    I am following this wiki (TO File-Using XSLT mapping (for Beginners))
    https://wiki.sdn.sap.com/wiki/display/XI/FileTOFile-UsingXSLTmapping%28forBeginners%29
    When creating  Xslt from the MapForce, when I click on the XSLT Tab I am getting the following error
    http://www.flickr.com/photo_zoom.gne?id=1216715484&size=o
    How to correct this error ?.....
    Thanks
    srini
    Message was edited by:
            srinivas

    Hello,
    The XSD you are using is from Data Type and you are using it for mapping.
    Instead export XSD for Message Type and also pass the XML schema for source that will solve the issue and your XSLT will be generated.
    Regards,

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

  • Reading files from a mapped drive

    Hello,
    I am trying to pull image files off of a network share in Oracle Forms.
    Everytime I do this, I get error FRM-47109 Cannot locate image file..... i
    have tried accessing this drive with 2 methods:
    1. Button trigger calls with READ_IMAGE_FILE(:datablock.imagelocation ||
    :datablock.filename || '.tif', 'ANY', BLOCK7.IMAGE_ITEM);
    2. Button trigger calls with READ_IMAGE_FILE('\\server\images\'
    ||:CRASH_IMAGES.folder || '\' || :crash_images.docno ||'.tif',
    'ANY', 'BLOCK7.IMAGE_ITEM');
    Both of these calls work on the development side where the T:\ drive is mapped.
    When the form is put on the production server with the same T:\ drive mapping,
    the image is unable to be located.
    I have also found Microsoft article Q122702, which explains how network shares
    are distributed to services. I have edited the registry key
    RestrictNullSessAccess to a value of 0, and remapped the drive using: NET USE
    T: \\server\images /user:Administrator password.
    None of this has worked for me so far, and I have been informed of possible
    issues with forms and mapped network drives. Has anyone seen this before or know of a fix?
    Thanks,
    Jordan

    I'm not too familiar with Windows user accounts.
    I'm having this problem of not being able to read files from a mapped drive.
    Using 10.1.2 Forms Service on a XP machine.
    How do i check to see which user is running the forms service and/or how do I change the settings a user has access to?
    Check in server-info and User/Group: #-1(1)/1, what the heck??
    Thanks.

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

  • File Content Conversion Mapping problem

    Hi,
    I tried a file to file simple scenario using FCC on the Sender Side,but I repeatedly get a message mapping error.
    I tried changing the different parameters in filesender file adapter, checked message mapping for errors .
    1.My Mapping is Correct.
    2.The parameters in the FCC are correct.
    Is there any way where we can debug the the Message Error.
    Regards,

    HI,
    but I repeatedly get a message mapping error.
    what error message ur getting.
    what is ur file strucutre
    what FCC u r using.
    give me the details
    chirag
    Hi,
    These are the following details:
    1.error message: There is an exception in mapping
    2. File structure: A comma separated text file
                   e.g : Somya, 24.
    3. I am using sender file FCC.
    My data type is as follows:
                         FileInput
                             Recordset
                                 Row
                                      Name
                                      Age
    The Sender FCC used is:
                              Document Name: FileInput
                              Recordset Name: Recordset
                              Recordset Sturcute: Row,*
               Row.fieldNames:  Name,Age
               Row.fieldSeparator: ,
               Row.endSeparator: 'nl'.          
    Do Help.
    Regards,

Maybe you are looking for

  • Hello i am trying to fix a phone that my gf forgot her puk and pin

    it says this play,persistOnClick:la.persistOnClick||ma.persistOnClick});ka.setAttribute('data -hover','tooltip');}function ha(ka,la){ja.set(ka,"Loading...");new h(la).setHandler(function(ma){ja.set(ka,ma.getPayload());}).setErrorHandler(r). send();}v

  • My iPod Nano no longer randomly shuffles

    All of a sudden, my iPod Nano no longer moves randomly to the next song, but repeats the same song over and over.  I have to manually "shuffle."  The shuffle indicator does not seem to activate.  Any advice?

  • Will CC&B 2.3.1 work in both 32 bits, 64 bits windows7

    Hi, Will CC&B 2.3.1 work in both 32 bits, 64 bits windows7 ? Also which version of Internet Explorer is supported for CC&B 2.3.1 in windows 7

  • G62-361TX Upgrading RAM

    HI, I have HP G62-361 TX laptop. I want to upgrade my RAM as i use it for 3D softwares and multi tasking.  On Crucial.com it shows its 8 GB upgradeable. I am thinking to buy 8GB (1 X 8GB)RAM and then will add 2 GB of my old Ram.  I searched lot on go

  • Can reset iPod mini but cannot select language etc

    My  iPod mini will restore (multiple times) but menu or other wheel functions inoperative. I tried another wheel module from a good mini but no go. Can sync and add music etc. Looking into various forums imply that this is not fixable (an Apple bug)