Include Flat file name as a field in the PSA / DSO.

Hi,
I have a requirement to include the Flat file name also in the DSO which is used for loading the data from a flat file source. I have created a new infoobject for File Name in the DSO. Can you guide me from which table I can get this information.
I was thinking of reading this information from the table which stores the file name in a routine in the transformation to the DSO.
I came across the table RSLDPSEL, it stores the Infopackage name and file name. But this does not work when I am using the same infopackage to load multiple files. Thanks in advance.
Regards,
Hari.

Hi,
The main challenge is to get the Technical name of the infopackage in the transformation ( field routine) from PSA (Datasource Source) to DSO for the Filename info object.
Is there any table which stores the Infopackage and the corresponding data target information in BI 7.0 sothat I could use the field routine in transformation to get the Infopackage ID based on the data target (DSO) ?
Once I have the technical name of the Infopackage, my logic is to query the RSLDPSEL table and find the file name based on Infopackage ID.
Please share your thoughts on how this scenario could be realised.
Thanks,
Regards,
Hari

Similar Messages

  • Link file name to a field in the form for save as button

    Does anyone know how to have the file name auto populate from a field in your form when using a button that does a save as function?
    Best regards,
    Michael

    Hi
    Details:
    JSP - Contains a Form for entering ID number.
    Java Bean - Stores the ID number entered into the Form of the JSP page and also has the SQL Statement Object
    The Problem: Where should you put the SQL Statement Object ?
    Possible Solution: I think you are confused about SQL statements execution. This is what you can do. The Retrieved Id number from the Form has to be appended to the preformatted String which has the SQL statement stored in it. Once this is done this statement may be executed to retrieve the data associated with the ID number , if it exists.
    Here is a link that should help you build an SQL statement on the fly and execute it. Try out some of the examples.
    http://java.sun.com/docs/books/tutorial/jdbc/
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun mcirosystems inc
    http://www.sun.com/developers/support

  • Creating dynamical flat file name in mapping?

    Hi.
    I know about the variations on how to use an input parameter and/or sysdate to create a dynamic output file name in a mapping.
    My challenge is nearly the same, but I cannot make OWB generate the correct code.
    Problem:
    - got a one column table that holds an identifier in a string field
    - got a function that reads and returns said identifier
    - imported function into OWB
    - trying to use the function call in the Flat File Operator's Target Data File Name, e.g. fixedfilename||fn_get_id()||sysdate||'.ext
    OWB creates the code:
    UTL_FILE.FOPEN(
    'my_location',
    'fixedfilename'||fn_get_id()||'_'||SYSDATE||'.ext',
    'w',
    32767
    However, when compiling the package code, it returns the warning:
    ORA-06550: PACKAGE BODY, line 2214, column 29: PLS-00201: identifier 'FN_GET_ID' must be declared
    which results in an error when trying to execute the mapping.
    I've tried substituting the function call in the FOPEN call:
    myId := fn_get_id();
    UTL_FILE.FOPEN(
    'my_location',
    'fixedfilename'||myId||'_'||SYSDATE||'.ext',
    'w',
    32767
    and this works fine, the mapping creates a file with the desired filename. But obviously not a good solution rewriting the generated code all the time....
    Anyone solved something similar?
    Could I use an input parameter and the autogenerated function GET_<PARAMETER>?
    But can I set the value of an input parameter inside the very same mapping?
    Regards,
    -Haakon-

    (It always helps writing out one's problems...)
    I managed to get it working :-)
    Added an input parameter to the mapping, and gave the outgroup variable a default value by calling my imported function.
    Then concatenated the implicitly generated function (GET_PARAMETER) in the Target Data flat file name.
    I now have a target file name that changes according to a departement id stored in a parameter table.
    Regards,
    -Haakon-

  • How to I record an Action to Save As that doesn't include a file name??

    Hi -
    I have an Action that will crop and scale a PDF file then Save As a JPG to a destination folder.  The problem is that when I recorded the Action I did so with a file named ABC.PDF and Saved it as ABC.JPG - and now every file saved with this
    Action is named ABC.JPG
    This makes it impossible to use with a bunch of different files.  One file gets overwritten multiple times with the same name.  The  file name ABC.JPG is "burned" into the Action.
    SO - how do I record an Action to Save As without including a file name??
    TIA your help on this crazy problem -
    Josh
    CS5 on Windows7

    PeterK - thanks for the reply.  I tried that already - initially actually. 
    I even tried blanking out the field so I would save a file with NO name.  PSD added it's own .jpg and saved it like that.  Every file after that over wrote that one too so after using the Action on 6 files I still only had one ".jpg" in the folder.
    I was hoping that there was a setting or preference somewhere.  SInce this is Windows might it be OS related?

  • Flat file name from Sender Side Dynamically into subject of Receiver Mail

    Hi All,
             I am Using a file to Mail Scenario, My requirement is to get dynamically the file name from flat file of the Sender Side into Subject of Receiver Mail Adapter and attachment of file from the Sender Side. Can anyone help me out.
    Thanks in Advance

    Hi....
              You can write udf in the message mapping to get the Dynamic file name and map that to the subject of the receiver mail.
      DynamicConfiguration conf = (DynamicConfiguration) param.get(
              StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
          // read value
          String Filename = conf.get(KEY_FILENAME);
    Regards,
    Leela

  • Flat file to Oracle: Dynamic flat file name

    Hi,
    I am doing a transformation from flat file to oracle.
    At one place there is requirement like flat file name is dynamic.
    *eg. D:\ Flat DB\ Sample<Date>.txt   
    examples may be like Sample09012012,Sample08012012 *
    As in physical schema we specify name of file is there any way by which we can specify dynamic file name.
    as stated above.
    Any help and suggestions would be appreciated.

    Hi,
    Yes you can specify a variable in the file name ( the resource name filed) .
    You need to refresh the variable in a package and then use the interface to pick data from the file .
    Thanks,
    Sutirtha

  • When importing photos with iBooks Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the imported photo?

    When importing photos with the iBooks Author Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the corresponding imported photo? I have 4,800 stills to import and can't imagine it's necessary to copy and paste the description for each.

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html
    As for AS, I'm not sure anyone has sniffed iBA's dictionary yet...google is you friend for hot prospects, I'm sure

  • Script to insert file name into keywords field of same file

    Hello,
    search a solution, a Script or another, which writes the file name into keywords field of same file (Metadata: Description/Keywords) in "photoshop", "bridge" or better in "Lightroom" .
    I found this topic from Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?t=1330
    It's possible this script to change this in such a way that it does this:
    "script to insert file name into keywords field of same file"
    Thanks and best greetings
    Wolfgang

    This works in CS2:-
    #target bridge
       if( BridgeTalk.appName == "bridge" ) {
    nameDescription = MenuElement.create("command", "AddName to Description", "at the beginning of Thumbnail");
    nameDescription .onSelect = function () {
         nameToDescription();
    function nameToDescription(){
    var items = app.document.selections;
          for (var i = 0; i < items.length; ++i) {
             var item = items[i];   
    var m = item.synchronousMetadata;
    filenameToDesc(m, item.name.slice(0,-4));
    function filenameToDesc(metadata, Description) {
    var strTmpl = "name2Desc";
    var strUser = Folder.userData.absoluteURI;
    var filTmpl = new File(strUser + "/Adobe/XMP/Metadata Templates/" + strTmpl + ".xmp");
    var fResult = false;
    try
    { if (filTmpl.exists)
    filTmpl.remove();
    fResult = filTmpl.open("w");
    if (fResult) {
    filTmpl.writeln("<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"3.1.2-113\">");
    filTmpl.writeln(" <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">");
    filTmpl.writeln(" <rdf:Description rdf:about=\"\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">");
    filTmpl.writeln("<dc:description>");
    filTmpl.writeln("<rdf:Alt>");
    filTmpl.writeln("<rdf:li xml:lang=\"x-default\">"+Description+"</rdf:li>");
    filTmpl.writeln("</rdf:Alt>");
    filTmpl.writeln("</dc:description>");
    filTmpl.writeln(" </rdf:Description>");
    filTmpl.writeln(" </rdf:RDF>");
    filTmpl.writeln("</x:xmpmeta>");
    fResult = filTmpl.close();
    metadata.applyMetadataTemplate(strTmpl, "replace");
    filTmpl.remove();
    catch(e)
    { fResult = false; }
    return fResult;

  • Flat file name

    Hi Experts,
    I am working with BDC
    I want to get the flat file name also .
    how to get that
    Regards,

    Hi above all
    Thanks for your reply,
    I want only flat file name .
    for ex:If  i am working with this file
    C:\Documents and Settings\pri\Desktop\INPUT.xls
    i have to populate only The name of Flat file(INPUT) In Ztable
    like that how many flat files i work with my program
    all the names should be populated in ztable
    I am successfully populating the data of flat file into ztable
    I need only the FLAT FILE NAME
    Regards,
    Edited by: abap learner on Jul 8, 2008 11:35 AM

  • Is it possible to know flat files names loading using particular info pack

    hi experts ,
    is it possible to know flat files names loading using particular info package  ??
    in our project we hav flat file extraction  manually ...as i am replacing old sap bi consultant i must contine pending loads ..
    as ther s no document about loads i must check and ensure about loads left out ..'
    for every flatfile they used load with differnt name ... if am able to get those files name i can list out  pending ones
    and can load
    is it possible to those details ??
    pls help me .....
    relative answer will rearded with points ............
    thanks in advance
    regards
    harry

    I AM REALLY THANK FUL FOR ALL.. your people are really quick .and giving relavtive answers ...
    they loaded from desktop only ....not from application server ..
    i got details  from info cube mange screen .they used to load data monthly wise ,so i hav given month in selection  and viewed data..
    Regards ,
    Harry

  • [Flat File Source [2]] Error: Cannot open the datafile "VendorPurchases20050512.txt".

    hi
    I'm trying to use foreachloop container in order to read the data that i have in several txt files and upload it into MRR table. 
    when i'm trying to run the package, i'm getting the following error: 
    [Flat File Source [2]] Warning: The system cannot find the file specified.
    [Flat File Source [2]] Error: Cannot open the datafile "VendorPurchases20050512.txt".
    [SSIS.Pipeline] Error: Flat File Source failed the pre-execute phase and returned error code 0xC020200E.
    I don't know what's the problem since it was working before.In the flat file connection manager i defined all the path including the name of the file.
    I'll be happy for assistance
    thanks
    Yaron

    Hi Yaron,
    Does the file stored in local file system or a share folder on remote server? If you can load data from a file in local computer, but cannot load data from a file in a remote computer, the issue may be caused by the Kerberos authentication. In this condition,
    check the following points:
    Enable SQL Server for Kerberos
    Check delegation settings for SQL Server service account and Computer
    Add Host SPNs for FileShare Server and SQL Server
    References:
    http://msdn.microsoft.com/en-us/library/dd568720.aspx
    http://msdn.microsoft.com/en-us/library/ms191153.aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • How do I put the file name and path into either the header or the footer?

    I need to keep track of pdf documents as their names or locations sometimes change.  I need to show both file name and path, preferably in the header.  I would also like it to refresh automatically when I change, say, the file name, but that's not as essential as the basic function of showing the file name and path.

    You will need to do this with a text field and a Javascript that executes on open.

  • Syncing "file name", were not copied to the iPad because they could not b

    Hi,
    This problem has bothered me for a couple of weeks. Copied here is the exact error message iTunes delivers when I try to sync a video library over to my iPad.
    "Some of the items in the iTunes library, including "file name", were not copied to the iPad because they could not be found."
    What is so weird relates to the randomness of it. I have 19 video files that show in iTunes. When I sync to the iPad, I only get about 5 that move over correctly. The others get an error message as noted above.
    Does this issue have to do with the files (i.e. attributes, type (.mp4), or any thing else)?
    Is this really an issue with the iPad syncing software?
    Getting a little frustrated. Anyone else?
    Thanks for any help one can provide!

    I also get the same problem, this is very tedious but if you edit the song somehow and re-save it then it will copy. Not sure what the problem is at all, tried contacting Apple about this to no avail.

  • Loading flat files located on a server using the Control Center piece ofOWB

    Loading flat files from a server with OWB
    I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
    Error
    RPE-01013: SQL Loader reported error condition, number 1.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
    I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
    If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
    [d97886@owbtest owb_repos1]$ pwd
    /u00/data/owb_repos1
    [d97886@owbtest owb_repos1]$ ls -la
    total 24
    drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
    drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
    -rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
    [d97886@owbtest owb_repos1]$

    Hi
    This is what i do for my flat files (i am loading my tables from the flat files):
    1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
    2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
    3) then just follow the guide to sample the files etc and you are good to go.
    Basically OWB has to be able to see the files that are on Linux machine.
    Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
    Sorry if it is stating the obvious.
    Hope this helps
    Kind Regards
    Vix

  • File name should change by selecting the radio buttons

    Hi all,
    PARAMETERs: p_file LIKE rlgrap-filename.
    PARAMETERS: p_app RADIOBUTTON GROUP rg DEFAULT 'X',
                             p_pre RADIOBUTTON GROUP rg.
    this is to download the ITAB data to presentation and application servers depending upon the radio button selected.
    if i select p_pre , then default download path is : 'C:/ download.txt'.
    if i select P_app , default download path is : '\usr\sap\EBG\SYS\profile\DOWN.TXT'.
    how the file name should change by selecting the radio buttons ?
    Thanks
    KR

    Hi,
    DATA: c_x VALUE 'X'.
    selection-screen begin of block input with frame title text-000.
    parameters :desktop     radiobutton group rg_f user-command rg_f,
                       in_file type ibipparms-path modif id ps DEFAULT 'C:/ download.txt',
                menu     radiobutton group rg_f ,
                       sys_file type ibipparms-path modif id as default  '\usr\sap\EBG\SYS\profile\DOWN.TXT' .
    selection-screen end of block input.
    at selection-screen output.
      if desktop is initial and menu is initial.
        desktop = c_x.
      endif.
      perform f_toggle_finputs.
    form f_toggle_finputs.
    loop at screen.
        if screen-group1 = 'PS'.
          if desktop = c_x.
            screen-input    = 1.
    *         sys_file = c_server_path.
          else.
            screen-input    = 0.
          endif.
        endif.
        if screen-group1 = 'AS'.
          if menu = c_x.
            screen-input    = 1.
    *        clear: in_file.
          else.
            screen-input    = 0.
          endif.
        endif.
        modify screen.
      endloop.
    endform. "f_toggle_finputs
    Hope this helps u.
    Thanks.

Maybe you are looking for

  • Images are on top of each other.

    Forgive me, but I will explain this as best I can. We just got our iMac. We have 2 cameras that we use. So I imported some pictures from church last night. They show up in my library at the bottom AND the top (as if they were imported twice). Now, if

  • ACD 23" Brightness controls inoperable

    Like SO many other people I was having trouble with my ACD 23" monitor not turning on at start up. By swapping out components with an identical monitor, I determined that the problem is most likely the power brick. I am currently using an identical p

  • Project Interest Calculation

    Dear Experts, I am using Project Interest Calculation Scenario. I want to calculate Interest@12% for the Balance Sheet A/c, but due to non availabilty of Cost Elements for B/L Accounts i cant define a value categories for the same. Can anyone suggest

  • Alert Configuration Transport

    Hi Everybody, I have configured alerts in Development system PI 7.0. Can we transport these Alerts to QA or we need to do re configuration for Alerts in different environments. Note : I am referrring to the configuration in ALRTCATDEF and Alert Confi

  • Logic for taking Standard cost of destination instead of dispatching locati

    Need your input regarding Intra-Company STO. As per STD SAP Process,the price maintained at Supplying Plant will be taken when we do Goods Receipt at receiving plant. Example Price at Supplying Plant  = Rs 10 Price at Receiving Plant  = Rs 12 GRN Val