Source directory (xyz. text) file needsto be placed inthe Target directory

Hi Experts,
There is a file in the source directory (xyz. text) and I need to place the same file in the
Target Directory (xyz. text) without any message transformation. How to get it using XI?
Points will be awarded ...........
Thanks,
Manoj

Hi Manoj,
You can do it without touching IR. you just need to configure the scenario in ID.
you need to do the following:
1. Create service, and two File Communication channels.
2. reciver determnation, put that service and any interfcae and namespace.
3. Interface Determination: Put Inbound Interface SAME AS you specified in Receiver Determination.
After all this you can test your scenario.

Similar Messages

  • Dumping Global ABAP Objects Source Code to Text File

    Hello People, this is my first post and my first time to join the forums.. and also my first time to code in ABAP.
    Anyways, I was wondering if there is a way to dump the source code definition of any class/interface made in SE24 (Object Builder) onto a Text File; all the methods, attributes etc... of a class/interface. I've used SEO_METHOD_GET_SOURCE but it doesn't work.
    Thanks for the help.

    Suhas, 
    I have created some wiki links (may be 3-4 months back) which seems similar to this requirement.
    [Extracting Implementation details of global Interface using class - CL_RECA_RS_CLIF |http://wiki.sdn.sap.com/wiki/display/ABAP/ExtractingImplementationdetailsofglobalInterfaceusingclass-+CL_RECA_RS_CLIF]
    [Information of Class Objects using CL_OO_CLASS |http://wiki.sdn.sap.com/wiki/display/ABAP/InformationofClassObjectsusing+CL_OO_CLASS]
    [Source code Download and Syntax Check using CL_RECA_RS_SERVICES|http://wiki.sdn.sap.com/wiki/display/ABAP/SourcecodeDownloadandSyntaxCheckusing+CL_RECA_RS_SERVICES]
    Expecting your comments.
    Regards
    Vinod Kumar
    Edited by: Vinod Kumar on May 5, 2011 11:33 AM

  • File not getting created in Target Directory..........

    Hi All,
               We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    What could be the reason of such behaviour, and is there a way to track the where the target file is getting placed?
    Please Help
    Regards,
    Jayashri

    >
    Jayashri Rade wrote:
    > Hi All,
    >            We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    i
    Did you check the receiver communication channel in communication channel monitoring?
    Are there any errors?

  • File not getting posted at target directory

    Hi all,
    I am crearting a simple bypass scenario in which no mapping is involved. I simply have to pick up a file with particular naming convention from the FTP location and write it to other location at the target side with some different naming convention.
    The file is getting picked up from the FTP location but is not written at the target location?
    Can you please suggest me what could be the reason?
    Is there something to do with adapter specific parameters?
    Thanks & Regards,
    Sachi

    Hi,
        Are you seeing any for the same then post the same...
    at what stage you are stuck at...
    is sender adapter picked the file and sent to Integration engine ? check at sender adapter communication channel for logs..
    is message success in SXMB_MONI ?
    is receiver adapter resulted in error ..then check the logs and post the same if any error there....
    Also check the target directory have sufficient privileges for the file operaitons..
    HTH
    Rajesh

  • Download source code to Text file

    Hi all,
    is  there any program which can be used to download the source code of a FUNCTION MODULE.
    thanks in Advance

    Hi Sai_ram,
    You can download the individual includes of Function Module using Menu options:
    Utilities -> More Utilities -> Upload/Download -> Download
    Use the same procedure to download the screens also. I mean Goto the Screen and follow the above Menu options to download the screen in a local .txt file
    Note: In order to upload the screen again, just create a screen with the same screen number and use Menu options:
    Utilities -> More Utilities -> Upload/Download -> Upload
    This is the way I use to download Report, Module pool program and Function Module.
    Hope it helps.
    Regards,
    Neeraj Gupta

  • Getting source codn with TEXT file

    Hi everyone.
    I have a question about to get a source code using some kind of function or class. In case of report program coded in ABAP, I can get using "read report ... " In case of BSP,However, I don't know how. Anyone who knows the method lets me know please.
    Regards,
    Jongone.

    Welcome to SDN.
    Check out the following article by Eddy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/bsp/abap code sample for download of a bsp application.pdf
    Regards
    Raja

  • Create a new dimension in business layer from Data source: text file on the web

    Hi,
    I have a text data source which is published every few hours that is accessible from a certain URL. I follow the instruction given in this http://scn.sap.com/docs/DOC-43144 - where it shows in great detail how to create the connection, data foundation as well as business layer to create a universe for this type of data.
    All is well - I can use this universe in my WEBI doc and display the data.
    However, in order for me to merge the data from this universe with another universe, I need to create  new dimension based on the data from the text file. The new dimension value is simply the first 4 characters of the Subject found in the text file. The "Subject" dimension is of variant type: varchar.
    Following the guide mentioned earlier, the connection is using SAP BO OpenConnectivity driver. And this driver limits severely the SQL statement that I can use to extract a substring of another string. Here's the screenshot of the SQl expression that I can use with this driver
    After hours of searching, I cannot find any other connection driver for a text file that's published on a certain URL. The BO OpenConnection driver is the best that I could find.
    So here are my problems
    1. one of my data source is a text file published on a web
    2. the only connection I can create does not allow me to create  new dimension in the universe to create an important column "subject ID"
    3. I can create the column in webi as a variable. But when I do so, I cannot merge it with existing dimension (webi not allowing to merge these 2 types). And without the merge, the flat file universe with my database universe can't be combined.
    I'm using WEBI Rich client version 4.1 SP3 Patch 1. Build 14.1.3.1300
    Is there any other idea that you can suggest without requiring to change the extracted data?
    Thanks.
    With warm regards

    Hi Bala,
    Were you able to find out a solution for the problem with uploading values for a variable from a text file on the web?  I am confronted with the same request from users.
    Thanks,
    BQ

  • Shell scripts to read data from a text file and to load it into a table

    Hi All,
    I have a text file consisting of rows and columns as follows,
    GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001
    GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001
    GEF001 000093625 MKL005675 000001 000000 000000 000000 000000 000000 000001 My requirement is that, i should read the first 3 columns of this file using a shell script and then i have to insert the data into a table consisting of 3 rows in oracle .
    the whole application is deployed in unix and that text file comes from mainframe. am working in the unix side of the application and i cant access the data directly from the mainframe. so am required to write a script which reads the data from text file which is placed in certain location and i have to load it to oracle database.
    so I can't use SQL * loader.
    Please help me something with this...
    Thanks in advance.

    1. Create a dictionary object in Oracle and assign it to the folder where your file resides
    2. Write a little procedure which opens the file in the newly created directory object using ULT_FILE and inside the FOR LOOP and do INSERTs to table you want
    3. Create a shell script and call that procedure
    You can use the post in my Blog for such issues
    [Using Oracle UTL_FILE, UTL_SMTP packages and Linux Shell Scripting and Cron utility together|http://kamranagayev.wordpress.com/2009/02/23/using-oracle-utl_file-utl_smtp-packages-and-linux-shell-scripting-and-cron-utility-together-2/]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Problem in text file to xml scenario

    hi,
    while executing the Flat file (txt) to xml file scenario, the txt file picked up from my source directory, but i could not find in my target directory.
    when i check message monitoring, it is showing successful.
    Audit Log for Message: af840930-3fa2-11dc-a345-000423c7753d
    Time Stamp Status Description
    2007-07-31 16:14:47 Success Channel CC_sender: Entire file content converted to XML format
    2007-07-31 16:14:47 Success Send text file "xi_input.txt" from FTP server "64.72.230.130:/praba_source", size 353 bytes with QoS EO
    2007-07-31 16:14:47 Success Application attempting to send an XI message asynchronously using connection AFW.
    2007-07-31 16:14:47 Success Trying to put the message into the send queue.
    2007-07-31 16:14:47 Success Message successfully put into the queue.
    2007-07-31 16:14:47 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2007-07-31 16:14:47 Success The message was successfully retrieved from the send queue.
    2007-07-31 16:14:47 Success File "xi_input.txt" deleted after processing
    2007-07-31 16:14:47 Success The message status set to DLNG.
    2007-07-31 16:14:48 Success The message was successfully transmitted to endpoint http://xiserver1:8000/sap/xi/engine?type=entry using connection AFW.
    2007-07-31 16:14:48 Success The message status set to DLVD.
    2007-07-31 16:14:48 Success The message was successfully delivered.
    I followed the Venkat Donela blog
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    IN sender CC, i used file content conversion(mesage protocol), file name scheme xi_input.txt
    In receiver CC , I used file (message protocol),file name scheme xi_output.xml
    In both CC , transport protocol is FTP.
    so i gave server name, port, username, password.
    could you help me out to find the error for this scenario also?
    Thanks in advance

    hi,
    when i click on this adapeter engine xiserver1, it is changing to green color,
    if i double click nothing is happening as u said
    but it is showing like this Central CCMS monitor not available
    anyway i giving all my values in sender CC:
    in sender communication channel
    TP : FTP
    MP: File content conversion
    AE: IS
    File access parameters:
    sD: /praba_source
    FN: xi_input.txt
    FTP access parameters:
    server: xx.xx.xxx.xxx
    port:  xx
    username: xxxxx
    password: xxxx
    connection mode: permanently
    transfer mode: Binary
    Processing Parameters:
    QoS: exactly once
    poll interval: 60
    Processing mode: Test
    File type: Binary
    Content Conversion Parameters:
    Document name dt_outbound
    Document namespace urn:xxxxxx
    record name: record
    recordset str: row,*
    recordset seq:Ascending
    key fiedl type: string(case-sensitive)
    name:                value
    row.fieldNames:     FirstName,LastName,MiddleName,City,Place,State,Country
    row.fieldSeperator:     ,
    row.processConfiguration: FromConfiguration
    row.endSeperator: 'nl'
    my input file which i kept in source directory is xi_input.txt
    content of this file (xi_input.txt) is
    Samuel,J,Jackson,Lakefront Drive,Earth City,Missouri,USA
    Kenny,m,George,North Beauregard street,Alexandria,Virginia,USA
    my dt_outbound structure like this,
    dt_outbound (complex type)
    then lower element is record
    then lower elemnt is row
    then FirstName
    LastName
    MiddleName
    City
    Place
    State
    Country
    anyway i pasted my sxd dt_outbound type
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:praba_flatfile2xml07"
    targetNamespace="urn:praba_flatfile2xml07">
         <xsd:complexType name="dt_outbound">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   2bc3c190404611dc88a3000423c7753d
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="record">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             35982b703f7911dc871cd71bc0a8016d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="row"
    maxOccurs="unbounded">          
                             <xsd:annotation>
                                            <xsd:appinfo
    source="http://sap.com/xi/TextID">
    359f57603f7911dcca2ed71bc0a8016d
                                            </xsd:appinfo>
                                       </xsd:annotation>
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element
    name="FirstName" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57613f7911dc8d9cd71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="LastName" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57623f7911dca6e8d71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="MiddleName" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57633f7911dcc31ed71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="City" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57643f7911dc8c7ad71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="Place" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57653f7911dca7dbd71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="State" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57663f7911dcbd52d71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                                 <xsd:element
    name="Country" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    359f57673f7911dca78ad71bc0a8016d
    </xsd:appinfo>
    </xsd:annotation>
                                                 </xsd:element>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>

  • How to install an entire directory structure and files with the LabVIEW installer

    I think I may be missing something on how to do this - preserve a file directory structure in the LabVIEW build process.
    Is there an easy way to distribute an entire directory structure (multiple directory levels/text files) and have the LabVIEW build process properly preserve and install them?   I included a directory in my build specification but it completely flattened the file structure and then so when the installer builds it, the resulting structure in the /data directory is flattened as well.    I'd prefer not to go through each file (~100) and setup a specific target location.   Is there an easy way to preserve the file structure in the build process/installer process that I am missing (maybe a check box that I didn't see or an option setting somewhere)?
    -DC

    Hi DC
    Sorry for the delay in responding to your question.
    You should be able to do this using a 'Source Distribution' as described below:
     - Right click on 'Build Specifications' and select 'New' - 'Source Distribution'
     - Provide a name
     - Add your files to 'Always included' under 'Source Files'
     - Under 'Destinations' select 'Preserve disk hierarchy' and ensure that 'Directory' is selected as the 'Destination type'
    When building an installer your can then choose to include your source distribution and it will be installed to a location of your choosing.
    Hope this helps.
    Kind Regards
    Chris | Applications Engineer NIUK

  • Loading a text file from a relative location in shockwave

    Hi all
    I'm REALLY sorry I have to post about such an inane problem.
    I've googled this and looked in forums and found several
    suggestions but none of them are working for me. I want to load a
    text file from the same directory as my movie. I can get this
    working in authoring mode, in a projector, and in a shockwave movie
    on the local machine (using getNetText("/text.txt")).
    But when i put the shockwave movie on a server, it does NOT
    work. The macromedia documentation says that getNetText works with
    relative URLs. But when I put in the full URL, it does work, so
    obviously the shockwave movie is having a problem finding the text
    file which IS in the same directory as it.
    Any suggestions / ideas? All i want to do is access a text
    file :)
    Sorry again for such a lame problem
    Mike

    thanks - this worked. I also had to not use a repeat loop to
    wait for netDone() to return true.
    Thanks again
    MIke

  • I can´t edit the text files with SAP BODS 3.2

    Hello
    I can not edit some text files 9-20 megabytes to replace two words in each file, the source is a text file and the same destination but with different name, because with the same name have been unable . My idea is to remove the original and stay with the new performing edition but that if he does , let me file this way:
    SALES_ORDERS_FULL_20140223_150051_006.xml ( ORIGINAL )
    should leave it with me so : SALES_ORDERS_FULL_20140223_150051_006.xml _OLD (AMENDED )
    but strangely leaves me so :
    MICROSOFT_SQL_SERVER_KCC-BI_REPO_KHSA_XI_REPO_KHSA_XI_1543_5434_2_3_Long_INVOICES_INCREMENTAL_20140225_034004_001_xml_dat.txt  (not deseased)
    The type of data you use is long since varchar not allow me because it cuts my data file , use varchar (50000000) but takes the information and short .
    I am using long data type , modify the file and I pass the name of the text files of sap bods for global variables. They are a series of files that are called by a while loop
    Thanks for your answers
    regards

    HIr
    Yes, first I convert long_to_varchar for edit, and convert varchar_to_long.
    I edit before before and later
    Thanks

  • Error - Server file should not be empty- while uploading Text files in RAR

    Hi,
    We are uploading SU24 text files but we are getting the error "Server file should not be empty" while uploading the Description files in RAR 5.3
    We followed the same naming covention and also used UTF-8 format for the text files. We placed the file in our Desktop as well and tried uploading into RAR - but still the same error is being thrown?
    Are we missing something here?
    Thanks and Best Regards,
    Srihari.K

    Hi and thanks to the answers so far.
    I forgot to mention some points :
    - I'm using forground import
    - we are trying to use RAR to run risk analysis on non-sap systems as well as SAP (single or cross-systems).
    So the file I'm trying to upload does not come from a SAP backen, but was created from scratch.
    However the data in the files are coherent (and I compared with a SAP extraction, the format is the same)
    here is a sample of the file I try to upload : (an that is actually what I'm trying to import as a test file)
    sap_auth.txt:
    OEITIAC     GTIAC     SEL     1     
    OEITIAC     GTIAC     MOD     1     
    OEITIAC     GTIAC     INS     1     
    OEITIAC     GTIAC     SUP     1     
    each element (ACT/PRM/FLD/VAL) is defined in the sap_desc.txt file that I loaded first (without error).
    note that each column is separated by a single TAB (with an empty column at the end of each line).
    each line is terminated by a CR/LF
    I tried UTF-8 with and W/O BOM
    Regards,

  • Reading an external text file in WAR file

    Greetings,
    I have a question. I have an web application that writes a text message and 0's and 1's based on checkboxes. Then I have a JSP that reads this text file and prints the message and enables/disables links based on the 1's and 0's. I don't have any problems with this when testing from localhost, but when I deploy to a server the application isn't reading the file. The text file and WAR file are in the same folder, same directory. I've tried using both relative and absolute paths to read the file, but to no avail. Is there an easy way to read an external file from a WAR file or is there an easier solution. Thanks
    Nick

    You should not try to force your text file to live in the same directory as the WAR file. Instead, you should remove that kind of dependency and instead be using something like System.getProperty("java.io.tmpdir") to use the temporary directory to create and delete these files.
    Edit: I also bet you don't even need to create & read a file here. You could probably store the information in one of the contexts of the web app, such as in a Session. I'll assume you know what that means.
    By creating a file, you are also running the risk of multiple threads (simultaneous users) vying for the same file name, thus walking on each other's data.
    Message was edited by:
    warnerja

  • File in target directory?

    Hi Friends,
    The audit log says that the message is delivered but i cannot find the file in target directory.Does this indicate that the file is picked by the receiver system,if yes then once the file is picked the file is deleted from the target directory?
    Note-The "file construction mode" is set as create.
    Regards,
    Suresh.

    Hi Suresh
    Check for the SXMB_MONI as suggested above if you have success message.
    Moreover
    ,if yes then once the file is picked the file is deleted from the target directory?
    When the audit log says message delivered it will be delivered to target directory.
    Now if your scenario is file to file message can be deleted from source directory and not from target directory.
    Thanks
    Gaurav

Maybe you are looking for

  • Document in SAP

    Hi All, Before vendor search is done for procurement a document is created in SAP. Can any one throw some light on it? Thanks Shravan

  • Random account on my Mac

    Hi, So I have this random account on my Macpro & it keeps coming back even though I deleted it, but when I connect to the Internet the account is back! I have 1) my admin account 2) A guest account Just noticed recently that I have a third account ca

  • Organizer issues

    Hello, I am currently using elements 9 and moving to 10 once I complete a project in 9.  My issue, which is annoying [:-) is when I open the project i am working on, the organizer includes files and images i used from other projects.  I do not want t

  • Incomplete Pallet Pricing

    Hi, If customer orders for incomplete pallet quantity system should add the surcharge to the regular material price. Eg: 1 PAL = 50 EA PR00 gets the material price. If customer order a material for 50 EA it should get the price 10(INR)/EA. Condition

  • Hardware test fails with DVD 1

    Test unespectedly fails after few seconds. Mac doesn't work. Need to restart.