How to pass the local file name to the workflow in TC OAWD

Hi everybody!
I have to pass the local file name of the image as a parameter to a workflow in TC OAWD.
By debugging I found the FM which starts the workflow -  'ARCHIV_PROCESS_FAXINPUT' . It has two importing parameters : FRONTENDPATH and BASICFILENAME, but they are not used by calling the FM.
Do you have an idea if there is a DDIC table, which contains the local file name or another way to solve the issue.
Thank you in advance.

Hi,
Not sure of what you want.
Have a look at v$session view. Machine column is maybe what you're looking for.
If you want to retrieve the local host executing remote desktop, it's actually not possible natievely, since it's still remote host that is connecting to the database.
Hope it helps.

Similar Messages

  • Pass the text file name to the command prompt using servlet

    hi to all,
    I have a HTML page that takes the user inputs. Once the user clicks on the submit button on the HTML page, these values will be capture by a servlet and then store into a text file. A new text file is generated each time the user clicks on the submit button.
    Now, i need to call a command prompt window and then pass the text file name to another program for execution. Any idea how i can pass the text file name to the command prompt???
    Thanx a lot....
    kinki

    hi, thanx 4 ur reply.
    But i not onli want to display the file name on the Tomcat command prompt. I must also able to call up a program to execute the command. If i used System.out.println(); it onli display the value on the console windows. But not executing it... anyway where i can do it???.
    thanx...
    Kinki

  • Urgent, SOS for help: How to show the pdf file name at the right bottow of the page?

    I want to show the pdf file name at the right bottow of the page for filing purpose, anybody knows anything?
    I know it can be showed at the left bottom through adobe printer, but i need it to be at the right bottom.
    thanks.

    The result is a UIWebView that displays a blank page. No errors occur in the UIWebView delegate method. The thing is that data has the correct length, in bytes, for the PDF I am trying to display, and I also get the pdf file in Library/Application Support/iPhone Simulator/4.3.2/Applications/ Does anyone have an idea as to what might be going wrong here or how I can better debug this problem?

  • UDF to capture the source file name or the source folder for mapping

    Hi All,
    i have 2 files -  File1 from File2 from 2 different folders- single comm channel FTP (FCC). i have to pass a constant A and B respectively to a field in target structure.
    my options are -
    either create a new field in source str populating different constants and  then map to the target str
    or a udf to get the source file name or the source folder so that i can map the constant using the value mapping/FixValue mapping.
    please suggest. thanks.
    rajib

    Hi,
    please use the UDF to determine the file name. Then based on file name either pass A or B to your target field.
    The code is as given below. Just tweak the code to pass either A or B as per your requirement.
    public String G_GetFileName(Container container) throws StreamTransformationException{
    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; 
    Regards,
    Deepak.

  • Changing of the physical file name of the file after archiving

    Hi all,
    We are in process of archiving  and  completed the process successfully and archived to o:\PRODSID\<filename>.
    When refresh   is happening from Prod to Quality   the archived data will come as O:\PRODSID\<filename> and the archived files will not be accessible since quality system  is not able to find the path with O:\PRODSID\<filename>.
    Is there anyway i can change the physical file name  of the archived files to correct path O:\QUALITYSID\<filename>, i need to change only the SID  only    from PRD to QUALITY.
    Thanks,
    Subhash.G

    Hi Subash,
    Do you want change the Physical File name or the Path from PROD to SID.
    Path :- in the transaction called FILE, double click on Logical Path Definition , select the Logical File and double click on "Assignment on Physical Path to Logical Path" and you can change FILENAME also here
    Thanks,
    Sravanthi

  • Appending multiple *.csv files while retaining the original file name in the first column

    Hi guys it's been awhile.
    I'm trying to append multiple *.csv files while retaining the original file name in the first column, the actual data set is about 40 files.
    file a.csv contains:
    1, line one in a.csv
    2, line two in a.csv
    file b.csv contains:
    1, line one in b.csv
    2, line two in b.csv
    output.csv result is this:
    I would like this:
    a.csv, 1, line one in a.csv
    a.csv, 2, line two in a.csv
    b.csv, 1, line one in b.csv
    b.csv, 2, line two in b.csv
    Any suggestions to speed up my hobbling attempts would be aprieciated
    Thanks,
    -SS
    Solved!
    Go to Solution.

    What you could do is given in the attachment.
    Started with 2 files :
    a.csv
    copy of a.csv
    Both with data :
    1;1.123
    2;2.234
    3;3.345
    Output :
    a.csv;1;1.123
    a.csv;2;2.234
    a.csv;3;3.345
    Copy of a.csv;1;1.123
    Copy of a.csv;2;2.234
    Copy of a.csv;3;3.345
    If you have more questions, just shoot
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012
    Attachments:
    AppendingCSV.JPG ‏73 KB

  • Error: Enter either the physical file name or the logical file name

    Hi Expert,
    I have error: Enter either the physical file name or the logical file name, when upload BP with external data transfer.
    My Step:
    1. Define Sender Structure
    2. Define Transfer Rules
    3. Start Transfer
    When execute step 3, there's displaying error:  Enter either the physical file name or the logical file name
    Can you help my problem?
    Any document/link for upload BP with external data transfer.
    Thanks and Regards,

    Hi,
    See thread: [CO-PA External Data Transfer|CO-PA External Data Transfer]
    Regards
    Leon

  • Mail to File - how to read the attachment file name from the subject.

    I need to use the SHeaderSUBJECT's value in the receiver file adapter's variable substitution.
    This is a Mail to File scenario without design part where the attachment file name comes in the subject of the mail.
    I see the below in the dynamicconfiguration section. How can i retrive the value from dynamicconfiguration section to the filename.
    <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderSUBJECT">PlainAttachment.txt</SAP:Record>
    </SAP:DynamicConfiguration>
    Points will be rewarded.

    Try to use sthg like this in a UDF :
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(“http://sap.com/xi/XI/System/Mail”,“SHeaderSUBJECT”);
    String value = conf.get(key);
    or in a JAVA mapping :
    DynamicConfiguration dynConf = (DynamicConfiguration) param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey dynKey = DynamicConfigurationKey.create((“http://sap.com/xi/XI/System/Mail”,“SHeaderSUBJECT”);
    String keyValue = dynConf.get(dynKey);
    param is the map object from the execute() method of your mapping ...
    Hope this helps
    Chris
    Edited by: Christophe PFERTZEL on Apr 23, 2008 11:34 AM

  • How do i map from file name to the device it resides on

    hi
    i need to find a way to map from a file name to the disk device it resides on( so i can do ioctl to that device ).
    i know that stat(2) returns a dev_t value, but i don't know how to translate from that dev_t to the device name( e.g. /dev/dsk/c0d0... )
    THANKS
    Gabriel

    thanks for the reply,
    i'm using a similar mechnisem on linux - using getmntent(3) to find the longest prefix of the filename realpath(3).
    i was actually looking for a mechnisem similar to the devname(2) syscall on the BSD os. with this call the kernel do all the work for you simply by mapping from dev_t( which the kernel stored in the indoe) to the device name by keeping a simple mapping table.
    if this mechinsem doesn't exists i will have to (eventually) duplicate the kernel work(namei) and create my own mapping.
    THX
    gabriel

  • How write the Outbound file name in the Inbound file

    Friends,
    I have a scenario like this.
    Outbout filename - sample.txt
    In sample.txt, i have having data like 20
    Inbound filename - vivek.txt
    i need data the like sample, 20
    (NOTE: sample is the outbound file)
    How to get this scenario.
    Thanks in advance.
    regards,
    Vivek.

    Hi Vivek,
      If your PI is of SP14 and more you have an option called Adapter Specific Message Attributes.(ASMA) in communicatoin channel configurtaion, Which will help you in capturing the Sender file name during runtime.
    So you will have to enable that option (ASMA) in Commchannel and capture file name  in UDF using Java Code with the help of sap related API and map it to the target field which u would like to get populated.
    follow the thread it has the discussion about acessing the Source file name.
       Re: Getting file directory using dynamic configuration:Code needed
    Thanks,
    Ram.

  • How can I hide the picture file name in the aperture album?

    Hello everyone, could anybody give me a help here?
    I made a book with black background and the picture file name was printed white in the book. How can I get it hide, without having to go one by one deleting it?

    How can I get it hide, without having to go one by one deleting it?
    That will depend on the book theme you are using. With some of the themes the filename is an integral part of the metadata displayed with the images. In that case you would need to create a new custom master page design without the metadata textbox and replace the master of all your pages (see: http://documentation.apple.com/en/aperture/usermanual/#chapter=24%26section=13), or simply change the book theme to a theme without filenames (but that may cause some texts to vanish, so try that only on a copy of your book).

  • How to retreive the dynamic file name in the AAE configuration?

    Hi Guys,
    I have configured File to File with the integrated configuration and in the mapping i need to retreive the file name dynamically and i am unable to retreive it from the run time in AAE configuration. I am able to retreive with the normal configuration where integration engine is the run time.
    I am using the code as below.  Is it possible to retreive the file name dynamically in the AAE configuration? any help or suggestions would be appreciated.
    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;
    Thanks,
    Srini

    Hello Srinivas,
    Brief Solution:
    1. Using dynamic configuration, set the attribute value of payload dynamically to ASMA
    2. Using AF module, write the value of ASMA in a variable
    3. Using the variable substitution, set the receiver file name schema
    Plz go through the below link:
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    Thanks,
    Satya Kumar

  • Recently opening an HTML file on my computer makes firefox attempt a search for the entire file name in the search engine online, how to do i correct that?

    when opening an HTML file recently my Firefox automatically opens up a yahoo search screen and the file, the entire file name and route for the file is searched for online. I don't even use Yahoo Search i use Google but that doesn't mater have to open the file manually with searching it on on the open screen to read it because it's trying to search for it online instead of reading it from where i clicked on it.
    I.E.
    file:///F:/Reading/II.html
    would try to search
    https://us.search.yahoo.com/yhs/search?hspart=aztec&hsimp=yhs-default&type=derr_100_476&p=file%3A%2F%2F%2FF%3A%2FReading%2Fhtml&rnd=737753354&param1=sid%3D476%3Aaid%3D100%3Aver%3D15005%3Atm%3D264%3Asrc%3Dderr%3Alng%3Den%3Aitype%3Da%3Auip%3D1124173343
    I have no idea what the
    &rnd=737753354&param1=sid%3D476%3Aaid%3D100%3Aver%3D15005%3Atm%3D264%3Asrc%3Dderr%3Alng%3Den%3Aitype%3Da%3Auip%3D1124173343
    is for but it's never done this before.

    Please read this article about restoring bookmarks:
    http://kb.mozillazine.org/Lost_bookmarks
    As far as your passwords are concerned, I don't think there's anything you can do. But for the future, you can use the following add-ons to avoid any future loss:
    https://addons.mozilla.org/en-US/firefox/addon/2848/
    or
    http://www.xmarks.com/
    Both are good.
    And a simple way to import your bookmarks (since you already saved it on your desktop as html) is:
    Bookmarks / Organized Bookmarks / Import and Export
    Good luck.

  • Accessing the sender file name in the response email

    Hi,
    I have an asynchronous proxy scenario wherein I am calling an outbound proxy within an inbound proxy.
    Basically a file is sent from an external partner and response is sent back to them if there are any errors. Also email notification will be sent and that email should include the sender file name so that they can know which file is erroneous and can resend that file after making changes. Any help will be appreciated.
    Many Thanks.

    Hi,
    Have a look just two threads below yours !!
    File recr Adapter : How to set target directory based on sender interface ?
    See "Adapter-Specific Message Attributes" for a Sender File Adapter
    http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm
    I suppose your flow is:
    1. File -> PI -> proxy_req     (request)
    2. proxy_resp -> PI -> Mail   (response)
    Thanks to "Adapter-Specific Message Attributes" ofr a Sender File Adapter, you will be able to store filename in DynamicConfiguration and then you will able to use a UdF to catch the source file and provide it somewhere in your proxy_req.
    After for the returned flow "2. proxy_resp -> PI -> Mail   (response)", your proxy_resp has to returned to PI the filename providen with the 1st step.
    And then, In PI you will be able to send by email the source filename.
    Regards.
    Mickael

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

Maybe you are looking for