Ideas requested for logging script activities

I have a form developed in LC with considerable scripting. I need to strip out all the debugging alerts and send the form out to users but I would like to figure out some way to debug any future problems.
My thought is to somehow log script activities so that when a failing form is returned to me I can see what was going on to produce the problem.
One idea is to use a hidden listbox to record script activity - results of IF statements, FOR loops, index values, etc. I could use addItem to make a history of the last n activities and hopefully see what led to the problem.
I'd like to make the list circular, that is after n entries go back to the top and overwrite the oldest entries. Not sure how to accomplish this...
Any ideas are most welcome! Thanks!

Added a number box called RecNo as hidden
Added a listbox called LogBox as hidden along with some logic to unhide it and hide it again
I created a common function:
function LogMsg(msg) {
     LogBox.addItem(worksheet.RecNo.rawValue + msg); // add record number and message
     RecNo.rawValue++; // increment
     if (RecNo.rawValue > 20) { // size limit for listbox, pick a favorite number
          LogBox.deleteItem(0); // delete top (oldest) entry
From places in code I want to track if there is a failure:
     Script_object.LogMsg("any message");

Similar Messages

  • Old transport request for sap script (form)

    Hi,
    I want to find the old transport request for the sapscript(form). Just now it has been over written by the latest CTR. So i need to transport the old one.
    How to find out the old transport request.
    Thanks,

    Try giving the script name in OBJ_NAME field in table E071 and then execute and it will give you a list of all transports. You can sort it in descending and see the order of transports.
    Thanks,
    Srinivas

  • Transport Request for Scripts

    Hi Gurus,
    How can I know the Transport Request for my Script form , other than SE09 and SE10.
    Thanks in Advance.
    Thanks and Regards
    Siri......

    In Se16 tcode: take table:E071
    give the following values and execute.
    PGMID                            R3TR             
    OBJECT                          FORM             
    OBJ_NAME                   "ur sapscript form name                  
    you will get the transport request related to this form.

  • Pending Add request for all contacts when I log into Live Messenger

    Each time I log into Windows Live messenger on my Blackberry Bold I get a request for every contact to allow them to add me as a contact.  They are longtime contacts of mine who have already been accepted.  They can see me regardless of if I accept.  If I accept, all of the requests reappear when I log back in.   I do not get the requests on the pc version.

    I have this problem with 4 specific contacts - every time I log in I'm prompted to confirm/deny the requests! Running latest OS on a Bold and latest Live Messenger app. Any ideas?
    I wouldn't mind too much if it didn't treat the requests as conversations and set the LED flashing at me constantly...
    -SOLVED-
    Log into the Live website at:
    http://home.live.com/
    confirmed the requests from there and all looking good so far!
    Message Edited by mikecupcake on 03-24-2009 06:33 PM

  • RPC request to the Microsoft Exchange Information Store service for log truncation

    Hello all
    Running Exchange 2013 CU3 on Windows 2008R2 sp1 in a two node DAG. We are seeing the bellow warning when running a backup. How to resolve this?
    RPC request to the Microsoft Exchange Information Store service for log truncation failed for database CoramB3\Servername. Error: Failed to notify source server 'servername.coram.com' about the local truncation point. Hresult: 0xc8000713. Error: Unable to find
    the file. Also log files are not being flushed
    Bulls on Parade

    Hello,
    Please verify backup software.
    Please use vssadmin list writers command to check the status of the VSS admin. If it is in a
    failed state, please restart the Exchange replication service and then check the status again.
    Please use Get-MailboxDatabaseCopyStatus cmdlet to view health and status information about mailbox database copies.
    Please use Get-DatabaseAvailabilityGroupNetwork “DAG Name” | fl cmdlet to view configuration and state information for a DAG network.
    Please use Get-DatabaseAvailabilityGroupNetwork DAG Name\MAPINetwork | fl cmdlet and Get-DatabaseAvailabilityGroupNetwork DAG Name\ReplicationNetwork | fl cmdlet to
    check configuration information for MAPI network and Replication Network.
    If the above configuration information is ok, please check if there are other related errors in application log.
    Cara Chen
    TechNet Community Support

  • LOG FILE for batch scripting in MAXL

    Hello,
    I just wanted to know how to create a LOG FILE for batch scripting.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    SET LogFile=E:\Batch\Apps\TOG_DET\Logs.log
    This file does not generate log file can any help me what might be the problem? Even though some of the steps above are not correct it should generate me log file atleast. I need syntax or whatever it is to generate Log file.
    Regards
    Soma

    I wanted to have a logfile of the following batch script regardless of whether the script is running or not.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    What I really want is I need a log file of the above batch script, how the above scripts are running. I do not care whether they are giving me positive results but I need to know what is happening in logfile. HOw will the log file be generated.
    Regards
    SOma

  • I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • Request for Quote IN SAP SCRIPTs

    Request for quote in SAP Scripts
    Do any one was modified MEDRUCK layout??
    Please let me know ,which elements
    do they people used??
    thank you

    Hi Silpa,
       You needn copy the MEDRUCK Script for your specific purpose. You can create your own script for your purpose. Its not necessary that you have to copy the original one and proceed.
    Link:
    http://www.sap-img.com/sapscripts.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0db74a494511d182b70000e829fbfe/frameset.htm
    Reward if helpful.
    Regards,
    Tushar

  • Keep getting a request for password "for the CalDAV account for my email account when I log in my iPhone password. ????

    I keep getting a request "for the CalDAv account" when I log in using my iPhone password on my iPhone.  Just started happening.   ????

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • Logs the activities for specific critical tables

    Hi Guys,
    rec/client     Logs the activities for specific critical tables       OFF     Absence of logging of changes to critical tables in SAP could lead to unauthorized modifications being overlooked     ON
                        (Only for critical tables)     Set to ON 
    What does it mean? This is a piece of Audit Recommendation
    what to do?Please help me out.
    Itzz very urgent guys.
    Points will be rewarded.
    Warm Regards,
    Mohandoss P.
    Edited by: mohan doss on May 28, 2008 1:37 PM

    Hi,
    Parameter description :                                                                               
    This parameter is used to activate and deactivate client-dependent table logging. Depending on the setting of this parameters, certain change options are either not logged at all, or only in certain clients or in all clients. The settings for these tables in the ABAP Dictionary must be correctly set for this.
    OFF       Table logging is deactivated. No change operations are logged, even if table logging is activated for certain tables in the ABAP Dictionary.
    ALL       Table logging is activated in all clients. All change operations for tables are logged, according to the settings in the ABAP Dictionary.
    <Client1>,<Client2>,...,<ClientN> (1 <= N <= 10)                  
              Table logging is only activated for the specified clients. You can specify up to 10 different clients.                                                                  
       Caution:  Make sure there are no space characters before or after the separator ",".
             Incorrect: rec/client=001, 002 , 003
             Correct:  rec/client=001,002,003                                                                  
    Regards
    Suresh Radhakrishnan
    Edited by: Suresh Radhakrishnan on May 28, 2008 9:56 PM

  • Has anybody successfully logged an online support request for an itunes card that hasn't been activated properly?

    Has anybody successfully logged an online support request for an itunes card that hasn't been activated properly? I tried the camera to read it but still no good. Get the error about it not being activated properly so i tried to log an online support ticket twice on two seperate days but get another error saying sorry we can't process this request now try later. Very frustrated, my son has a $20 voucher from Christmas he can' t use.

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Note: iTunes Gift Cards are only Valid in Country of issue

  • Transport request for script

    Hi all,
    I created a script in local object and now i want assign transport request for this.
    how to assign the transport request for script.
    Regards,
    Srinivas.

    hi,
    CHeck this thrad for creating new request..
    Re: Creating a new request from some select objects of a released request
    Cheers
    Alfred
    Reward with points for helpful answers.

  • How to create .log for sqlplus script

    Hi All,
    I created a sqlplus script and run it through a window form. My user want to me create a .log file for this script so they can know the job is completed or not. Does any one know how to do it?
    Thanks
    OF

    I created a "Login.sql" script that I use for all my sql*plus sessions.
    It creates a spool file in my common directory and everything i do is logged unless i set spool off.
    Take a look and it gives you an example of using spool files and how to set a directory and unique filename for each spoolfile.
    The contents of this file:
    -- any uppercase commands are my specific changes.
    -- this file must go in the oracle bin path or where sqlplus exe is located
    SET HEADING OFF
    PROMPT Who What Why Where When, This is SQL*Plus!
    Select 'You are connected to ' || GLOBAL_NAME || ' as ' || USER FROM GLOBAL_NAME;
    set appinfo ON
    set appinfo "SQL*Plus"
    set arraysize 15
    set autocommit OFF
    set autoprint OFF
    set autorecovery OFF
    set autotrace off
    set blockterminator "."
    set cmdsep OFF
    set colsep " "
    set compatibility NATIVE
    set concat "."
    set copycommit 0
    set copytypecheck ON
    set define "&"
    set describe DEPTH 1 LINENUM OFF INDENT ON
    set markup HTML OFF SPOOL OFF ENTMAP ON PRE OFF
    set echo OFF
    set editfile "afiedt.buf"
    set embedded OFF
    set endbuftoken ""
    set escape OFF
    set feedback 6
    set flagger OFF
    set flush ON
    SET HEADING ON
    set headsep "|"
    SET LINESIZE 250
    set logsource ""
    set long 80
    set longchunksize 80
    set newpage 1
    set null ""
    set numformat ""
    set numwidth 10
    SET PAGESIZE 24
    set pause OFF
    set recsep WRAP
    set recsepchar " "
    SET SERVEROUTPUT ON size 1000000 format WORD_WRAPPED
    set shiftinout invisible
    set showmode OFF
    set sqlblanklines OFF
    set sqlcase MIXED
    set sqlcontinue "> "
    set sqlnumber ON
    set sqlprefix "#"
    set sqlprompt "SQL> "
    set sqlterminator ";"
    set suffix "sql"
    set tab ON
    set termout ON
    SET TIME ON
    SET TIMING ON
    SET TRIMOUT ON
    set trimspool OFF
    set underline "-"
    set verify ON
    set wrap ON
    COL SPOOLFILE NEW_VALUE SPOOL;
    COL SYSTIMESTAMP FORMAT a38
    SELECT 'C:\oracle\spoolfiles\'||NAME||'_'||TO_CHAR(SYSDATE,'DD_MON_YYYY_HH24MISS')||'.lst' spoolfile FROM V$DATABASE;
    spool &spool
    PROMPT -----------------------------------------------
    SELECT SYSTIMESTAMP FROM DUAL;
    PROMPT -----------------------------------------------

  • How To Generate Spool request for a SAP-Script form

    How To Generate Spool request for a SAP-Script form

    Hai   Rahaman,
    After getting the print preview of the SCRIPT.
    Click On  PRINT.
    Buttom of the page one spool request will be generated by system.
    Go to  SP01.
    You Can Find  SPOOL Reqest Number.
    Regards.
    Eshwar.

  • I keep having request for ITunes to log in, that is not my account name. I have never used that account. It pops up all the time,and it stops everything that I am working on. How can I get rid of that prompt?

    I am having trouble with an ITunes I'd request to log in that is not my ITunes ID. E request pops up all the time. It stops the app or net site every time. Like I said it is not my ID. How can I stop or delete this ID?

    Go to Settings>Store>Apple ID. What ID is in the settings. Tap on that ID to change it. Sign Out. Sign in with your own ID. After you sign out with the incorrect ID, restart the iPad before you sign into your correct account.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go to Settings>Store and sign in.

Maybe you are looking for

  • MS Word 2007 docs in Pages

    Hi, I just moved to apple from PC. I have an iMac with OS X (Lion) and iWorks. In Pages, I'm having trouble in opening the file created in MS Word 2007. Any help please?

  • Making a loadmovie in an empty movie clip

    Hi. I'm making a new as3 file, and there i made an animation, like an intro for my website, in a movie clip. But what i want is, when this animation or this movie clip ends, automatically it charges another swf with my website, without having to pres

  • How to find name of the Query in SE09

    Hi Experts, Can anyone tell me how do find the name of the Query which is not released. Like for example: When I try to open the modified requests of all the users It displays me the names of the Tables, WEB templates etc. But for Query it only shows

  • Erase user account from setting up a new macbook pro

    How can one erase the guest user after setting up a new macbook pro? Please advise.

  • Using multiple Home Hubs as access points

    I have a BT Infinity connection using a Home Hub 5, however the signal is poor or non existant in parts of my house. I have Cat5e wired to some of the rooms around my house, so could I connect 1 or 2 additional Home Hub 5s to extend/improve the signa