How to add variables in the file name in Reciever CC?

Hi all ,
I am working on a outbound interface .
in the reciever communication channel i have to gve the file name as
S<plant code >.<file name>.<timestamp > > 
example of filename:  u201CS141. SPPFE860. 20110421114559u201D (The plant code has to be the same used in the field STABEMT presents in the header).
now in the structure it is like
MT
   HEADER
         STABMENT
i am using tht Avanced tab in CC but am not able to understand what to gve in reference.
Can you please help???

heyy i could find the solution to it....so am closing the thread..thanksss

Similar Messages

  • How to use variables in logical file name definition FILE

    Hi Friends,
    How can I use variables in logical file name definition (tcode FILE). The requirement is to pass value in these variables (based on selection criteria), and use it as part of file name. You quick response will be highly appreciated.
    Thanks,
    Kuldeep Joshi

    Hi,
    Thanks for your reply.
    In detail, the scenario is like I have created an Open Hub. Its working fine. Now I am planning to execute this open hub using process chain and for that I have to define the file output on application server along with logical file name (using tcode FILE). The logical file name contains two variables (defined in FILE) i.e. z_dept and z_fiscperiod.
    Filter value in DTP ( I will read these values from Ztable using routine )
    Dept = R&D
    Fisc period = 004/2009
    Variables defined in tcode FILE:
    z_dept for Dept
    z_fiscperiod for Fiscal Period
    Logical file name : <z_dept>_<z_fiscperiod>.csv
    Now the challenge is to populate filter values in these two variables so that the filter value can be used for naming the output file.
    My last option is to read/update SAP standard table used for storing variable values (i.e. PARAMVALUE)
    Please let me know if you can help me in this issue OR is there any standard method/FM to populate value in these variables
    Thanks,
    Kuldeep

  • How to add increment number to file name properly

    Hi, all:
    I have a simple question. As shown in the attached code, I need to add an increment number to file name and save the file. The problem is, if you run the code and put something like ".dat" in the extension name, you will see a blank space between the number and the dot in the file name. What should I do to eliminate the blank space? I can't specify the format of the file name since the file name would vary from case to case.
    Thanks a lot for any suggestion and correction in advance.
    Attachments:
    temp.vi ‏11 KB

    Hi,
    Please take a look to the attached VI. I hope that I understood what you really want.
    I've replaced the Vi: Format into string with Number to Decimal String plus a Concatenate String. 
    Now, this is working for me, I don't get a space anymore.  If something is wrong, please let me know.
    Regards,
    Paul
    Attachments:
    temp_back.vi ‏11 KB

  • How to add Tooltip to the Iview name.

    hi all,
         I have to add tooltips to the iview name. When I bring the mouse over the iview
         name a message should display as the tooltip describing the purpose of the
         iview I am not able to found the tooltip option in the iview properties.
         Is there any coding involved for tooltips option or any other options available.
         Please guide me. Looking for the fast reply.
         Thanks in advance.
    Ponnusamy.P

    hi Deepti,
         When I gave the descripition, tool tip appears in the
         Content Admin -> Portal Content -> (Under the folder I have created the Iview).
         But the tool tips should appear in the iview when I display that iview to the end
         user.How to make that possible.
    Thanks
    Ponnusamy P

  • How to using variable in log file name on ODI 10.1.3.5?

    Hi,
    how can i put a my variable into my log file name?
    now I use this syntax --> ExRate_<%=odiRef.getSysDate("MMddyyHHmm")%>.log.
    But I have a variable for example #server, the value = "oracleProd" and i want to put the variable value into my log file name.
    so the result that i want to get is --> ExRate_oracleProd_<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    so how can I apply the variable value to my log file name? I try using odiRef.getSessionVarList(#Month) but it didn't work.
    Thanks.
    Regards,
    chris
    Edited by: 877142 on Aug 3, 2011 9:36 PM

    hi,
    You can by
    ExRate-#server-<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    Note that I have changed the underscores to dashes. This is because ODI will assume that this is a wildcard/escape character.
    Hope this helps!!
    Bos

  • When a group of files is selected, how can I copy just the file names?

    I used to be able to select a group of files in a finder window, copy, then paste the names in an email or document. It no longer allows this. Is there away around this other than copying each file name individually?

    I'm also at 10.5.4, just had forgotten to update my profile.
    One "gotcha" can be if the application, such as Mail, is actually able to DO something with the files. In the case of Mail, it can add the content of many sorts of files to the message, or add the files to a message as attachments. That's why the Clipboard will say the content is "text/items" since what will be pasted depends on the destination. This is relatively new in OS X--I remember being astonished when it first turned up.
    TextEdit, IF it is in Rich Text Format, can also handle a number of different sorts of files. If you want to use TextEdit as the "intermediate" destination to get a text list, be sure you go to the Format menu item, and select "Make Plain Text" before you paste. Actually, since I use TextEdit mainly for tasks, such as hand coding HTML, I have its default behavior to open all new windows in plain text, then if I actually want some formatting, I change it to Rich Text. In Rich Text it will accept pasting of all sorts of graphics files, so you see the jpeg, gif or png, you can even paste sound files in as actual sound files (and they'll play, too), plus the icons for folders and other files (such as PDFs).
    Francine
    Francine
    Schwieder

  • How to add shortcuts to the [File] Open dialog box?

    Is it possible to programatically add shortcuts to the dialog box that opens when you press the browse button attached to a file/path control? I'd like to be able to add to the list which includes, My Recent Documents, Desktop, My Documents, My Computer, My Network Places.

    Setting the Places bar on the Windows Common Dialog will require modifications to the registry. To change the Places bar, refer to this webpage on WindowsITPro:
    WinITPro: How can I edit the default Places bar quick links in Windows XP's and Windows 2000's Open...
    Then, you’ll want to look at the Write Configuration Settings File.vi (LabVIEW 7.1\examples\file\config.llb\Write Configuration Settings File.vi) for an example of how to write information to a configuration file using the configuration VIs.
    Best of luck!
    Hope this helps!

  • Audition adds _01 to the file names of my audio files

    .I record an input and give it a file name like My test audio. What I end up with is  My test audio_01.wav. Strange behaviour.

    GreyMatter2 wrote:
    I do remove them but when they are put into windows media player the _01 comes back after a short pause. This seems to be embeded into the file itself.
    No it's not, and no they don't 'magically' get renamed again unless a file of the same name already exists - which it might well.
    GreyMatter2 wrote:
    Can this FANTASTIC facility be tirned OFF.
    No it can't. Audition in multitrack mode is a direct-to-file recorder. You can't just record another file of the same name in the same place, because the OS wouldn't let you without a warning. If you wanted this as an option, then every time you tried to record another track, you'd get an OS message about an overwrite that you'd have to agree to - and that would be a PITA. So instead, when you try to do this, you get an automated addition to the end of your file, which at least lets you continue to work without interruption.
    So, it's like this for a good reason, and the reason that you can't turn it off is because of the way the OS is organised, not Audition. The only alternative would be to create a new sub-folder every time you hit record on a track. How much more mess is that going to cause?

  • I have a keynote presentation that i built a while ago. How do identify the file names of the video files that are in the presentation?

    I have a keynote presentation that i built a while ago. How do i now identify the file names of the video files that are in the presentation?

    With your presentation open, click on each movie element and read the name in the Metrics Inspector > File Info.

  • How to add current timestamp in file moving using "Odifilemove" in ODI

    Hi All,
    I am moving some files from one location to other and want to add timestamp in the file name while moving. I am using "Odifilemove".
    For ex. file name before moving is "abc. csv" it should move the file and name it like "abc<timestamp>.csv"
    Please suggest?
    Regards,
    Satish

    Here is a simple method.
    >
    SELECT TO_CHAR(SYSDATE,'DD_MM_YYYY_HH24_MI_SS') FROM DUAL
    >
    call the above query in refreshing tab and select any oracle schema in a variable and call the variable get_timestamp ( please change the name as per your need )
    In the package
    Step1 . Refresh the above variable - get_timestamp
    Step2 . In the OdiFileMove , target file will be abc_#get_timestamp.csv
    Lets me know if you need more help

  • How to add page count of PDF to the file name?

    I need help with an applescript that can look at a pdf, determine the page count in file and then add that value to the end of the file name in front of the .pdf
    ex.
    original name "map with pages4c.pdf"
    renamed "map with pages4c_48.pdf"
    Any help would be appreciated or suggestions on how this could be done.
    Thanks,
    John

    Hello
    That's quite simple.
    Just replace this chunk of code -
    tell application "Finder"
    set n to f's name
    set f's name to (n's text 1 thru -5) & "_" & p & ".pdf"
    end tell
    with -
    if 10 > p then set p to "0" & p
    tell application "Finder"
    set n to f's name
    set f's name to (n's text 1 thru -5) & "_" & p & ".pdf"
    end tell
    By the way, if there are 10000 files in directory tree, I'm afraid Finder is too slow to get files list. In order to avoid Apple Events timeout error, at least, replace this line -
    tell o to run
    with -
    with timeout of 3600 seconds
    tell o to run
    end timeout
    Or try the following script, which employs find(1) instead of Finder to get files list.
    All the best,
    Hiroto
    --SCRIPT3
    on run
    --main((choose folder with multiple selections allowed) as list)
    main((choose folder) as list)
    end run
    on open aa
    main(aa)
    end open
    on main(aa)
    (* list aa : list of folder aliases *)
    script o
    property ff : {}
    -- confirmation for safety
    set AppleScript's text item delimiters to {ASCII character 0}
    set aa to (aa as Unicode text)'s text items
    set AppleScript's text item delimiters to {""}
    set aa to (choose from list aa default items aa ¬
    with prompt ("You're renaming pdf files in following folder tree(s).") ¬
    with multiple selections allowed)
    if aa = false then error number -128
    -- process each folder
    set k to 0
    repeat with a in aa
    set a to a as alias
    -- get pdf files' POSIX path list (= ff)
    set ff to {}
    set sh to "find " & quoted form of POSIX path of a & " -type f -name \"*.pdf\" -print"
    try
    set t to (do shell script sh)
    on error
    set t to ""
    end try
    set px to count t's paragraphs
    set p0 to 1
    repeat -- in order to avoid stack overflow in getting large number of paragraphs at once
    set p1 to p0 + 3500
    if p1 ≥ px then set p1 to -1
    set ff to my ff & t's paragraphs p0 thru p1
    if p1 = -1 then exit repeat
    set p0 to p1 + 1
    end repeat
    if ff = {""} then set ff to {}
    -- process each pdf file
    repeat with f in my ff
    set f to f as POSIX file as alias
    tell application "Adobe Acrobat 7.0 Professional"
    --open f
    open f with invisible
    tell document 1
    set p to count pages
    close
    end tell
    end tell
    if 10 > p then set p to "0" & p
    tell application "Finder"
    set n to f's name
    set f's name to (n's text 1 thru -5) & "_" & p & ".pdf"
    end tell
    set k to k + 1
    end repeat
    end repeat
    -- decent notice
    tell application (path to frontmost application as string)
    display dialog ("Total of " & k & " pdf file(s) renamed successfully.") ¬
    with icon 1 giving up after 5
    end tell
    end script
    with timeout of 3600 seconds -- just in case
    tell o to run
    end timeout
    end main
    --END OF SCRIPT3
    Message was edited by: Hiroto (fixed typos)

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • How can i add a file name(the text of the file name) as a child node to existing node in a treeView1 ?

    bool exists = false;
    TreeNode newNodeParsed = null;
    TreeNode rootNode = treeViewMS1.Nodes[0];
    TreeNode nextNode = rootNode;
    string f = Path.GetFileName(txtUploadFile.Text);
    TreeNode subnode = new TreeNode(txtDir.Text);
    TreeNode filename = new TreeNode(f);
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    The rootNode is the root directory in the treeView1
    subnode is a node inside the root. For example the subnode name is manuelisback
    I'm checking if the subnode exist i want to add the file for example (lightning1.jpg) to be under subnode.
    If the subnode is not existing add the subnode to the root and then add the file name lightning1.jpg under the subnode.
    But the file name is never added under the subnode:
    I added manualy the lightning1.jpg under test.
    But the lightning1.jpg also should be added to be under manuelisback. There should be two lightning1.jpg here.
    One under manuelisback and one under test. The one under test i added manualy from my ftp server.
    But the one i want to be under manuelisback i'm trying to add from my program and it dosen't add it to there.
    And when i'm using a breakpoint i see on subnode the text manuelisback and i see on f the text lightning1.jpg

    If I understand your question correctly, you might want to try changing:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    to something like:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    subnode = node;
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    rootNode.Nodes.Add(f);
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • How to store the File Name from a Unix Directory into a ODI variable?

    Hi,
    I have built a ODI package with the following steps:
    1. ODI is polling for a flat file in a Unix directory. I have used OdiFileWait tool for this purpose. Here the file name is not fixed, so I am using wild character (*) to poll for file. Example: DF*ABC1*.DAT where the first wild character denotes 1 letter and the second wild character denotes 2 digits.
    2. In the second step, if the file is found, I am moving the file to ODI file server path (../oracledi/demo/file). Here I have used ODIFileMove tool.
    3. Then I am using an ODI Interface to Load the file data into a Oracle database table.
    4. I am using a Process log table to keep the log for each step I am executing in ODI that is ODIFileWait, ODIFileMove, Interface etc. for each file. In this table a row needs to be inserted after ODIFileWait tool gets the file, with the File Name and File Date. Later on this row will be updated as the consequent steps are executed.
    Here is my concern, I need to get the exact File Name of the file after ODIFileWait gets the file and I need to insert that in the Process Log table after the ODIFileWait step gets a file. So if I can store the File Name in a ODI Variable, I can insert it into the Process log table at this point. This I am not able to do.
    The files are coming in a different directory (not in ODI file server path), So after getting the file it is moved to ODI file server path (../oracledi/demo/file)
    The Files which I am processing are fixed length format. Also, the File name and File Date is stored in the 1st Record(Header record) of the files.
    Kindly provide me suggestions to implement this in my code.
    Thanks and Regards,
    Anik
    Edited by: 809820 on Nov 10, 2010 11:36 PM

    Look at this link -http://odiexperts.com/getting-one-or-several-unknown-files-from-a-directory
    change the command to fetch the ls command and write into File and then using either java or jython break the data and fetch the file name and date and insert into log table.
    (or)
    you can use the os.system command and get the complete ls command into string and then process and insert it.
    Let us know if you need any other help.

  • How do you add the files name to images within a PDF

    I have been searching the web trying to find an answer to this question, I am not sure what the proper term is called, but I refer to it as a 'coded pdf'. Hopefully someone knows what I am talking about and can help me find an answer!
    The end product is a coded PDF that has the file name of all the images lableled on top the image. For example, a product brochure that has 500 images, all of them would be 'coded' with their file name, to find easy in source files. - Is this an export option in InDesign, or an option somewhere in Acrobat?
    Thank you in advance for any help.
    -Melissa

    No, Melissa's asking for a filename that's searchable - text made of pixels is no use.
    Acrobat cannot apply the original image filenames after the PDF has been created as it can't read the information from anywhere. You have two options, both in InDesign:
    use smart captions to add the name of the file in a visible format beside each image.
    use accessibility tagging and place the image filename in the ALT TEXT field, then export the PDF with tags enabled (the filename will not be visible on the page but will show if you hover your mouse over the image).

Maybe you are looking for

  • Has anyone had issues with the calendar dropping appointments?

    Has anyone had issues with the calendar dropping appointments? 

  • Stop Cover Flow from enlarging?

    Hi, Is there a way to disable Cover Flow from enlarging the view when you click and drag or expand the window in the Finder? I'd rather expand the list of items and keep the Cover Flow icons the same size. Thanks for any help you can provide.

  • Doing adjustment for FG material using MI10

    Hi Guru's, We just did our year end count SAP and also physical count. We come to our knowledge that some of our FG materials still have physical stock but 0 already in SAP. (nothing). Now were trying to adjust the stock in SAP and were trying to do

  • Issue while updating vacancy details through 'RH_UPDATE_DATABASE'

    Hi, i am trying to update the vacancy details through a Zprogram. This zprogram updates the infotype 1007 correctly which is done by: CALL FUNCTION 'RH_INSERT_INFTY'     EXPORTING       fcode               = 'INSE'       vtask               = 'B'    

  • Create Widget Test Reports.vi

    Someone please Help!! Please see the attached file. Download that file and see how it works. I am developing an application similar to the same example,however, I want to append more data to the word document. Also, I want to format it the same way a