APD, filename for file data target

Hello,
i am designing a APD process  with a file as process target.
I can hardcode the file path and name in the data target properties, however i would rather set the filename by user input or by a abap routine (eg. include the date of APD execution in the file name). Is that possible?
Thanks in advance

Hi,
You can use the option 'Logical File Name' option to create a dyanmic file name.
You can define a Logical File Name in tcode 'FILE', where you can append system date, time, varaible to a static file name.
Hope this helps.

Similar Messages

  • How to specify  inclusion and exclusion rules for File data sources

    This is the seed URL for a file data source: file://localhost/c:/myDir/
    I want to exclude indexing and searching of files under: file://localhost/c:/myDir/obsolete/
    What is the exact format for the exclusion URL?
    I have tried both file://localhost/c:/myDir/obsolete/ and /myDir/obsolete/
    but neither of it seems to work; it still indexes everything under /myDir/
    Should I just put: /obsolete/ as the exclusion URL?
    Also after initial crawling, if I change the inclusion and or exclusion rules and then run the crawler again, it should update the indexes accordingly. Is that right?
    The version of UltraSearch I am using is 1.0.3.
    Thanks for any help on this.

    Try "/c:/myDir/obsolete/"
    Changing inclusion/exclusion rule does not affect files already crawled. It onyl
    affects next crawling behavior.
    To do any DML to existing data set, use SQL directly on wk$url table under the instance owner.

  • Custom Filename for Export Data from a Query

    Hi,
    Would like to define a custom filename for the file to be download as a csv from the web query, Is it possible?
    Regards
    Chocks

    This is not possible, it will be system generated.

  • Set filename for file download

    Hi
    i have a servlet that sends a file to the client to be downloaded. When the client requests the file the dowload dialogue pops asking if the user wants to download/open but the name of the file is always the servlet name were it originates. Is there any way to set the filename and extension in the servlet e.g ExampleResult1234.csv and send this to the client so that when the dialogue pops up it is set?
    Current Servlet Code:
    String output = "some data from database in csv format";
            response.setContentType("application/binary");
         response.getWriter().write(output);Thanks
    David

    It would be nice for the next person who needs help with this if you posted your solutions. :)

  • UDF to get the filename for File Sender Adapter

    Hi,
    I had an requirement to get the  the Filename and map to the  target payload.
    I had configured the File Sender Adapter settings in the ID
    This is the following UDF i got from SDN.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    But when iam using this UDF iam getting an error
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_ORDER_CRS_OB_SAP_PROXY_IB_ method Filename$[com.sap.aii.mappingtool.tf3.rt.Context@54e154e1]
    Please help me in correcting the error.
    Thanks
    Srinivas

    Hi Jayson,
    actually, in the interface mapping, it doesn't give exception.
    The DynamicConfiguration is a constant retrieved from the container object, so it will never be returned as null (given that the container object was instantiated).
    Just the retrieved value will be null (since it was not previously set), but no exception occurs.
    In the message mapping, the container object is never instantiated, and that's the reason for the NullPointerException.
    Regards,
    Henrique.

  • Set default filename for file save dialog

    Hi,
    I am using AxAcroPDF control to view pdf files in windows forms.
    Is there any option to set the default filename in the save dialog?
    Thanks for your help.
    Freedon

    Hi,
    I've found a solution.
    public void Open(string filePath)
    axAcroPDF.LoadFile(filePath);
    //this will set the correct name in the save file dialog.
    axAcroPDF.src = filePath;
    Thanks for your help.
    Freedon

  • Set default filename for file save dialog on Save button click

    Hi,
    I am using AxAcroPDF (version 9.0) control to view pdf files in windows forms (C#). The pdf loads into the viewer in the form. Now, when I click on the Save button in the viewer, a Save dialog pops up with a default filename having complete path info.
    If I have loaded the pdf file into AxAcroPDF viewer with filename:
    "C:\Documents and Settings\KB_Kravi\My Documents\CustomerList.pdf"
    then in the save dialog, the default filename will be:
    "C_Documents_and_Settings_KB_Kravi_My Documents_CustomerList.pdf"
    Is there any option to set the default filename in the save dialog to some short name, instead of this lengthy name?
    Thanks,
    Ravi.

    Hi,
    I've found a solution.
    public void Open(string filePath)
    axAcroPDF.LoadFile(filePath);
    //this will set the correct name in the save file dialog.
    axAcroPDF.src = filePath;
    Thanks for your help.
    Freedon

  • Specifyingf filename for file syndicated to port

    Hi,
    When a file is syndicated to port, MDM automatically generates the filename. Is it possible to append some string to this file name?
    Regards,
    Anoop Sahu

    Hi Anoop,
    you can easily change this filename with the use of XI
    (dynamic configuration)
    and append values from the payload of the XML file
    for example - if this is your request
    Regards,
    Michal

  • Customizing KM to order by for file as target

    Hi
    I have to do an order by when I load data into file as my target.
    I tried to customize IKM SQL to File Append in the step insert step by changing it to
    insert into <%=snpRef.getTargetTable("TABLE_NAME")%>
         <%=snpRef.getColList("", "[COL_NAME]", ",\n\t", ",", "INS and TRG") %>
         <%=snpRef.getColList("", "[COL_NAME]", ",\n\t", "", "INS and !TRG") %>
    values
         <%=snpRef.getColList("", "[EXPRESSION]", ",\n\t", ",", "INS and TRG") %>
         <%=snpRef.getColList("", ":[CX_COL_NAME]", ",\n\t", "", "INS and !TRG") %>
    ORDER BY
    <%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>
    And I tagged the column in designer as UD1. But doesn't seem to be working. Any one tried it before.
    -app

    Hi,
    Can you use ODisqlunload to create a file, in that u can mention the query and order by clause in a easy way.
    And then check whether the order is as you want it to be.
    Reshma

  • How to show time as well as date in Finder for file Date Modified

    Completely mystified... Folder is only showing the mm/dd/yy modified for any file not modified Today (which then says Today and the time).
    Why on Earth would the Date AND TIME not show for all files? I can't seem to find any option to do this. Definitely want a way to:
    o make the change globally (not folder by folder)
    o and extra credit if i can get four digit years showing too.
    Complete mystery why this isn't the default view or maybe I did something inadvertantly to make things easier for people who don't want too much information. (?)

    Try this:
    Double click the Macintosh HD on the desktop > Cmd + J > Check the buttons you want concerning the date and time > press the button Use as default. Hopefully it will rub off on all the other folders too!

  • SAP PI Table which stores Dynamicconfiguration(filename) for file sender

    Hello All,
    What is the SAP PI table in which SOAP header elements are getting stored. In my scenario, i need to find out the message ID for a specific file name which is picked by file sender, as file name is stored under Dynamicconfiguration of SOAP header node...
    Regards,
    Sreenivas.

    Hi Sreenivas,
    I am not sure if I have understood your requirement correctly but can't you achieve this using a UDF:
    String headerField;
    java.util.Map map;
    AbstractTrace trace=container.getTrace();
    map = container.getTransformationParameters();
    String key = "MessageId";
    headerField = (String) map.get(key);
    return headerField;
    Let us know.
    Regards,
    Shweta

  • To get Run time Statistics for a Data target

    Hello All,
    I need to collect one month data (ie.Start time and End time of the cube) for the documentation work. Could someone help me to find out the easiest way to get above mentioned data in BW Production system.
    Please guide me to know the query name to get the runtime statistics for the cube
    Thanks in advance,
    Anjali

    it will fetch the data if the BI stats are turned on for that cube.....
    please verify these links
    http://help.sap.com/saphelp_nw04s/helpdata/en/8c/131e3b9f10b904e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/15c54048035a39e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

  • Not able to select physicalschema directory for file data server in ODI 11g

    Hi,
    I am a beginner to ODI tech and stuck up with an error while doing a tutorial (mentioned in this link - http://st-curriculum.oracle.com/obe/fmw/odi/odi_11g/ODIproject_ff-to-ff/ODIproject_flatfile-to-flatfile.htm).
    While creating a physical schema for default file server(FILE_GENERIC) , I am not able to select schema directories and the name field with value 'FILE_GENERIC.Directory' is grayed out (non editable)
    I have gone through many documents but could not find any relevant information for this.
    So could you please let me know if any configurations required for this?
    Thanks,
    Anusha

    Hi Oleg,
    Thanks for your reply.
    While creation of physical schema , Name field is grayed out , is that the default behaviour of the screen? because in the tutorial I could see the name filead is pointing to a file directory path.
    Thanks,
    Anusha

  • How to Delete Requests for Master Data Target

    In BW 7.0 (SP24) I'm struggling with a time dependent master data process chain load using BI 7 load methods (Transformation / DTP). The unique aspect of this is that we are required to start the process chain with an ABAP that deletes the master data. (RSDMDD_DELETE_BATCH). So a "Full" load is necessary. And we have to remove the previous PSA and Requests so that the DTP won't attempt to load (and ignore) the previous PSA.
    While deleting the previous PSA request is a straightforward operation in a process chain, there does not appear to be a function allowing us to delete the requests from a Master Data object. (info cube and OSD/DSO only).
    Does anyone know of an existing ABAP or Function Module that we can use to delete the existing requests from our object before we run our load processes ?
    Many thanks !

    Try the FM "RSDMD_DEL_MASTER_DATA".
    But before deleting the master data you have to make sure that this master data is not used anywhere i.e, delete all the transactional data first.
    U can also try RSDMD_DEL_PARALLELIZER

  • Need a table for analaysis data targets!!!!

    Hi,
    I need a table in BW/BI system which must have details of the infoproviders
    1) How often they are loaded ?
    2)  whether been used in reports?
    It is OK if the information is spread across multiple tables
    Thanks,
    Ravi

    Raj,
    Table with Report to CUbe/DSO linkage - RSRREPDIR
    Table with Load details - RSODSACTREQ , RSSTATMANPART , RSREQDONE
    Arun

Maybe you are looking for

  • Can't get Headphone and Mic to work with Skype

    Hello, I have a 3 year old Macbook Pro and I am running OS 10.8.3. I am trying to get my USB headphone and mic to work with Skype but I'm not having any success. I have tried several different headphones with the same result. I finally phoned Skype s

  • EM12cR2 - how to clean up old agent core directories after upgrade?

    Running EM12cR2+PSU1 on Linux x86-64. Does anybody know the recommended/supported/correct way to remove old versions of the EM12c agent core directories on managed servers after the agents have been upgraded to EM12cR2? This isn't a huge issue, but I

  • How can I write mathematical formulas?

    How can I write mathematical formulas? I tried tu use the formula editor of ms word with paste and copy but it didnt work, because the formula was not in line with the text.

  • Shutdown from LXDE

    I followed the wiki to enable shutdown on LXDE, but it is not working. I endabled HAL and DBUS. This makes the options appear, but when I press the buttons I get back the desktop. The wiki says to edit /etc/PolicyKit/PolicyKit.conf, but I can't see t

  • Support files in LabView 8.0 Executables

    I am using Lab View 8.0 to write a program and I have some suppot files such as JPG pictures, pdf files and (.wav) audio files that I use in the program. For Example: I have made a 'Help' button in the program. If the user clicks the button, in my bl