Passing/acquiring current username and timestamp to transaction

hello.
i have a transaction that is writing the final result to a file.  instead of having a static file name, i'd like a dynamic filename including the current username and timestamp.  do i have to pass these values to the transaction or can I simply determine them somehow during the transaction and assign them to the path object of the write_file action block?
please note i am running Lighthammer and NOT xMII.

To explain what Jamie has already said :
Go to : Data Services -> Data Servers.
Select <b>XacuteConnector</b> from the Server list.
Check <b>Autobind</b> if not already checked.
Now create a BLS Transaction with Transaction Property with the name <b>"IllumLoginName"</b>. For this you'll need to Transaction -> Properties in the BLS Editor.
Now in the WriteFile action block set path as "<your drive>:
<your directory path>
" & Transaction.IllumLoginName & "-" & datenow & ".txt"
Hope that solves your query.

Similar Messages

  • Getting current date and timestamp for timezone

    I am getting the current date and timestamp using
    Date d = new Date();
    On the platform I'm using it is returning it in GMT time.
    I want to convert this into Eastern Time Zone for United Status.

    java.util.Date objects contain a count of milliseconds since the "epoch", which happens to be midnight, Jan 1 1970 GMT. However, they aren't intrinsically "in" any timezone.
    If you simply call Date.toString(), you'll get the date formatted for the current locale, including timezone.
    If you want a different format, you can use the DateFormat or SimpleDateFormat classes (recommended), or use Calendar to pull the various date components out. You have to physically set the timezone for each of these.
    To get a list of timezones supported by your machine, you can run this program:
    import java.util.Arrays;
    import java.util.TimeZone;
    public class TZDump
        public static void main(String[] argv)
        throws Exception
            String[] zones = TimeZone.getAvailableIDs();
            Arrays.sort(zones);
            for (int ii = 0 ; ii < zones.length ; ii++)
                System.out.println(zones[ii]);
    }And, here's a program that lets you compare the same date in different timezones:
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.TimeZone;
    public class TZDemo
        public static void main(String[] argv)
        throws Exception
            SimpleDateFormat fmt = new SimpleDateFormat("MM/dd/yy HH:mm:ss");
            Date now = new Date();
            System.out.println("Default TZ = " + fmt.format(now));
            String[] zones = new String[] { "EST", "EST5EDT", "PST"};
            for (int ii = 0 ; ii < zones.length ; ii++)
                fmt.setTimeZone(TimeZone.getTimeZone(zones[ii]));
                System.out.println("EST        = " + fmt.format(now));
    }

  • When i download/install firefox, it Extracts then i get a window saying "Run As" and i click my current username and it closes and nothing happens

    http://i51.tinypic.com/2wq4jyr.png
    i have Windows 7
    i tried to remove all firefox components and install,still didnt work

    To help other users find solutions, please return to this Thread and '''Sign-in''' to the forum with your Username and Password:
    click on '''"Solved It"''' next to the reply ABOVE that '''BEST''' solved your question
    '''DO NOT click "Solved It" next to this reply

  • I want to change my Apple ID. When doing so and after having entered my current username and password it asks me for two security questions. I am not entering these correctly (thought I was). How can I proceed?

    NNeed to change Apple ID but can't remember security question answers

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, then sign back in with the other ID.  When you delete the account it will prompt you about what to do with the iCloud data.  If you need to migrate it and merge it with the data in the new account choose Keep on My iDevice; then choose Merge to upload the data and merge it with the new account.  If your data is already in the other account and you don't need to migrate it to the other account, choose Delete from My iDevice.

  • Transaction Launcher: Avoid log on Authentication or bypass by defaulting a generic username and password

    Dear Mates,
    Please find the requirement below,
    Due to limited users in ECC system, When launching an ECC transaction from CRM Web UI using Transaction Launcher functionality, the framework is prompting to enter user name and password. Now I need to either avoid user authentication or bypass by defaulting a generic username and password.
    I tried passing sap user id and password in ITS URL, but not no luck
    Could any one share their valuable comments on this issue?
    Thanks,
    Raja

    Hi Raja,
    please have have a look at the following thread: Default User Name and Password for ECC Transaction
    It seems to describe exactly your scenarios. The solution proposed there by zafar karnalkar is to set the default username and password in transaction launcher URL in transaction CRMS_IC_CROSS_SYS. The URL parameters necessary for this are:
    sap-user= username
    sap-password = password.
    Best,
    Christian

  • Trying to pass Login username and password from a non-Oracle Form

    I have a form that I am trying to use to pass a login username and password to an Oracle form. The problem is I know Oracle 10g web reports can take login parameters in a URL, but I can't seem to figure out how to encode/hide it and have Oracle read it. I want to be able to hide the username and password (obviously for security) and I also want to be able to pass special characters... does anyone have suggestions? It seems even in Oracle forms there are some issues passing login info because I have built in parameter forms... I have given myself quite a headache either way! We are trying to upgrade from an old, old version of forms and reports and are trying to use as much orginal code as possible. It all works if I pass plain text user name and password... any help would be sooooo appreciated. By the way on the Oracle side I am still pretty much an infant developer... please talk slow and use simple words... ;-p
    Thanks again for any help!
    Va

    ...asking me to enter username and password on a non-secured website, or else thy will destroy my account. Is it legit ?
    It is definitely a scam.  Delete it immediately.
    For more information, see this document:
    Identifying fraudulent "phishing" email

  • Dynamically pass the username and password to report server to invoke reports

    Hi
    The scenario is as follows:-
    9iAS is installed under - Windows 2000 (web server and report Server 6i) and everything works fine.
    We have developed a page using pl/sql cartrige (oracle 8i), from that a report is invoked with some parameters. However, the userid and password is stored under keymap file (cgicmd.dat).
    Is there anyway to pass dynamically the username and password to report server in order to invoke the report.?
    Can any one advise?
    null

    Check out
    http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Fetch current Quarter and pass it to custom query

    Hi
    I need to pass the current date and find the quarter in which the date falls.
    The start and end date of the quarter need to be passed as a query parameter, in a custom query in UI designer.
    My query is as follows
    As shown in above screenshot,I have close_dt_upd(datatype Date).This field should have end date of the quarter as a condition.
    Similarly I will have a field start_date which should have Start date of the quarter as condition.
    I got the following table in 1402 documentation.
    But the above transformation rule is not visible in  the query.
    Can anyone tell which namespace to use?
    How can I retrieve the current quarter start and end dates, and then pass them  to the above query?
    Thanks,
    Vijaya Chavan

    Hi,
    the most easiest and straight forward approach is
    - Ckick the "Binding" tab at the bottom of the Visual Editor
    - In the Bindings section click teh green plus icon and choose Generic Bindings | Attribute Value
    - point the iterator selection to the iterator used by the table
    - choose the column's attribute name from the list of attributes
    - Create a method on the ApplicatioNModule IMPL class (should take single argument)
    - expose it as a client interfaces so it shows in the Data Controls panel
    - In the "Binding" tab, create a method binding for this exposed method
    - point the method binding argument to #{bindings.column-attribute-name.inptValue}
    So whenever you need to pass the value on to the AM, you just call the method binding
    OperationBinding oper = (OperationBinding) bindings.get("name of method");
    oper.execute();
    Frank

  • Sending prixy username and pass

    this code works fine without a proxy, however i can figuer out how to get it to work when behind a proxy, i tried some different things to pass the proxy username and password(the commented out code) but those did work, can anyone help with this? cause im lost as to how to send the proxy credentials to get outside to the net
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ReadServerFile extends JFrame {
    private JTextField enter;
    private JEditorPane contents;
    public ReadServerFile(){
    super ("Rage");
    System.getProperties().put("proxySet","true");
    System.getProperties().put("proxyPort","80");
    System.getProperties().put("proxyHost","90.8.0.5");
    //need to set the username and password
    //System.setProperty("http.proxyUser","sservices/proglab30");
    //System.setProperty("http.proxyPassword","proglab30");
    //Authenticator.setDefault(new Authenticator()
    // protected PasswordAuthentication getPasswordAuthentication()
    //   return new PasswordAuthentication("proglab30","proglab30".toCharArray());
    Container c = getContentPane();
    enter = new JTextField("http://www.google.com/");
    enter.addActionListener(new ActionListener()
    {public void actionPerformed (ActionEvent e)
    {getThePage(e.getActionCommand());}});
    c.add( enter, BorderLayout.NORTH);
    contents = new JEditorPane();
    contents.setEditable(false);
    contents.addHyperlinkListener(
    new HyperlinkListener(){
    public void hyperlinkUpdate(HyperlinkEvent e)
        if (e.getEventType()==
        HyperlinkEvent.EventType.ACTIVATED)
        getThePage(e.getURL().toString());}});
    c.add(new JScrollPane(contents), BorderLayout.CENTER);
    setSize(400,300);
    show();
    private void getThePage(String location)
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    try {
    contents.setPage(location);
    enter.setText(location);
    catch(IOException io)
      JOptionPane.showMessageDialog(this,"Error getting URL","Bad URL",JOptionPane.ERROR_MESSAGE);
    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    public static void main (String args[])
      ReadServerFile app= new ReadServerFile();
      app.addWindowListener(new WindowAdapter(){
        public void windowClosing(WindowEvent e)
          System.exit(0);
    }

    hi
    Here is an example of a typical WEB.SHOW_DOCUMENT call with a hard-coded URL:
    WEB.SHOW_DOCUMENT ('http://www.oracle.com', '_blank');
    Here is an example of a WEB.SHOW_DOCUMENT call with a hard-coded URL, but
    launched with Java Script. The resulting browser will have its menu,
    toolbar, and status bar hidden:
    WEB.SHOW_DOCUMENT ('javascript:window.open("'TARGET=_blank>
    http://www.startwithoracle.com","", "fullscreen=no,titlebar=no,location=no,
    toolbar=no,menubar=no, status=no,resizable=yes");self.close()','_blank');
    Here is an example of a WEB.SHOW_DOCUMENT call which uses a variable t
    o create the URL. It will be launched with Java Script and the resulting
    browser will have its menu, toolbar, and status bar hidden:
    Declare
    v_URLin varchar2(255);
    v_URLout varchar2(255);
    Begin
    v_URLin := :block.item;
    v_URLout := 'javascript:window.open("'|| v_URLin || '","","fullscreen=no,
    titlebar=no,location=no,toolbar=no,menubar=no, status=no, resizable=yes");self.close()';
    WEB.SHOW_DOCUMENT (v_URLout, '_blank');
    End;
    Rizwan

  • Reporting Services username and password prompting

    We have several branch office locations and one reporting services server. All of the branch office locations can access the reporting services server, but we have one location for the passed week, each time they make a connection to this server, it prompts
    them for a username and password and will not allow them to connect even if the correct username and password is correct.
    I have tried adding the server to the IE intranet/trusted site list. Set IE security on all zones to automatically logon with current username and password.
    What is strange is that this is the only branch office site that is having this issue. It is almost like kerberos is broken for this site location only.
    DOes anyone has any suggestions what could be causing this problem for all computers in this one location. Nothing has changed on their local servers nor have we pushed any updates to the machines.

    Hi bubba1984,
    As per my understanding, I think this issue is caused by Kerberos authentication. Kerberos is an authentication protocol that allows clients that create authentication tokens to associate a specific destination to that token. In the failure case, there is
    a mismatch between the destination specified in the token and the report server process configuration. Due to this mismatch, the underlying Kerberos authentication scheme supported by Windows prevents report server from authenticating the user.
    To fix this issue, please try to remove RSWindowsNegotiate and ensure RSWindowsNTLM is specified in the rsreportserver.config file. For more details, please take the following article as reference:
    http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Browser need proxy username and password

    this code works fine without a proxy, however i can figuer out how to get it to work when behind a proxy, i tried some different things to pass the proxy username and password(the commented out code) but those did work, can anyone help with this? cause im lost as to how to send the proxy credentials to get outside to the net
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ReadServerFile extends JFrame {
    private JTextField enter;
    private JEditorPane contents;
    public ReadServerFile(){
    super ("Rage");
    System.getProperties().put("proxySet","true");
    System.getProperties().put("proxyPort","80");
    System.getProperties().put("proxyHost","90.8.0.5");
    //need to set the username and password
    //System.setProperty("http.proxyUser","sservices/proglab30");
    //System.setProperty("http.proxyPassword","proglab30");
    //Authenticator.setDefault(new Authenticator()
    // protected PasswordAuthentication getPasswordAuthentication()
    //   return new PasswordAuthentication("proglab30","proglab30".toCharArray());
    Container c = getContentPane();
    enter = new JTextField("http://www.google.com/");
    enter.addActionListener(new ActionListener()
    {public void actionPerformed (ActionEvent e)
    {getThePage(e.getActionCommand());}});
    c.add( enter, BorderLayout.NORTH);
    contents = new JEditorPane();
    contents.setEditable(false);
    contents.addHyperlinkListener(
    new HyperlinkListener(){
    public void hyperlinkUpdate(HyperlinkEvent e)
        if (e.getEventType()==
        HyperlinkEvent.EventType.ACTIVATED)
        getThePage(e.getURL().toString());}});
    c.add(new JScrollPane(contents), BorderLayout.CENTER);
    setSize(400,300);
    show();
    private void getThePage(String location)
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    try {
    contents.setPage(location);
    enter.setText(location);
    catch(IOException io)
      JOptionPane.showMessageDialog(this,"Error getting URL","Bad URL",JOptionPane.ERROR_MESSAGE);
    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    public static void main (String args[])
      ReadServerFile app= new ReadServerFile();
      app.addWindowListener(new WindowAdapter(){
        public void windowClosing(WindowEvent e)
          System.exit(0);
    }

    ray,
    Sounds like a permission problem.
    Try running these.
    ColdFusionDirectory\bin\connectors\Remove_ALL_connectors.bat
    ColdFusionDirectory\bin\connectors\IIS_connector.bat
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "RayBees" <[email protected]> wrote in message
    news:ek727f$bnq$[email protected]..
    > Greetings
    >
    > I have an interesting problem. When I browse certain
    section of my website
    > I
    > am asked to enter my username and password. When clicked
    "cancel" twice
    > the
    > person is let throught to the page. This seems to be
    related to the cfform
    > tage. If I remove the tag, I am no longer asked for the
    username and
    > password.
    > This happens in IE 6 and 7, Netscape 7.1 but not in
    Firefox 1.5 or Mozilla
    > 1.5.
    >
    > But here is where it gets really interesting, If I log
    onto the web
    > server,
    > every page asks for the username and password. Any
    thoughts?
    >
    > Thanks
    > Ray
    >
    > The Specs
    > CFMX 7.02
    > Windows 2003
    > IIS 6
    >

  • Windows Security asking for username and password to access college intranet.

    I'm trying to access my college intranet form home and I get a dialog box called "windows security". It asks for a username and password. I've never set up a username or password. I've been onto internet setting>security and enabled "automatic
    logon with current username and password", this did not work. Please help, I really need to get onto the site!

    trying to access my college intranet form home
    Contact your college network support.  The syntax for specifying your authentication may be different than you usually use when you are just connecting there locally.
    Robert Aldwinckle

  • Sharepoint2013 Stop asking for UserName and Password

    Hi,
    I have Installed New sharePoint2013 Server , I face Issue that Sharepoint Site keep asking for UserName and Password aeach Time.
    I set as  windows authentication in both IIS and Central Administration ,
    and I configure The IE and I set Automatic Login with Current Username And Password and I put it in Trusted site  and nothing  change.
    I also have sharepoint 2010 server and when I configure it like above it
    stopped ask me for UserName and Password ,
    Can any one help me what maybe  the problem in SharePoint server2013.
    thank you,,,

    Hi,
    Try following these steps:
    Adding the site to Local Intranet Zone: 
    Navigate to Tools > Internet Options
    Under Security tab, navigate to Local Intranet > Sites > Advanced. Enter the URL of your SharePoint site and click Add. Uncheck theRequire server
    verification (https:) for all sites in this zone box and click Close
    Adding the entry to the Credentials Manager: 
    Go to Start > Run and type in control keymgr.dll to open the Windows key manager.
    Alternatevily: navigate to Contorl Panel > User Accounts > Manager Windows Credentials
    Select Add a generic credential
    Add your SharePoint site URL, login and password to the corresponding fields. If this entry already exists, edit it to have your login credentials. 
    Reboot the computer.
    If you are missing the Add button, you may want to modify Windows Registry to be able to save the password.
    Note: for editing Windows Registry, administrator rights are required. Editing Windows Registry is not safe and you will perform it at your own risk.
    In Windows, go to Start > Run and enter regedit.
    Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\.
    Find the DisableDomainCreds entry. A value of 1 (enabled) will prevent you from saving new credentials. 
    Change the value to 0 and reboot. Now you should have the Add button available. Note that 0 is the default value.
    Also check the LmCompatibilityLevel entry. It should be set to 3, which is the default value. If you have another value, change it to 3. If it does not
    work with 3, then also try it with 2.
    Reboot the computer to apply changes.
    Ref: http://hosting.intermedia.net/support/kb/?id=1668
    If this helped you resolve your issue, please mark it Answered

  • Run Crystal Report from URL includes username and password

    Hello,
    I've downloaded CR 2008, and CR Server 2008 demo's.
    I'm trying to use a feature I've used with CR10 enterprise, and XI report server, where I can run a report direct from the URL.
    Something like:
    HTTP://scada-ho/crystal/enterprise/admin/en/viewrpt.cwr?id=381&init=actx&apsuser=administrator&apspassword=&apsauthtype=secenterprise
    or
    http://192.168.72.98/businessobjects/enterprise115/infoview/main.aspx?id=1024&init=actx&apssystem=hobprim&apsuser=visy&apspassword=Fillers3&apsauthtype=secenterprise
    I've noticed that there were subtle syntax differences between CR10 Enterprise and XI report server in the past, and expect that similar differences exist with CR server 2008.
    Could someone show me the syntax for CR Server 2008 to run a report from a URL, and pass the required username and password, without having to go through the infoview logon screen

    Tim,
    Thanks for the reply.  I admit I did see that thread when I was looking for a solution.
    My hesitance is that for a non programmer it looks very difficult, and a lot of settings.
    I liked the URL reporting because of its simplicity - one line.
    I know that it advertises the username and password, but for our requirement (intranet reporting, LAN separated from IT), its not a big risk.
    My further investigations indicate that for CRS 2008 something like the following should work:
    http://192.168.207.156/CrystalReports/view.aspx?id=1102&apsuser=administrator&apspassword=admin1&apsauthtype=secEnterprise&init=java
    However I get
    404 - File or Directory not found.
    I'm running on Windows7 with IIS7, so I think it must be an IIS configuration issue
    Any Ideas?

  • Updating username and password via JDBC

    Hello,
    Curious has anyone developed sample code that would do the following.
    1. Using getConnection one passes in a username and passsword.
    2. Let's say the the DB password passed is wrong but I want to update the users old password with the new password I just passed?
    Anyone have samples that might do this. ie. gets a return of bad password, reconnects as admin DB user, updates person's password, reconnects as orgianal username and password that previously failed?
    Thanks,
    BP

    Hi,
    you can also validate an FND login using the FND_WEB_SEC.validate_login package if it's easier.
    Brenden

Maybe you are looking for

  • Cisco RV042 Firewall Blocking LAN Traffic

    Hello Everyone, I currently have an RV042G with a downstream SG-300 connected to one of the LAN interfaces.  Connected to the SG-300 are a couple servers running ESXi.  Intervlan routing is working fine on the current setup; however, I only able to c

  • My itunes wont sync songs from a differenet apple id

    My friend put some songs and games on my sons ipod and now when I try to back them up on his itunes, they dont show up.  I assume this is because they are from her itunes account.  She gave me her login/password to use on the itunes to see if that wo

  • Using values from an HTML in a JSP

    Hi, Is it possible to use the values from form entries on a HTML page on a JSP page that gets called when the Submit button is clicked? Thanks!

  • Won't display messages in or out

    i am on a 2.0 macbook running leopard 10.5.1 and whenever i type a message into my ichat messenger and hit return to send, i don't get the usual blip and display of my message. I have tested it with others and they are receiving my messages. Also the

  • Mail missing from Comcast

    Hello all, I hope someone can help me get my missing mail from my secondary mail account. It disappeared and I set up another secondary account to try to retrieve i It.  Now when I click on mail that was already downloaded OR Sent I get a message, "T