Custom name to output file of syndication

Hi
It may be a dumb question can we control the name of output file while using Syndication server. 
Regards
Bala Pochareddy

Hi,
No...You can not. May be you can try to use OS level commands to rename the file once it is placed in the folder.
Regards,
Rajani

Similar Messages

  • Is It possible to give custom name for output files in Bursting

    Hi ,
    I am using bursting for mailing the output and PDF files are coming with names such as xdo1_null.pdf can the name be changed to invoice.pdf ..etc
    Thanks in advance
    Best Regards,
    Mahesh

    sample file, you can use any name and append the xml data elements too...
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type ="bursting">
    <xapi:request select="/MODULE1/LIST_G_EMPNO/G_EMPNO">
    <xapi:delivery>
    <xapi:email id ="123" server="[email protected]" port="25"
    from="[email protected]" reply-to="[email protected]">
    <xapi:message id="123" to="[email protected]" cc="" attachment="true"
    content-type="text/html" subject="Purchase Order Number: ${EMPNO}">Please
    see attached Purchase Order File: ${EMPNO}</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="PO_${EMPNO}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="xdo://CUS.TEST_BURST_1.en.US/?getSource=true"
    filter=""></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Edited by: Sattti on Nov 2, 2008 8:26 PM

  • 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*******/

  • Change name of output file.

    Hello.
    I'm a new in PI.
    I have created communcation channel:
    adapter type: FILE.
    transport protocol: FTP
    then I defined target directory and file name scheme.
    In proccessing tab I choose Add Time Stamp. File was created in my directory, but with this name XXX20100618-153919-672.dat.
    Can I somehow change the name of file like
    XXX[ddmmyyyy][mmtt].dat
    Thanks a lot!
    Edited by: earnestik on Jun 22, 2010 6:49 AM

    > In proccessing tab I choose Add Time Stamp. File was created in my directory, but with this name XXX20100618-153919-672.dat.
    >
    When you select Add time stamp the output file name come like that only,so chnaging name to your desired format at cc level not possible.
    > Can I somehow change the name of file like
    XXX[ddmmyyyy][mmtt].dat
    Try with Dynamic Configuration UDF, in message mapping,then we can achieve this one easily.
    String filename=XXX;
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
    String timestamp = dateformat.format(new Date());
    String newfilename=fileName+timestamp+".dat";
    // change to new file name
    conf.put(key, newfilename);
    return "";
    some small changes required in above code, do it your slef,
    if you dont know how to use Dynamic Configuration UDF search in SDN.
    Regards,
    Raj

  • Diplaying segment name in output file using receiver FCC

    Hi,
    we have a idoc to file scenario. we are using FCC at the receiver. the flat file generated should have the segment names before the values .
    for example, if the structure is  something like this
    <root tag>
       <serment1>
          field1
          field2
       <segment2>
            field1
            field2
       <segment2>
               field1
               field2
    the output should be in the below format
    segment1   field1value,field2value
    segment2   field1value,field2value
    segment2   field1value,field2value
    can some one guide me how to achieve the same. Also if the segment repeats, in the output also it shoukld appear
    Best Regards
    Deepika

    In mapping, output structure, create an extra field at the beginning and
    map that field to a constant value same as the source segment name.
    In Receiver FCC, use following configuration.
       Recordset Structure:      segment1,segment2(specify all segments seperated by comma)
      segment1.fieldSeparator :   , (it is comma)
      segment1.endSeparator :'nl'
      segment2.fieldSeparator :   ,
      segment2.endSeparator :'nl'
    specify the same fieldSeparator and endSeperator for the other segments also

  • Report output file name

    Hi,
    i have created report in reports builder saved it as rdf file and running it from browser using desformat=spreadsheet&destype=cash
    everything works fine - dialog box pop up - open or save - when you click open - the ouput opens in MS Excel
    I need to change default name of output file "rwservlet.xls" to something else (of course not manually after each report run but set it somewhere in some parameters) - any idea how to do it?
    thanx in advance for any help
    Petr

    Hello,
    You can use a Servlet Filter to add the HTTP header "Content-Disposition"
    More details and examples in the note available on Metalink :
    Note.418366.1 How To Change The File Name In The "File Download" Dialog Box For Web Reports?:
    Regards

  • Sanitizing an input to create a valid output file name

    I have a function that creates an ACL permission table X levels deep given a root folder and how many levels you'd like to go. I want to name the output file based on the root folder given, but obviously file names can't have certain characters in them.
    How do I replace all "< > : " / \ | ? *" characters with
    underscores? 
    [email protected]

    If anyone cares, here's my final code:
    Function Get-FoldersToDepth {
    Param(
    [String]$Path = $PWD,
    [String]$Filter = "*",
    [Byte]$ToDepth = 255,
    [Byte]$CurrentDepth = 0,
    [Switch]$DebugMode
    $CurrentDepth++
    If ($DebugMode) { $DebugPreference = "Continue" }
    Get-ChildItem -Directory $Path | %{
    $_ | ?{ $_.Name -Like $Filter }
    If ($_.PsIsContainer) {
    If ($CurrentDepth -le $ToDepth) {
    # Callback to this function
    Get-FoldersToDepth -Path $_.FullName -Filter $Filter `
    -ToDepth $ToDepth -CurrentDepth $CurrentDepth
    } Else {
    Write-Debug $("Skipping GCI for Folder: $($_.FullName) " + `
    "(Why: Current depth $CurrentDepth vs limit depth $ToDepth)")
    $date = get-date -UFormat "%d.%m.%Y"
    $a = "<style>"
    $a = $a + "BODY{background-color: #F0F0F0;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: #D0D0D0;border-collapse: collapse;padding: 2px}"
    $a = $a + "TH{border-width: 1px;padding: 2px;border-style: solid;border-color: #D0D0D0;background-color: #BFFFFF}"
    $a = $a + "TD{border-width: 1px;padding: 2px;border-style: solid;border-color: #D0D0D0;background-color: #BFBFBF}"
    $a = $a + "</style>"
    Function CreatePermissionMap {
    Param(
    [string]$Path = $PWD,
    [string]$filter = "*",
    [Byte]$ToDepth = 255
    $folderprep = get-folderstodepth -path $path -ToDepth $ToDepth -filter $filter
    $folders = $folderprep.fullname
    $output = $path -replace '[<>:"/\\|?*]','_'
    ForEach ($folder in $folders)
    get-accesscontrolentry -InputObject $folder | select path, principal, AceType, AccessMaskDisplay, AppliesTo | ConvertTo-Html -Head $a -body "<H2>ACL entries for: $folder</H2>" | out-file -Append h:\powershell\temp\$output.$date.html
    I'm likely to spend the next 2 hours figuring out how to make all those tables line up
    [email protected]

  • Spool an output file to dynamic filename

    Hi.
    Let say I have an Oracle Script as following:
    spool c:\hms_report\HMS.xls
    SELECT
    field1||chr(9)||field2
    from table1;
    spool off
    exit
    Question:
    Currently the output file will be HMS.xls
    If I run the script thrice a day, the HMS.xls will be overwrite.
    Is there any way to name the output file to be HMS+sysdate ie: If I run the script on 05-Nov-2002 09:00,
    the output file name will be HMS051120020900.xls
    where 05 = dd
    11 = mm
    2002 = yyyy
    0900 = hhmi
    Thanks.

    Have you actually tried what you proposed below? I think not. And I don't see that working. Still, if you do succed like
    you have proposed, please tell me.This works, see this SQL*Plus session:
    SQL> column file_name new_value fname noprint
    SQL> select 'HMS'||TO_CHAR(SYSDATE, 'DDMONYYYYHH24MI')||'.xls' file_name from dual ;
    1 row selected.
    SQL> prompt &&fname
    HMS05NOV20020908.xls
    SQL> spool &&fname
    SQL> select sysdate from dual ;
    SYSDATE
    05-NOV-2002
    1 row selected.
    SQL> spool off
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    C:\TEMP\Test>dir
    Volume in drive C is Windows NT 4.0
    Volume Serial Number is F8F6-BE0C
    Directory of C:\TEMP\Test
    05-11-02  09:19a        <DIR>          .
    05-11-02  09:19a        <DIR>          ..
    05-11-02  09:19a                   378 HMS05NOV20020908.xls
    05-11-02  09:18a                   139 script.sql
                   4 File(s)            517 bytes
                                628,746,240 bytes free
    C:\TEMP\Test>type HMS05NOV20020908.xls
    SQL> select sysdate from dual ;
    SYSDATE
    05-NOV-2002
    1 row selected.
    SQL> spool off
    C:\TEMP\Test>

  • Output file in not a proper format

    Hello, My JAVA program generate an output file using FileWriter. The name of output file is output.dat (ie a NOTEPAD file). But when I open up the file it is not in proper format. All the text get clustered. But when I open the same file in MircoSoft Word its open with no problem. Is there any solution to this problem.
    bye

    Most text editors will accept '\n' alone as the line terminator. Notepad is an exception.
    Workarounds are:
    1. Write an '\r' immediately before each '\n'.
    2. Get a decent text editor.

  • Outgoing file name as incoming file name??

    Hi,
    I have a scenario FILE >XI>FILE.
    I need to write the outgoing file with the same name as the incomming file.
    For example the incomming file is abc.txt. The outgoing file from SAP should be abc.txt.
    Any SUGGESTIONS!!
    Regards
    Vijaya

    Hi,
    you have to create a module to the file receiver adapter that will insert the filename into the payload of the XML message
    sap note:
    819761 - XI 3.0 File Sender: Accessing source file name from a module
    then you can use <b>variable substitution</b> (from SP12)
    to name your output file
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    this is how you should do it:)
    Regards,
    michal

  • Rename output file for File Transport

    I am using ALSB 2.6.When I created file transport for detect file in C:/filein directory.I found that the name of output file didn't same as input file,example input-file = IgniteRB output-file = 6815685856805434446-1b555112.11a526f862f.-7fb0
    Please help me identify this problem? Thank you :)
    Edited by poommy105 at 06/04/2008 7:38 PM

    If you only need to change the name, then in your publish sub-actions, use the "Set Transport Headers" action. You should be able to check "Pass all Headers through Pipeline" and skip selecting the specific header.
    Or in the list for headers there is one for fileName.
    You can derive it from the source name using the $inbound variable, or select "copy from inbound".
    If you need to change the path (instead of business service value) then you can use URI setting in "Routing Options" action.

  • Require output file name same as input file without extension

    I am doing a POC where I require that my output file name should be same as input file name. The input is a XML and output is Flatfile. If I use %SourceFileName%,
    i am getting the output with extension. How can I remove the extension? Do I need to write a custom pipeline component?

    I don't think Orchestration or custom Pipeline can help you on this as  you are setting
    %SourceFileName% Macros at your send Handler which comes after Pipeline Processing .
    As you are converting xml file to Flat file I would suggest to use  Macros  as
    %SourceFileName%.txt 
    %SourceFileName% Macro gives the file name along with extention. This won't work!

  • XML Publisher - Specify Output file name

    Hi All
    I am using XML Publisher in one of our OAF pages to generate PDF reports based on some parameters. I am using the shared region which OAF has provided. On export, I see that the output file name is : template code + random number + _out.pdf. Is there anyway to specify custom output file name?? As this is little critical for me, any pointers would be greatly appreciated.
    Thanks in advance,
    Murari

    Hi Avaneesh,
    Thanks for your prompt response. I see that the logic for file name is in xml publisher utility class: DocumentHelper. I dont see any option to pass file name as a parameter to DocumentHelper. So I am not sure if extending OAF region controller : "DocumentViewerCO.java" would be of any help?? Please correct me if I am wrong. Did you ever try changing output file name from OAF page?
    Many thanks,
    Murari

  • How to find name of report if I know name of instance and location of instance in Output File Store

    Hello all,
    can somebody help me to find name of the report if I know name of report instance and also location of instance in Output File Store. It should be done via Query Builder.
    It is ...rpt file as output from Crystal Reports. I tried few commands in Query Builder but usually they finished with timeout error.
    Could you help me and send specific command? Or way how to change timeout of Query Builder?
    Thanks.
    matus

    Hello all,
    We finally found solution.
    We knew that file is located on path .../Output/a_145/009/002/133521/~ce10c.....9332.rtf
    This file has more than 2 GB. We tried to find which report is related and provide necessary actions.
    As I mentioned we still failed due to timeout error - There was an error retrieving data from the server: CMS operation timed out after 9 minutes.
    So we tried to use our testing environment. We started there QueryBuilder and there we successfully tested that we found details about files from FileStore /like Name of the report in Launch Pad, CUID, ...
    SELECT SI_NAME, SI_CUID, SI_FILES FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/a_148/020/000/5268/'
    or
    SELECT * FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/ a_148/020/000/5268/'
    Best regards,
    matus

  • Customized Seeded report to XMLP report but its not generating output file?

    I want to customize "Dunning Letter Print from Dunning Letter Generate" Report, which is called from "Dunning Letter Generate" Report
    Steps i followed to Customize reports are.
    1. Changed output format to xml for "Dunning Letter Print from Dunning Letter Generate" Report.
    2. Ran report to generate xml data and using xml data created RTF file
    3. Registered data definition and template with code and short name same which is ARDLP_NON_SRS
    Now while i am running report its completing normal, but its not generating output file giving Error like –
    "Unable to find Published Output for this request"
    “No Output File Exist for Request No - xxxxx”
    No Idea why its not picking template, Can anyone help me in this?
    Using:
    Oracle Applications : 10.0.5.2,
    MS Word 2007
    Thanks,

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

Maybe you are looking for

  • FM hangs on opening certain files

    Using FM8.0p277 on Windows XP SP3 I'm currently encountering problems with my installation of FM8.0p277 on Windows XP SP3. These are the symptoms: When I try to open certain existing FM documents (both structured and unstructed), the Windows hourglas

  • Dynamic Classpath Using ClassLoader

    Once you use the ClassLoader to change the Thread.currentThread().getContextClassLoader() classpath, is there a way to reset it back be the ClassLoader.getSystemClassLoader() classpath? I have a set of classes within an app that each need a separate

  • How is full the "valuated Quantity structure" in CKM3 transaction?

    Hello everyone! I need some help to understand how works the CKM3 transaction, specially the "Valuated Quantity Structure". I need to know where comes those data, in what table can I see the multilevel data that is display on CKM3?. I need the maximu

  • Errors found in burning

    I tried to burn a disk image and the burn failed because erors were found during multiplexing. I have never had this problem before. The process was neaarly finished when this happened. I have Plenty of free HD disk space I Ran Cache out I Repaired p

  • Display the main screen

    Hi, I'm new in ABAP Community. How do you display the main screen after execution without to pass by screen result? Thanks.