Input File Question

Hi, all!
I have an input file (InputFileA) that is sent to me from a third party.  I have to load the file into a Table (TableA) and also include, with each row that is loaded, the name of the file from which it came.
EXAMPLE:
InputFileA looks like this:
Number  Amount
000001  1200.00
000002  2400.00
TableA (columns: NUMBER, AMOUNT, FILENAME) should have the following inserts done:
NUMBER: 000001
AMOUNT: 1200.00
FILENAME: InputFileA
NUMBER: 000002
AMOUNT: 2400.00
FILENAME: InputFileA
Can anyone offer any advice as to how I can extract the filename and then insert it into the Table for each row that is inserted from InputFileA?
I'm new to SQL Server (originally a DB2 guy) and I don't have much of a programming background, so I'm kind of stuck on this one.
Thanks in advance and hi to everyone!
Don

Assuming you're using SSIS for transfer you can set it up as below
1. Add a ForEachLoop with file enumerator pointing to file location. Use a variable inside to fetch filename of files found (@[User::FileName]).
2. Add a data flow task inside loop with flat file source pointing to your file and set an expression for connection string to point to your dynamic file. For this select connection manager,  right click and select properties. Expand expression and
set an expression for connectionstring property to  point to @[User::FileName] variable.
3. Add a derived column task, add expression as @[User::FileName] and choose add as a new column option and give it name FILENAME
4. Add OLEDB Destination to point to your table and map columns from source file to table columns and FILENAME column created above to FILENAME column of the table
Execute it and you'll get your desired output.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • How do i use an input file with Asian characters(Unicode)?

    /* Ardor
    * Illiteraminator.java
    * Version beta 1.0
    * December 7, 2007
    * Main interfacing class
    import java.io.*;
    import java.util.*;
    public class Illiteraminator{
      public static void main (String [] args){
      //  ArrayList<Word> dictionary = new ArrayList<Word>();
        String fileName = "Mandrin.txt";
        String character= "",definition = "",inputLine;
        try{
          Scanner fileScan = new Scanner (new File (fileName));
          while (fileScan.hasNext()){
            inputLine = fileScan.nextLine();
            Scanner sc = new Scanner(inputLine);
            character = sc.next();
            while (sc.hasNext()){
              definition = definition + " " + sc.next();
            }//end while sc
           // dictionary.add(new Word(character, definition));
            //definition = "";
            //character = "";
          }//end while fileScan
        } catch (FileNotFoundException e){
          System.out.println("File not found, dig around for Mandrin.txt");
          System.exit(1);
        }//end catch
        System.out.println(character);
        System.out.println(definition);
      }//end main
    }//end class IlliteraminatorHi, i'm a first time programmer. Never touched programming until i took a Java class in university last semester. I am currently attempting to write a program to help me move away from my illiteracy in Mandrin. So, that's my code, and i am using Dr.Java while writing it. When i tested it out the output looked something like this v
    A p p l e
    M o n k e y C a t D o n k e y
    My input file is saved in Unicode. It contains letters that cannot be saved in ANSI. I tried UTF-8, but the interactions section showed no output...
    Is this just a problem with Dr.Java? Will i encounter a similar problem when i turn this into a GUI?
    The following is a copy and pasted version of the txt file i used as input. It is saved in the Unicode format.
    &#30340;[de] <grammatical particle marking genitive as well as simple and composed adjectives>; &#25105;* w&#466;de my; &#39640;* g&#257;ode high, tall; &#26159;* sh�de that's it, that's right; &#26159;...* sh�...de one who...; &#20182;&#26159;&#35828;&#27721;&#35821;*. T&#257; sh� shu&#333; H�ny&#468;de. He is one who speaks Chinese. [d�] &#30446;* m�d� goal [d�] true, real; *&#30830; d�qu� certainly
    &#19968;(A&#22777;)     [y&#299;] one, a little; &#31532;* d�-y&#299; first, primary; &#30475;*&#30475; k�ny&#299;k�n have a (quick) look at [y�] (used before tone #4); *&#20010;&#20154; y� g� r�n one person; *&#23450; y�d�ng certain; *&#26679; y�y�ng same; *&#26376;y�yu� January [y�] (used before tones #2 and #3); *&#28857;&#20799; y�di&#462;nr a little; *&#20123; y�xi&#275; some {Compare with &#24186;(F&#20040;) y&#257;o, which also means "one"}
    &#26159;     [sh�] to be, *&#19981;*? sh�bush�? is (it) or is (it) not?; *&#21542; sh�f&#466;u whether or not, is (it) or is (it) not?

    Sorry, but i do not understand this post at all... Can anyone explain it to me? Is he saying my IDE is running on something other than Unicode?
    PS: I tried one of the Scanner constructors that takes a charset parameter. That fixed the odd output! However, every Chinese character has been replaced with a question mark. (It was a series of weird characters before i used the constructor with a charset parameter.)

  • How to count Number of Input files onTarget Location?

    Hi Experts,
    I want to identify number of Input files available in Directory of Target system. Input file format is Input*.txt
    Once if I have this Count then based on that I can apply further logic in SAP R/3 coding.
    Please suggest me for the same.
    Regards,

    >
    Jagesh Lakdawala wrote:
    > My requirement is to read the Input Text file available on a given Location.Filename format is Input*.txt because Number of Input file is not fixed. All the Input file data needs to be available at the same time in R/3 coding (Internal table). i.e in a single XML message payload.
    > My question is in this BPM how do i know the LOOP Counter?? because LOOP should run depending on the Number of Input files available with the format Input*.txt.
    >
    > Please suggest.
    >
    > Regards,
    > Jagesh
    so say at one instance there are 7 files and XI picks them up, your BPM collects it and when you send it to R3 you need to know how many files have been processed?
    Well if this is the case, modify your BPM to accommodate collect pattern based on time. So fix a time period basically a time out say an hour. So the BPM will run for an hour after it receives the first file in and if within an hour say 7 files have come in, once the time out kicks in the BPM will exit. In you mapping of N:1 inside the bpm you can write a UDF which will count the occurrance of the root node of the source (a mandatory node of the source) and populate it to any field in the target tht you want to use.
    Is this what you are looking for?

  • How to execute an SSIS package on a scheduled basis from remote server and pass in input files

    I have an application server and a db server.  My db server has all things SQL Server stored on it (DBMS, SSRS, SSIS, etc.)  I have several nightly batch process SSIS packages (dtsx files currently) that will pickup an input file and import them
    into the database.  I would like to execute all batch processes from my application server as I have quite a few other ones as well that do other stuff outside of SQL Server via powershell.  My question is how to do this?  Is there away to execute
    them remotely via DTexec.exe, should I set them up as Agent jobs and somehow pass in the file names\location (how?), create and SSIS catalog, etc.?  
    I need to easily be able to see if the packages execute successfully or not and if not capture the detailed information of why they failed from the remote server so I can use that to drive my process flow logic in the batch processes.

    Hi Jason,
    According to your description, you want to execute a package on a schedule and receive notification when package ends with error in the job.
    After testing the issue in my environment, we can directly add the package in a step of a job, then add a schedule and set the Alert and Notification property in the job to achieve your requirement. For more details, please see:
    Create a Database Mail in the SSMS.
    Right-click the SQL Server Agent services to Enable mail profile, then select the appropriate Mail profile.
    Under the Operators folder, create an operator with the correct E-mail name.
    Right-click the Jobs folder to add a new job.
    In the Steps pane, New a step with SQL Server Integration Services Package Type to run the package.
    In the Schedules pane, New a schedule for the job.
    In the Alerts pane, New an alert with SQL Server event alert, then enable Notify operators option with an operator in the Response pane.
    In the Notifications pane, enable Email option with same operator and When the job fails selection.
    Then when the package fails, the job would be failed and we can receive the error message in the mailbox.
    Besides, please make sure the account that execute the job has correct permissions for the file, for the folder that contains the file, and for the database.
    References:
    Configure Database Mail – Send Email From SQL Database
    How to setup SQL Server alerts and email operator notifications
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • In ABAP How to locate an Input file  from a Directory during run time

    I'm loading data from a flat file(text file) into SAP thru BDC programs. All my input files are present in Application server.How to locate an Input file in a directory during run time to process BDC programs programmatically. Are there any in-built functions?Provided me some sample code or any method of doing the same.

    Hello Murali,
    you should ask this question in the ABAP forum.
    Regards
    Gregor

  • Limit on the number of characters of the Input file of Input Agent

    HI
    I am working on the Input Agent of one of my IPM applicaton. I just want to know what would be the limit on the number of characters in the input file of input agent. That means that what should be the total count limit of the characters of the Input file of the Input Agent, so that IPM Efficiently process the Input file.
    Thanks & Regards
    Chandan Kumar
    SYSTIME, India

    Thank you t quinn for your reply as I do really appreciate the help.
    I don't quite understand what your suggestion was and before I try to figure it out and play around with numbers, I thought I should clarify further. When i wrote I want to paste the content into the cell and have it limited to 100 characters I was mis-spoken. I actually have all the content already in the columns in a spreadsheet and would now like to just limit some of the columns to hold only 100 characters in a cell so that when its a CSV file it will be accepted to the program I'm trying to upload it to.
    SO does that change the way you can answer my question?
    Is there a way to just limit the content currently in a spreadsheet to 100 characters per cell?
    Kindly

  • Input File Repository Server not running

    When I try to access reports I get the following error
    Server Error in '/v2' Application.
    File Repository Server Input is down.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: File Repository Server Input is down.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [COMException (0x80004005): File Repository Server Input is down.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +77
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218
    [Exception: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +272
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +875
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +52
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(InfoObject infoObject, EnterpriseSession enterpriseSession) +87
       ProjectVillage.ReportView.ViewReport()
       ProjectVillage.ReportView.Page_Load(Object sender, EventArgs e)
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    I have gone to the Central Configuration Manger and it all of the servers running except for input file repository server and output file repository server. When I start those two servers it goes right back to stopped. Now I checked the event viewer for errors and these to errors show up.
    Event Type:     Error
    Event Source:     BusinessObjects_inputfileserver
    Event Category:     Startup
    Event ID:     35602
    Date:          4/8/2011
    Time:          10:04:59 AM
    User:          N/A
    Computer:     PVWEB3
    Description:
    Fail to register with the nameserver.  Please check for name duplication and validness of name used: Input.PVWEB3
    and
    Event Type:     Error
    Event Source:     BusinessObjects_inputfileserver
    Event Category:     Services
    Event ID:     34200
    Date:          4/8/2011
    Time:          10:04:59 AM
    User:          N/A
    Computer:     PVWEB3
    Description:
    Failed to register with the name server. Reason: The server name being registered is invalid. There might be another server registered using the same name. Choose another name or delete the corresponding server entry in the CMC.
    Now to give a bit of a back story as to what happened before this. We were having a issue logging into the domain on this machine. The only way to get passed this was to unjoin and rejoin it to the domain then this happened.  When I try to go to the CMC using the admin launch page I get the following error.
    Server Error in '/businessobjects/Enterprise115/WebTools' Application.
    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
    Requested Url: /businessobjects/enterprise115/WebTools/relativeredirect.aspx
    I'm a bit new to business objects software as this system was setup way before I started working for this company and noone that put this system in place has worked here for a while now. So I'm hoping some of you can help me out a bit or atleast point me in the right direction.

    Disregard that last post. I have gotten into Central Management Console.  My next question is, where in the CMC do I got to fix the following 2 errors I was getting?  I figure that are both talking about the samething but since this is my first time I've been in the CMC I am not sure where to go to fix it.
    Event Type:     Error
    Event Source:     BusinessObjects_inputfileserver
    Event Category:     Startup
    Event ID:     35602
    Date:      4/8/2011
    Time:      10:04:59 AM
    User:      N/A
    Computer:     PVWEB3
    Description:
    Fail to register with the nameserver. Please check for name duplication and validness of name used: Input.PVWEB3
    and
    Event Type:     Error
    Event Source:     BusinessObjects_inputfileserver
    Event Category:     Services
    Event ID:     34200
    Date:      4/8/2011
    Time:      10:04:59 AM
    User:      N/A
    Computer:     PVWEB3
    Description:
    Failed to register with the name server. Reason: The server name being registered is invalid. There might be another server registered using the same name. Choose another name or delete the corresponding server entry in the CMC.

  • How to transfer input file into XI through sender file adapter

    Hi
    I am quite new to XI. Want to know how I can transfer a file into XI through sender file adapter. I dont have any input file, so I have to create a sample input file and I want to transfer that into XI. Can you please advise me of the steps involved in that. I have finished work in design and directory, now I want to push file the sample file into XI. The receiver adapter is an IDoc adapter. And also a very trivial question. How I can place my sample file into my source directory. Thanks

    Hi Rajiv,
    If your transport protocol is NFS then you need to put the file in the XI server. Because it becomes the Network File System. For that you can just type the ip address of the XI server in the "run" command or in the browser with "
    " then in any of the Folders you can paste your file. But ensure that this is the path you give in your Sender File Adapter.
    If your transport protocol is FTP then you need to see that ftp is running in your system. for that go to Control Panel>Add/Remove Programs>Add/Remove Components. In that check the IIS server and go to details and see that ftp is also checked. Now ftp is running in your system.
    Now open your C:> drive >InetPub>ftproot . and create a folder here and paste your file. In the configuration of your File sender adapter just mention the name of the folder.
    For your information, you can create a file with xml tags and namespace and message type manually (or) you can directly get it from the test tab of message mapping and generate source code.

  • File bc: Multiple input files in one folder

    I am working on an integration project, which includes five BPEL processes. These processes are intiated whenever a file is copies in a given folder. The input-filename-pattern for these bpel processes are different (say, input1_%d.txt, input2_%d.txt etc.). But, these files are present in one single folder.
    To implement it, we created one more bpel process, which was bound to file-bc. The first activity in this process is a 'pick' activity. Five operations were defined corresponding to each input-file (name pattern and schema) in the WSDL under single port-type. And, the port-type was bound to the folder where all messages are received. For all five operations, polling interval was defined as 1000 ms.
    For pick activitiy, five 'onMessage' node was created for each operation, which invoked the corresponding (one of five) BPEL process.
    We tested this solution, and it worked. The solution was able to pick five types of input files and invoke the bpel-processes.
    However, the system log of glassfish contains a number of exception error messages. To me, it looks like that all five operations are trying to get the lock on the folder at the same time and this exception is thrown. Though, it does not create any problem in execution of the process, it is a headache for the system administrator.
    Is there any way to control these specific error messages, so that these are not sent to the system log?
    The error message in they system-log is:
    [#|2007-12-21T22:21:40.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
    java.lang.IllegalMonitorStateException
         at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
         at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
         at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
         at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
         at java.lang.Thread.run(Thread.java:595)
    |#]
    [#|2007-12-21T22:21:41.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
    java.lang.IllegalMonitorStateException
         at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
         at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
         at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
         at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
         at java.lang.Thread.run(Thread.java:595)
    |#]
    Thanks,
    Sanjay

    Sanjay,
    Most of the folks that would normally reply are on winter holiday break, so there would be a delay in response. In the mean time, I would really appreciate if you log this as a bug at http://open-jbi-components.dev.java.net. You need to join as an observer to log this bug. You may also want to subscribe to [email protected] and start posting questions there so that you get a fast response from the Open ESB dev team. FYI, Open JBI Components is a sub project of Open ESB and the dev alias at Open ESB is very active.
    Suresh

  • How to apply input file name to output file in file adapter

    Hi Friends
    In my file to file scenario,i want to use input file name to output file by using adapter specific attributes,for this i have java code.Please suggest me how can i use this java code in mesg mapping and to which field i need to mapping this.
    Thanks
    pullarao

    Hi Pullarao,
    I have two questions ...
    1. Are u want the static file name in the target file?
    if yes...then follow the Bhavesh instruction.
    2.If u want a dynamic file name in the target file using UDF....then your UDF should mapped to the <b>root element</b> of target structure.
    /**********UDF********/
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    /*******END UDF*******/

  • How to merge five different xml input files into three output files

    Hi All,
    Can you please explain me to merge 5 different xml input files into 3 output xml files.
    I'm looking forward for ur suggestions...
    Thanks
    Pullarao

    HI
    Please see the below links
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    <b>BPM CollectPattern..</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Thanks !
    Regards
    Abhishek Agrahari
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points </b>

  • Existence of input file too important in Presort verify

    Summary
    I'm concerned that the existence of an input file is too important in the presort verify process.  If an input file is not found, other more relevant tests are not performed.  Can the verify process be updated to continue verifying even though the input file or format does not yet exist?
    Details
    I work with Presort on a Windows platform.  My company's systems construct templates for each project we process; we do not build them by hand.  The templates are typically built once we have catalog attributes from the printer/mailer, which is before the files are sent to us.  We would like to verify the entire template right away and let an automated system submit the presort to run. 
    Unfortunately, there are things called entry points that seem to change from month to month.  We need to patch up ZIPs and drop site keys before the presort can run.  But entry points are not tested nor errors posted when the input file is not found.  That is the catch 22.  PostalSoft recognizes that the existence of an input file is not fatal; it posts a yellow triangle.  But it stops verifying after that.  If entry points are tested even though there are fatal errors related to output files, can the same be true with input files?  Can everything not related to files of file content be tested and errors posted when there are file related errors? 
    Thanks for your time and consideration,
    dvn
    Edited by: Don Nielsen on Jul 29, 2011 2:01 PM

    I copied this from another thread on the forum. 
    How to contact SAP Primary Support for technical assistance:
    1. Login to the SAP Service Marketplace (SMP) at [https://service.sap.com/bosap-support|https://service.sap.com/bosap-support]. This is the SAP BusinessObjects landing page.
    2. Under Troubleshoot a technical problem, click u201CCreate a message/contact technical supportu201D
    3. If the "Your Recently Used Systems" box displays, click the link in the System ID and Name column that corresponds to the product with which you need assistance (Proceed with Step 5)
    4. If the Your Recently Used Systems box does not display, choose a system using System Search:
    a. Select the Installation from the drop-down box that corresponds to the product with which you need assistance
    b. Click Search (A table listing one or more systems appears below the System Search box.)
    c. Click the link in the System ID column that corresponds to the product with which you need assistance
    5. Enter text relating to the issue into the Search term box (This is a required step. You may get an answer to your question without having to wait for a support engineer to contact you.)
    6. If you do not see any SAP Notes pertaining to your question, click Create Message.
    7. Choose the correct Component for the product you are creating the message for. The component is very important as it allows the support message to be directed to the correct team. Click the icon next to the Component window to see a drop down list.
    8. Expand EIM - Enterprise information management solutions. By each component the names of the products are listed. For example:
    u2022 EIM-COR is used for ACE, DataRight IQ, Match/Consolidate, IACE, and FirstPrep.
    u2022 EIM-COM is used for: DeskTop Mailer, Business Edition, Presort, PrintForm, Postal File Preparation, and Label Studio.
    9. Enter a brief description of the issue in the Short Text box
    10. Enter a detailed description of the issue in the Long Text box
    11. (Optional) Attach any necessary files, by browsing for the file and clicking Upload
    12. Click Send Message.

  • How to make SSIS packages automatically read the input file from a path?

    Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
    I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
    The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
    However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
    I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
    Please let me know how to do it. Any help would be highly appreciated.....
    Thanks in advance.

    Hi SQL_SSIS_Dev,
    According to your description, you want to get the latest file from a path to a SQL Server table. After testing the issue in my environment, we can refer to the following steps to achieve your requirement:
    Create two variables, VarFolderPath stores the folder path in which our files exist, VarFileName hold the value of most recent File Name.
    Drag a Script Task from SSIS Toolbox to Control Flow Pane, then select “User::VarFolderPath” as ReadOnlyVariables, select “User::VarFileName” as ReadWriteVariables.
    Then Edit Script with the C# code below:
    Add “using System.IO;” into namespace.
    Add the code below under Main function:
    var directory= new DirectoryInfo(Dts.Variables["User::VarFolderPath"].Value.ToString());
                FileInfo[] files = directory.GetFiles();
                DateTime lastModified = DateTime.MinValue;
                foreach (FileInfo file in files)
                    if (file.LastWriteTime > lastModified)
                        lastModified = file.LastWriteTime;
                        Dts.Variables["User::VarFileName"].Value = file.ToString();
    Drag a Data Flow Task to Control Flow Pane and connect to Script Task.
    In the Data Flow Task, drag a Flat File Source with a file in the source folder as all the files have same structure as the File name.
    Add the property below the Flat File Connection Manger expression:
    Property: ConnectionString      Expression: @[User::VarFolderPath] +"\\"+ @[User::VarFileName]
    Drag an OLE DB Destination that connect to the Flat File Source, then configure a table to store the data.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • BKI0062E: The input file /oracle/SID/sapbackup/.file.lst is not valid.

    Hi all,
       It has the following platform: SAP ECC6 in AIX 6.1 with Oracle Database
    My question is: When I run a online backup from DB13 with util_file I have this error message :
    BKI0062E: The input file /oracle/SID/sapbackup/.file.lst is not valid.
    Knowing when I launch from the standard profile on Disk initSID.sap it works without problem
    When we test manually with oraSID it works but by SIDadm its not work
    Then you can mention or in configuration files BACKINT both users oraSID & SIDadm have rights to use
    Many Thanks
    AT

    > # ls -l /sapmnt/X21/exe/br*
    > -rwxrwxr-x    1 oraX21   dba         5002624 Feb 06 2008  /sapmnt/X21/exe/brarchive
    > -rwsrwxr-x    1 oraX21   dba         5129705 Feb 06 2008  /sapmnt/X21/exe/brbackup
    > -rwsrwxr-x    1 oraX21   dba         6659409 Feb 06 2008  /sapmnt/X21/exe/brconnect
    > -rwxrwxr-x    1 oraX21   dba         5594679 Feb 06 2008  /sapmnt/X21/exe/brrecover
    > -rwxrwxr-x    1 oraX21   dba         2100833 Feb 06 2008  /sapmnt/X21/exe/brrestore
    > -rwxrwxr-x    1 oraX21   dba         6882272 Feb 06 2008  /sapmnt/X21/exe/brspace
    > -rwsrwxr-x    1 oraX21   dba         2729734 Feb 06 2008  /sapmnt/X21/exe/brtools
    As you see - your br*tools are more than two years old, many many errors have been fixed since. I would install the latest tools and try if the error is still there. You can even do that when the system is running.
    Markus

  • Batch Input file is not created for the program RFUMSV00 (VAT)

    Dear All,
    Yesterday we run the program RFUMSV00 for posting VAT entries. But program dosnt created any batch input file. We tried to create the file once again by running the program, but there were no data;s on it.
    I can able to view the spool which is created in SM37. It is in the finished status.
    Can you please advice, do I need to delete any table entry for this like BSET etc....or how I can create the batch file again by ruuning the program. I dont want to post manually through FB41 transaction.
    Is there any Standard SAP solution for this.
    Please let me know anybody need any clarification about this question.
    Thanks in advance.
    Regards,
    Raja.A
    Edited by: Raja.A on Dec 1, 2009 12:47 PM

    Hi,
    Check the status of the batch in SM35 transaction.
    if the batch is locked by mistake or any other error, now you can release it and aslo you can process again.
    To Release -Shift+F4.
    Also you can analyse the job status through F2 button.
    Bye

Maybe you are looking for

  • Attachments and history of my emails are not seen by Windows users

    attachments and history of my emails are not seen by Windows users

  • How do i install the itunes in a new laptop

    how do I install the itunes in a new laptop?

  • Reg. barcode printing in adobe form

    Hi experts,       I want to display barcode in adobe form. I am using code128 standard barcode. My requirement is to display the humanreadable format in barcode(text that displays with barcode) with 16 font size and it should have format DTAPxxxxxxxx

  • Flash video 64-bit gives no audio

    When playing a flash video in Internet explorer 64-bit on Windows 7 64-bit there is no sound. When playing the same video in IE 32-bit everything is oke. I checked all steps on the Flash player Help page for Games, video, audio. The Flash Player Vers

  • STORAGE_PARAMETERS_WRONG_SET dump

    Hello, I have installed BW 3.5 on MS SQL 2005, Windows 32 bit system and facing lot of performance issues in BO reports execution. System goes in hang state when multiple users log in. Also geting dump STORAGE_PARAMETERS_WRONG_SET DUMP details are :