Debugging the script.

Hi All,
I need to debug a script and i am facing a challenge like when i checked the nace transaction for a particular Tcode i am able to c two processing routines.
When i c the output i am able to see a form which has got attached to the first routine and when i press the back button from the form output i am able to c the form which is attached to the processing routine2.( this is what i need to debugg)
Now my problem is when i make activate debugger in the second script the debugger is calling only the first form not the second one..
Can any one suggest me how to debugg it.
Thanks in Advance,
Joe

Hi meetjoe,
Basically u want to debug the 2nd form attached to the 2nd routine right?
But always when u activate debugger and start debugging u can see the 1st form.
See as per what u have said i feel the flow of your program is as follows...
your routine1 calls the form1...it displays it and then returns to your routine2 which then calls the
form2...thats why when u go back from output of form1...u directly reach the form2.
I feel your form2 is taking some values / data from form1...so always before displaying form2, it is going in sequence  and showing form1 1st and then form2.
do one thing...activate debugger for form2...start debugging..if it starts debugging form1...continue doing it, come to form output.....then click on BACK button as u said...then when u come to the form2, which u wanted to debug....then just put a breakpoint there in the script of form2 in the debugger and simply save it...
so the breakpoint will be saved at a position in form2...and next time when u start debugging the control will directly come to the breakpoint in ur form2, or even if it goes to form1 first, then definitely next it'll move to breakpoint in form2....and i guess thats wat u wanted to do
Hope this helps u...All The Best
Regards,
Radhika

Similar Messages

  • Debugging the scripts and smartforms

    Hi,
    Please Tell me How to debug the SAP SCRIPTS and SMARTFORMS.
    Thank in advance
    Ajay

    DEBUG Smartform:
    1) One way to debug smartform is to debug the Function Module of that smartforms.
    If you want to debug particular smartform node that the solution would be,
    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    2) SFTRACE can be used for debugging SMARTFORMS.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    LOGO on Smartform
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) Use TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server
    SMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
    For debugging -
    1. Write BREAK POINT in the code window.
    2. Put a break point on the call function in the driver program
    3. Put a break point in the generated Function module.
    OR
    1) DEBUG Smartform:
    1) One way to debug smartform is to debug the Function Module of that smartforms.
    If you want to debug particular smartform node that the solution would be,
    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    2) SFTRACE can be used for debugging SMARTFORMS.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    OR
    Four ways you can debugging.....
    1.place SFTRACE inplace where we enter T_CODE and press ENTER.
    after that press F8.
    2 ./H
    3 /SH
    4.after generating the function module there is a button DEBUGGING
    Refer to these related threads
    smartforms debug
    Smartforms debug
    How to debug Smartforms?
    How to Debug the Smartforms
    Re: Smartforms Debug
    Smartforms
    In the Smartform, within the Code Node you can hardcode a normal abap Break Point ..
    Please set a break point in side the smartform:
    BREAK <USERNAME>.
    Then at the time of print/ preview the program stops there.
    Example : If you set the break point in initializationas
    BREAK <USERNAME>.
    Program stops at break point. After that use Serach and set more break points.
    >Search the program logic/Textelement/Address via search and set the break point at that code.
    Other way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    or
    SFTRACE can be used for debugging SMARTFORMS.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    See the Below thread for how to debug the Smartforms
    How to Debug Smartform?
    Re: debug of smartfrom
    Smart forms
    They are two ways to debug the SAPScript.
    1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
    It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
    2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
    When you debug Print program it is same as you debug any other ABAP program.
    While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.

  • Help needed- Debug the script.

    Hi Experts,
    Can any one help me in debug the below script.
    Basically, i am trying to check date range from a coulmn DATE_NAME and if its between the selected range i am assiging some number.
    select DATE_NAME,CASE
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('15-DEC', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('10-JAN', 'DD-MON'),'DD-MON')) THEN 1
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('11-JAN', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('07-FEB', 'DD-MON'),'DD-MON')) THEN 2
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('08-FEB', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('07-MAR', 'DD-MON'),'DD-MON')) THEN 3
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('08-MAR', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('04-APR', 'DD-MON'),'DD-MON')) THEN 4
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('05-APR', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('02-MAY', 'DD-MON'),'DD-MON')) THEN 5
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('03-MAY', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('30-MAY', 'DD-MON'),'DD-MON')) THEN 6
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('31-MAY', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('27-JUN', 'DD-MON'),'DD-MON')) THEN 7
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('28-JUN', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('25-JUL', 'DD-MON'),'DD-MON')) THEN 8
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('26-JUL', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('22-AUG', 'DD-MON'),'DD-MON')) THEN 9
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('23-AUG', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('19-SEP', 'DD-MON'),'DD-MON')) THEN 10
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('20-SEP', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('17-OCT', 'DD-MON'),'DD-MON')) THEN 11
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('18-OCT', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('14-NOV', 'DD-MON'),'DD-MON')) THEN 12
    WHEN
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN TRIM(TO_CHAR(to_DATE('15-NOV', 'DD-MON'),'DD-MON') ) AND TRIM(TO_CHAR(to_DATE('12-DEC', 'DD-MON'),'DD-MON')) THEN 13
    ELSE 0
    END AS PERIOD FROM D_TIME;
    Any help will be appreciated.
    PS: DATE_NAME is of DATE datatype.
    Thanks,
    G
    Edited by: Gurusank on Jun 24, 2009 3:53 PM

    Don't convert date to string for comparison. For instance your following snippet:
    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN
         TRIM(TO_CHAR(to_DATE('15-DEC', 'DD-MON'),'DD-MON') )
          AND
         TRIM(TO_CHAR(to_DATE('10-JAN', 'DD-MON'),'DD-MON')) should be written as
    DATE_NAME BETWEEN to_DATE('15-DEC', 'DD-MON')
    and to_DATE('10-JAN', 'DD-MON')Are you sure in avoiding year (YYYY) in your format mask for to_date. This will assign current year to the date
    In that case something like
    TO_DATE(TO_CHAR(DATE_NAME,'DD-MON')), 'DD-MON') BETWEEN
       to_DATE('15-DEC', 'DD-MON')
       AND
       to_DATE('10-JAN', 'DD-MON')(There might be an efficient way to do this part. Nothing is striking to me as of now.)
    Hope this helps.
    Regards,
    Jo

  • Not able to debug the client script in IE11

    Hello Experts,
    I had to debug the client side script though my application but when i try to do the same i am getting error saying "Unable to attach to crashing process. The process has been terminated. Try refreshing the process list before attempting another attach".
    Before this when comes to select the debugger , top of the dialog box shows error "An unhandled exception (Script BreakPoint) occured in iexplorer.exe  ".
    # I have check the registry entry under HKLM/software for the JIT debugger - it's set to 1.
    # I have uncheck the internet option checkbox for disabling the debugging the script.
    Still no help. Please guide me through this.
    Thanks,
    Jagbir Singh

    Hi Jb9952,
    In addition to what Rob suggested, regarding using F12 tool to debug, you may take a look at the following articles:
    How to use F12 Developer Tools to Debug your Webpages
    And:
    Using the F12 Developer Tools to Debug JavaScript Errors
    Best regards
    Michael Shao
    TechNet Community Support

  • Debugging SAP Scripts MR_PRINT and MR_REKL

    Hi All,
    Can anybody tell me if there is an easy way to debug the SAP Script Layoutsets MR_PRINT and MR_REKL, which are triggered through MRKO and MIRO transactions. Also I need to know how to repeat the print out of the above layouts, which are outputs of Invoice reductions and Invoice corrections.
    I already tried SE71 -> Utilities -> Activate Debugger and also placing a break-point in one of the performs, I call, but I think the print program is a dynamic call and it is not stopping at the break-points.
    Let me know what I am missing.
    Thank you for your time,
    yrkanth

    Sorry, if it sounds dumb. But how will you put a hard breakpoint in a SAP Script? I don't hink there is a BREAK-POINT command which can be used in SAP Script? I activated the sap script debugger and am running the MRKO transaction which triggers the layoutset, but it is not stopping as it does stop for any other layouset.
    The other way I tried was, to put in BREAK-POINT command in one of the performs the SAP script calls and I was able to stop at that only when I debug in Update debugging mode. This only allows me to debug the perform code but it still does not allow me to debug the script as we debug the script for PO (Purchase Order) by activating the SAP Script debugger and print previewing the PO.
    Hope this helps?
    I really appreciate your time.
    Thank you,
    yrkanth

  • How to debug a script?

    hi
    can anyone tell me how can we debug a script please?
    points will be given

    Hi
    check with this..
    can be done in two ways:
    In the form Utilities->debugger / RSTXDBUG FM for debugging script
    The Procedure for debugging SAP script is:
    Generally SAP script contains the Layout and corresponding print program.
    First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
    Now go to SE 38 and enter ur Print Program name and execute the program.
    Now you can debug the script Page wise and window wise.
    Reward if hepful
    With Regards
    vachana

  • VuGen 11.00 script is not getting saved after recording the script.Getting JIT Debugging error

    Hi ,
    I am able record the script successfully through Vugen 11.00. But while i am trying to save the the script the Vugen stops responding for few minutes and gives a error pop up is coming Saying "Unhandled  exception occured in a component in your application.....".
    Below is exception caught:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at LogicNP.FileViewControl.x536ecdb7386d29a6.x2db8e1a2d8ef1ead(xb2fdad904b77f843 xcbf23e6fdf2aa08b, IntPtr xe2562f0dc0544189, DisplayNameFlags x9432081594ec509d, IntPtr x5e5a9895844ba8d2, x09b9e24e089559b0 x49a64970a3136cae)
       at LogicNP.FileViewControl.x536ecdb7386d29a6.x1dafd189c5465293(xb2fdad904b77f843 xcbf23e6fdf2aa08b, IntPtr xe2562f0dc0544189, DisplayNameFlags x9432081594ec509d, IntPtr x5e5a9895844ba8d2, x09b9e24e089559b0 x49a64970a3136cae)
       at LogicNP.FileViewControl.x536ecdb7386d29a6.x4e2d9d6d7d7d99b0(xb2fdad904b77f843 xcbf23e6fdf2aa08b, IntPtr xe2562f0dc0544189)
       at LogicNP.FileViewControl.ListItem.x77be53ce49261911()
       at LogicNP.FileViewControl.ListItem.get_Path()
       at QTFileDialogs.FSControl.fileView1_AfterItemAdd(Object sender, FileViewEventArgs e)
       at LogicNP.FileViewControl.FileView.x63783b721e2e30d9(Int32 xccb63ca5f63dc470)
       at LogicNP.FileViewControl.FileView.x5921718e79c67372(IntPtr xe2562f0dc0544189)
       at LogicNP.FileViewControl.FileView.x6d54aa19d20a6718(IntPtr x60b03290ec39ff34, Boolean x6aa0fd35fe33c0ce)
       at LogicNP.FileViewControl.FileView.x7cb4bb83abfb9710(String xaead53c3b2567ee7)
       at LogicNP.FileViewControl.FileView.set_CurrentFolder(String value)
       at QTFileDialogs.FSControl.FSControl_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at System.Windows.Forms.UserControl.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    BPTManagerImpl
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/BPTManagerImpl.DLL
    BPTManager
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/BPTManager.DLL
    Interop.TDExtendedAPI
        Assembly Version: 9.52.0.0
        Win32 Version: 9.52.0.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Interop.TDExtendedAPI.DLL
    Interop.SOAMaf
        Assembly Version: 9.52.0.0
        Win32 Version: 9.52.0.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Interop.SOAMaf.DLL
    VugenIntegration
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/VugenIntegration.DLL
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    interop.OTAClient
        Assembly Version: 11.9.9.9999
        Win32 Version: 11.9.9.9999
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/interop.OTAClient.DLL
    VuGenFileDialog
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/VuGenFileDialog.DLL
    QTFileDialogLib
        Assembly Version: 11.0.700.0
        Win32 Version: 11.0.700.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/QTFileDialogLib.DLL
    OTAWrapperLib
        Assembly Version: 11.0.721.0
        Win32 Version: 11.0.721.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/OTAWrapperLib.DLL
    FileDialogServices
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/FileDialogServices.DLL
    QTFileDialogs
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/QTFileDialogs.DLL
    QTFileDialogIfsLib
        Assembly Version: 11.0.700.0
        Win32 Version: 11.0.700.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/QTFileDialogIfsLib.DLL
    QTOTAWrapper
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/QTOTAWrapper.DLL
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Log4netWrap
        Assembly Version: 0.0.0.0
        Win32 Version: 11.0.700.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Log4netWrap.DLL
    msvcm80
        Assembly Version: 8.0.50727.6195
        Win32 Version: 8.00.50727.6195
        CodeBase: file:///C:/WINDOWS/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    QTOTAWrapper.XmlSerializers
        Assembly Version: 11.0.1465.0
        Win32 Version: 11.0.1465.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/QTOTAWrapper.XmlSerializers.DLL
    ocap_h8y
        Assembly Version: 11.0.0.8825
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    0kybcvp7
        Assembly Version: 11.0.0.8825
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    Infragistics2.Win.Misc.v7.3
        Assembly Version: 7.3.20073.1053
        Win32 Version: 7.3.20073.1053
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Infragistics2.Win.Misc.v7.3.DLL
    Infragistics2.Win.v7.3
        Assembly Version: 7.3.20073.1053
        Win32 Version: 7.3.20073.1053
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Infragistics2.Win.v7.3.DLL
    Infragistics2.Shared.v7.3
        Assembly Version: 7.3.20073.1053
        Win32 Version: 7.3.20073.1053
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Infragistics2.Shared.v7.3.DLL
    Infragistics2.Win.UltraWinEditors.v7.3
        Assembly Version: 7.3.20073.1053
        Win32 Version: 7.3.20073.1053
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Infragistics2.Win.UltraWinEditors.v7.3.DLL
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Infragistics2.Win.UltraWinExplorerBar.v7.3
        Assembly Version: 7.3.20073.1053
        Win32 Version: 7.3.20073.1053
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Infragistics2.Win.UltraWinExplorerBar.v7.3.DLL
    LogicNP.FileView
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.0.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/LogicNP.FileView.DLL
    LogicNP.ShComboBox
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.0.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/LogicNP.ShComboBox.DLL
    ScriptContext
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/ScriptContext.DLL
    CorrelationSDK
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/CorrelationSDK.DLL
    Interop.VugenBackEnd
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Interop.VugenBackEnd.DLL
    Interop.VugenDocIfs
        Assembly Version: 11.0.0.8825
        Win32 Version: 11.0.0.8825
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/Interop.VugenDocIfs.DLL
    CorrelationFramework
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/CorrelationFramework.DLL
    FileLogger
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/FileLogger.DLL
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5479 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    HTTPSnapshot
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/HTTPSnapshot.DLL
    lxnorxdy
        Assembly Version: 11.0.9409.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    xp_nfinj
        Assembly Version: 11.0.9409.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    PostFilterCorrelationRules
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/PostFilterCorrelationRules.DLL
    PostFilterInScriptFinder
        Assembly Version: 11.0.9409.0
        Win32 Version: 11.0.9409.0
        CodeBase: file:///C:/Program%20Files/HP/Virtual%20User%20Generator/bin/PostFilterInScriptFinder.DLL
    xftg046s
        Assembly Version: 11.0.9409.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Please let me know how to resolve this issue. This is causing a major blocking for my testing

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • To debug the Tcode F110 for script output

    Hi,
    I want to debug the Tcode F110 for the onr particular vendor whose payment has be runned.
    the script that is attached is the ZScript.
    I want to debug the attached script through F110 to view the payment output in production.
    Kindly suggest how to go about it.

    hello ,
    in F110 , there is a tab to enter print program , u can put break point it that program....if u know script , activate Debug in that one as well.
    but these things are applicable for check prinings only.
    if u want to debug for payment medium , then u need to check FBZP-->Company Code -->Payment Method >Form data> u can see the Script name...
    se71 --->script name >Utilli>active Debug...
    Regards
    Prabhu

  • How to use the place call step in the script

    I am new to uccx and the document does not explain alot for me related to this step so much.
    In the destination field : i use a  variable of string that matched before.
    The call contol group id : i use the integer of 2 ,the same as configured in the call control group number on UCCXadmin page.
    Dialog group: the same as call control group id.
    Here is my problem,the call contact field.
    If i create a variable of contact with value null and choose it in the contact field of the place a call.
    Call is not placed to the extension.
    Also with reactive debug : i see that this field should get filled with a value to make the call works,but i don't know how to use it.
    Thanks in advance.

    1. I'm not sure what you are asking.  Do you want to enter in all of the holidays for the next 10 years?
    2. For this specific date literal example, you can find it in the scripting volume 3.
    Here is the excerpt from the documentation on date literals:
    Date Literals
    The date literal is always of type Date. The following are the  different syntax formats you can use to enter a date.
    DateLiteral:
         DateDeclarator [n o w ]
         DateDeclarator [DateDesignator TimeDesignatoropt]
    DateDeclarator [ DateDesignator TimeDesignatoropt ]
    DateDeclarator: one of
         d D
    DateDesignator:
         FullDatePattern:
                Defined by the pattern "EEEE, MMMM d, yyyy"
         LongDatePattern:
                Defined by the pattern "MMMM d, yyyy"
         MediumDatePattern:
                Defined by the pattern "MMM d, yyyy"
         ShortDatePattern:
                Defined by the pattern "M/d/yy"
    TimeDesignator:
         FullTimePattern:
                Defined by the pattern "h:mm:ss a z"
         LongTimePattern:
                Defined by the pattern "h:mm:ss a z"
         MediumTimePattern:
                Defined by the pattern "h:mm:ss a"
         ShortTimePattern:
                Defined by the pattern "h:mm a"
    Example Date Literals:
    D[12/13/52]
    D[Dec 13, 1952]
    D[Thu, July 4, 2002]
    D[July 5, 2002]
    D[July 7, 2002]
    D[7/6/02]
    D[Thu, July 4, 2002 5:59 PM]
    D[July 5, 2002 5:59 PM]
    D[July 7, 2002 5:59 PM]
    D[7/6/02 5:59 PM]
    D[Thu, July 4, 2002 12:23:59 AM]
    D[July 5, 2002 12:23:59 AM]
    D[July 7, 2002 12:23:59 AM]
    D[7/6/02 12:23:59 AM]
    D[Thu, July 4, 2002 12:23:59 AM CST]
    D[July 5, 2002 12:23:59 AM CST]
    D[July 7, 2002 12:23:59 AM CST]
    D[7/6/02 12:23:59 AM CST]
    D[now]
    Details for the date and time patterns are available in the  documentation of the java.text.DateFormat class. If the string now is used, then  the literal corresponds to the current date in the server's default timezone at  the time the literal is evaluated for the first time.
    Each date literal is a reference to an instance of class  java.util.Date.
    Copyright © 2002-2010, Cisco Systems, Inc. All rights  reserved.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • How to Debug Java Script in Adobe Form

    I have used an alert for empty fields . I have used Check button control for this.
    But the button click is very inconsistent. Some times it triggers the event sometimes it doesnt. Is there anyway to debug the java script. I have installed Script editor for IE but I am unable to use it for Adobe Forms.
    Any help is appreciated.
    Thanks,
    Vasu

    Hi Vasu,
    i think that maybe is the check sequence is not very correct.. and maybe you can try to code it one check for empty fields at a time..
    example
    Name.
    Address.
    Tel.
    Hp.
    Email.
    so u can try to code for one item at a time then slow try to debug it... as last time i use to insert the javascript inside each component then after it i implement into a button and slowly check for the check sequence which one need to be 1st and etc.
    hope it help you. if not maybe u can give more information. maybe i can help you out at myside.
    Regard,
    Ng Jia Jun

  • Debugging a script

    hi,
    please can any onne tel me all the possible ways to debugg a script
    thanks,
    shilpa

    Hi,
    You could not debug your script alone like reports. First goto SE71 and input the script name which need to be debugged. Then navigate through menu 'Utilities' --> Activate Debugger. On status bar, you could find message "SAPScript form debugger was activated".
    Next step is execute the print form / corresponding application which can trigger the form and you can find start of debugger which control comes to script.
    Regards,
    Prasanth

  • Debugging a script and smart form

    Hi   Can u explain me How to Debug a Script and Smart from in Real time

    hi,
    for smartforms
    1. use transaction SMARTFORM_TRACE
    2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.
    3. BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.
    for scripts
    from SE71 enter form name
    from Menu Utilities->ACTIVATE DEBUGGER
    then execute the script from the Application Transaction
    it will stop in the script and check for the Values you need
    or
    Execute RSTXDBUG.
    ~~Guduri

  • Referencing the script folder when launching via LNK

    I have been using ".\ blah blah" to reference files stored in the same folder as the script, but I ran into a situation where this actually referenced the user's home folder, not the script folder. I then found this code, which has worked well
    when launching the script directly, but when the script is launched via a shortcut it fails. 
    Is there a modification that can be done to this code, or another option, that will consistently identify the UNC path of the running script?
    Thanks,
    Gordon
    function Get-ScriptDirectory {
    $Invocation = (Get-Variable MyInvocation -Scope 1).Value
    if($Invocation.PSScriptRoot) {
    $Invocation.PSScriptRoot
    elseif($Invocation.MyCommand.Path) {
    Split-Path $Invocation.MyCommand.Path
    else {
    $Invocation.InvocationName.Substring(0,$Invocation.InvocationName.LastIndexOf("\"))

    Interesting.  So it's not even using MyCommand.Path; it's dropping down into that last case (which I assume was written to cover PowerShell 1.0, but I'm not certain.)
    Try adding this command to the function, for debugging purposes, right after the "$Invocation = ..." line:
    $Invocation |
    Format-Custom -Depth 3 -Property * -Force |
    Out-Host
    That should give you a bunch of information that you can copy and paste here, so we can figure out what's going on.
    Edit:  One other thing; is this Get-ScriptDirectory function in the ps1 script itself, or is it in a PSM1 module?

  • Debugging of script

    hii guys,
    1. can we debugg form how
    2. can we debugg driver program how.
    regards
    rahul

    hi Rahul,
    <b>They are two ways to debug the SAPScript.</b>
    1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
    It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
    2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
    When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
    <b>Check this link:</b>
    /people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
    Reward me if useful...........
    Harimanjesh AN

  • Debugging in script for  F110 transaction

    Hi all,
    For bank transfer form i have created a vendor document in FB60 and the corresponding document was created in F110.
    Script name for this bank transfer form is f110_d_avis.When customizing the script i have taken a z-copy of this script. From that copied script i have called perform statement and then put a debug in the program.
    My need is whenever i click the spool request in F110 the debugging should on.But it was not even i had activated RSTXDBUG and using break-point in the program.
    Can anyone please help me?
    Regards,

    if u included a break point in the form routine it should stop there, and if its not stopping there, u need to check following things.
    Is the correct script being called, for that put a break point at open_form and check the value of script name.
    is the perform within and if condition, that is causing the script to entirely skip the perform,
    is ur breakpoint within any condition in the form subroutine.
    check these three things first.

Maybe you are looking for