Runtime error in scripts :  CX_SY_DYN_CALL_PARAM_MISSING

HI guys i am trying to print some values in sapscripts . 
the thing is i am able to see the print preview and the values are showing up  but when i click on the back button the system throws the following dump :
Runtime Errors         PERFORM_PARAMETER_MISSING
Except.                CX_SY_DYN_CALL_PARAM_MISSING
Short text
    Missing parameter with PERFORM.
What happened?
    Error in the ABAP Application Program
    The current ABAP program "RSNAST00" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
     not caught in
    procedure "PROGRAMM_AUFRUFEN" "(FORM)", nor was it propagated by a RAISING
     clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    A PERFORM was used to call the routine "SHOW_VAL" of the program "Z_SHOWDATA".
    The current call contains 2 actual parameter(s),
    but the routine "SHOW_VAL" expects 4 parameters.
in the script this is the perform i ve written :
/:          PERFORM SHOW_VAL IN PROGRAM Z_SHOWDATA
/:          USING &NAST-OBJKY&
/:          CHANGING &VARIABLE4&
/:          CHANGING &VARIABLE5&
/:          CHANGING &VARIABLE6&
/:          ENDPERFORM
and my show_val goes as follows:
PROGRAM  Z_SHOWDATA.
data: var1 like NAST-OBJKY,
var3 type P decimals 2, "string , "decimals 2, " decimals 2,
var4 type p decimals 2, "string , "decimals 2, " decimals 2,
var5 type P decimals 2, "string, " decimals 2, "decimals 2,
var6 type p decimals 2.  "string .
data: itab type ekpo occurs 0 with header line .
form show_val tables intab structure itcsy
outab structure itcsy .
import sapscript parameters
read table intab with key 'NAST-OBJKY'.
check sy-subrc eq 0.
var1 = intab-value.
get Data
select single * into itab
from ekpo where EBELN eq var1.
select single *
       from ekpo
       into  itab
       where ebeln eq var1.
var3 = itab-netwr * 16 / 100.
var4 = var3 * 2 / 100.
var5 = var3 / 100.
var6 = itab-netwr + var4 + var5.
export sapscript parameters
READ TABLE outab WITH KEY 'VARIABLE4'.
CHECK sy-subrc EQ 0.
MOVE var4 TO outab-value.
condense outab-value.
append outab .
READ TABLE outab WITH KEY 'VARIABLE5'.
CHECK sy-subrc EQ 0.
MOVE var5 TO outab-value.
condense outab-value.
append outab .
READ TABLE outab WITH KEY 'VARIABLE6'.
CHECK sy-subrc EQ 0.
MOVE var6 TO outab-value.
condense outab-value.
append outab .
endform.
I am not able to catch the error in the code as all the values that i ve passed in the perform are successfully entered in the tables that i ve passed in my form . and the values are coming on the layout too
and the dump comes after i click on the back button after seeing the preview . Please help.
Vikram.
Please help

try like this and let me know if dump still exists, later we can do further analysis.
PROGRAM Z_SHOWDATA.
<b>*data: var1 like NAST-OBJKY,
*var3 type P decimals 2, "string , "decimals 2, " decimals 2,
*var4 type p decimals 2, "string , "decimals 2, " decimals 2,
*var5 type P decimals 2, "string, " decimals 2, "decimals 2,
*var6 type p decimals 2. "string .
data: var1(30),
var3 (30),
var4(30),
var5(30),
var6(30).</b>
data: itab type ekpo occurs 0 with header line .
form show_val tables intab structure itcsy
outab structure itcsy .
import sapscript parameters
read table intab with key 'NAST-OBJKY'.
check sy-subrc eq 0.
var1 = intab-value.
get Data
select single * into itab
from ekpo where EBELN eq var1.
select single *
from ekpo
into itab
where ebeln eq var1.
var3 = itab-netwr * 16 / 100.
var4 = var3 * 2 / 100.
var5 = var3 / 100.
var6 = itab-netwr + var4 + var5.
export sapscript parameters
READ TABLE outab WITH KEY 'VARIABLE4'.
CHECK sy-subrc EQ 0.
MOVE var4 TO outab-value.
condense outab-value.
append outab .
READ TABLE outab WITH KEY 'VARIABLE5'.
CHECK sy-subrc EQ 0.
MOVE var5 TO outab-value.
condense outab-value.
append outab .
READ TABLE outab WITH KEY 'VARIABLE6'.
CHECK sy-subrc EQ 0.
MOVE var6 TO outab-value.
condense outab-value.
append outab .
endform.
Regards,
SaiRam

Similar Messages

  • Third Party Dll (WinSCP) throwing runtime error in script task

    Hi,
    I am trying to implement  SFTP automation in SSIS.  I used winscp assemblies to achieve this task.  During compile time, I have no errors. When i try to run it, i am getting  below runtime error (Refer image).  
    So i tried to install the assembly in GAC. But i am getting "undefined BI " error . Please find the assembly link to download (http://winscp.net/eng/download.php). I am really looking for some guidance on this. Any other idea to achieve the
    SFTP automation will also be highly appreciated.

    Thanks Arthur...
    What is
    the alternate way to implement
    SFTPin SSIS? 
    See how I implemented it in SSIS here
    I  used command line component of WinSCP and prepared the script file using script task. The utility was invoked using script task
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Runtime error while trying to convert script to pdf and sending in mail

    Hi all,
    I m trying to convert the standard script into pdf using convert_otf fm and trying to send it as an attachment using 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    I m using fm 'SSF_FUNCTION_MODULE_NAME' to get the function module name.
    But i m getting a runtime error while executing the program..
    Can anyone help me in this issue please.
    Thanks in advance,
    Ashok

    Hi Ramesh,
    I m getting an runtime error function module not found. I ll paste the code here.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
    error handling ent_retco = sy-subrc.
    perform protocol_update_i.
      ENDIF.
      ls_control_param-getotf = 'X'.
      DATA: l_document_output_info TYPE ssfcrespd,
            l_job_output_info TYPE ssfcrescl,
            l_job_output_options TYPE ssfcresop.
    check ent_retco eq 0.
      CALL FUNCTION 'lf_fm_name'
      EXPORTING
        archive_index = toa_dara
        archive_parameters = arc_params
        control_parameters = ls_control_param
        mail_recipient = ls_recipient
        mail_sender = ls_sender
        output_options = ls_composer_param
        user_settings = ' '
        zxekko = l_doc-xekko
        zxpekko = l_doc-xpekko
    zxaend = l_doc-xaend
        IMPORTING
          document_output_info = l_document_output_info
          job_output_info = l_job_output_info
          job_output_options = l_job_output_options
          TABLES
            l_xekpo = l_doc-xekpo[]
            l_xekpa = l_doc-xekpa[]
            l_xpekpo = l_doc-xpekpo[]
            l_xeket = l_doc-xeket[]
            l_xtkomv = l_doc-xtkomv[]
            l_xekkn = l_doc-xekkn[]
            l_xekek = l_doc-xekek[]
            l_xaend = l_doc-xaend[]
            l_xkomk = l_xkomk
            EXCEPTIONS
              formatting_error = 1
              internal_error = 2
              send_error = 3
              user_canceled = 4
              OTHERS = 5.
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = l_job_output_info-otfdata
          lines                 = tb_pdf
        EXCEPTIONS
          err_max_linewidth     = 0
          err_format            = 1
          err_conv_not_possible = 2
          OTHERS                = 3.

  • Runtime Error while executing eCATT Script

    Hello @All,
    I worte a small eCATT script to stop the time a certain process needs to finish. The way I did this was to use the SAPGui (Record) method in eCATT.
    This does work fine.
    The second step I tried was to log the time and write it in a table to work with the times.
    If I do this I always get an runtime error, I know why it appears but I do not have any idea how to solve this.
    My script is:
    message ( UZEIT ).
    SAPGUI ( CC04_100_STEP_1 ).
    SAPGUI ( CC04_1100_STEP_1 ).
    endmessage( UZEIT ).
    settab ( ypdm1t001, UZEIT ).
    UZEIT is an Inputparameter with no reference.
    The short text of the runtime error is:
    Access not possible using 'NULL' object reference.
    If I delete the definition of the parameter UZEIT the runtime error does not appear but I get the error in the Log that the parameter UZEIT is not defined.
    Does anyone has a solution for this problem?
    greets
    manuel

    Hi Harsha,
    UZEIT is a command interface (I changed it so that is no more an parameter).
    There seem to be no restrictions to add values in the table. I already spoke to collegues here and they cannot find a mistake.
    I would further try to describe you what I want to do. Perhaps you have better ideas.
    What I want to achive is to get an overview over response times of defined transactions.
    We have a system landscape with local SAPGUIs and with installations on WTS and we want to compare response times from both sides.
    Therefore I made the eCATT skripts.
    Now I want to write the times somewhere so that I need not to write them down from every log file.
    At this point I wanted to write the times (which should be stored in UZEIT) to a table so that afterwards a report can write those times in an excel file.
    If you have better ideas to realize this please tell me.
    Thank you in advance for helping me.
    greets
    Manuel

  • Handling runtime errors while recording a script.

    When I record a script, I have a couple areas of the target website that throw an exception within the browser of e-Tester ( but not in any normal browser ). It is a runtime error, and complains about an unteriminated string constant. I'm not interested in trying to fix the cause, I just want to deal with the dialog. Here are my questions:
    1. I want to first check to see IF the screen is present. It looks like a standard windows error dialog.
    2. IF it's present, I then want to select the 'No' button, because I don't want to debug it, I just want to close the dialog and move on.
    That's all I want to do. I've attached a screenshot of the windows dialog I want to handle.

    I'd love to be able to find out what is causing the crash, because then I could log a bug against the web page to have the unterminated string resolved. Any idea of how I could find this? Perhaps looking through the source of the page?
    Until I find a way to determine exactly what the problem is with the web page ( sorry, it's proprietary, so I can't post the code up here ), I'm going to write a little app to watch for the box, then close it.
    I just need to find a way to call an external app before I click on the web page. How do I call an external app from within e-Tester in such a way that the call is made, and the execution continues as normal? I do NOT want e-Tester to wait for the app to close before continuing.

  • Get a popup an exception runtime error has occurred in script unable to jit debug

    i get a pop up window, just-in-time debugging
    An exception 'runtime error' has occurred in script.
    However, no debuggers are registered that can debug this exception. Unable to JIT debug.

    '''I think I solved it myself yesterday, indirectly''' by deleting a Googleupdater.exe file dated 042511. It has been over 24 hours now and no sign of the 'Just-In-Time Debugger' pop-up. Whew...it was incessant.
    Not sure how I got the Googleupdater.exe file on my computer. I did download Microsoft Security Essentials to help find the JIT problem, but it failed to install properly and run. The next day I remembered it probably only runs on Internet Explorer (which we deleted in 2009) after testing out Firefox. I then also deleted Security Essentials.
    I also downloaded on April 25th the free version of MS Visual Basics because I read on eHow that you can adjust settings in the 'TOOL' menu to stop JIT Debugging pop-ups. However, the free version was 'MS Visual Studio Basic 2008 Express Edition - SP1' which did NOT provide access to JIT Debugging settings (so it was not a solution).
    I must say I switched Internet Security programs to AVAST! on TU | Apr26th and love it so far. Highly recommend looking into AVAST! ver 6.0 at CNET downloads - free. The anti-virus program is free, but everything else costs about $30US for a year. WORTH IT Love the options | settings | flexibility|user friendly windows.
    Trend Micro was then deleted. It had always blocked usage of our internal CD|DVD drive. To use the CD|DVD drive we had to shut off Trend Micro and then turn it back on again after we finished using the CD|DVD drive. NOT a preference - for sure. Jaykay

  • SUPM 2. 0 - Automated script management - Portal runtime error

    Hi,
    Whenever I click on "Automated Script Management" I receive this message:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 11:14_15/06/11_0008_11133350
    Refer to the log file for details about this exception.
    When I look at the log history, I see 1 error: "No hierarchy maintained for object type".
    What do I have to do to resolve the issue?
    Thanks,
    François

    Hi..
    Since you are getting an error of Hierarchy, you have to follow the following steps:
    1. After specifying the Hierarchy name in SPRO, Login to SuPM and go to "Settings" tab and select the tab "Default Hierarchy"
    2. Here, you have to select the Hierarchy which you want it to be used by SuPM application
    3. Then, you have to go to "Application Properties" and select "Data Source Administration"
    4. You have to Refresh All the Data Sources to reflect the changes.
    Now, Try using the application, it will not throw you any error.
    Hope it helps,
    Regards,
    Raghunandan GV

  • Runtime error while opening the main window in form.

    Hi,
    i am getting this run time error when i am copying the standard script j_2i_pla and opening text element for changes even same problem with with standard form also below is the dump error
    Runtime Errors         DATA_LENGTH_TOO_LARGE
    Except.                CX_SY_RANGE_OUT_OF_BOUNDS
    Date and Time          28.10.2009 10:44:20
    Short text
         Invalid partial field access: Length is too large
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLSTXK" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
          caught in
         procedure "TOKEN_COMMENT" "(FORM)", nor was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         In the executed program "SAPLSTXK", the system attempted to access the field
         "ITF_TOKEN" of the type "C" and with the length 255 using the length 273.
         However, a partial field access with a length specification that is
         larger than the field length is not allowed.

    Hello,
    Please check the Character formats / Text stlyes/Paragarph defined within Main window, The error is because of some inconsistency withinthe layout component.
    Regards,

  • I have a visual C    runtime error stopping my pse elements 10 running in win 8.1. I am not a techie so am looking for a very clear way to resolve teh issue without needing too much technical ability. Can anyone help?

    I had been using my elements 10 for much of the day so do not know what I have done to upset it! I was starting up again and it began to load then offered me this line of script re a 'runtime error'. That means nothing to me except that it no longer works. I have had a peek on Google and see various suggested fixes from sources I don't know whether to trust. Also some fixes give a list of do's that to a non techie like me are not followable. Can anyone offer me some understandable guidance so I can get back to playing with my photos?

    You'll need to ask in the Photoshop Elements forum whose members can better answer this.
    Photoshop Elements
    Also keep a brief summary in the subject line and use the main posting window to describe your issue in detail.
    Subject: Visual C runtime error    as an example.

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Runtime error:429

    Hi all,
    I ve installed interactive reporting 11.1.2.1. While trying to open Dashboard studio, Dashboard architect, am getting "Runtime error:429 ActiveX component cant create object."
    EPM system essbase /planning 11.1.2.1 is already installed on this machine and is working fine. After installation of HIR, i was not able to find any new services pertaining to IR(also , during configuration, i was not able to see anything new in the configuration list-is this fine??) But am able to open up IR studio successfully.
    My directX components are uptodate.
    Please do help me out.
    thanks,

    Hello,
    i have been looking for this. i also faced this problem many times but after reading this article i fixed it. Thanks for sharing this post. i also got some help from this article [error 429|http://www.error429.com] , hope someone might get help from this article.
    Runtime error 429: “ActiveX component can’t create object”
    Reinstall Windows Script
    Repair Windows Script File Information in Registry
    Reregister Concerning File
    Reset Internet Explorer Settings
    Restore your Computer
    Repair System Files

  • Runtime error in data type

    i written following code in subroutine for script.
    it is giving runtime error as  " UNABLE TO INTERPRET 10,000 AS  A NUMBER .
    And it is indicating error in the line
    a_skfbt =  in_tab-value.
    pls suggest me solution.
    form  whd_tax tables in_tab structure itcsy
                         out_tab structure itcsy.
    data:  A_SKFBT type regup-skfbt,
           A_WRBTR type regud-wrbtr ,
           C_WTAX TYPE regud-skfbt.
    *break-point.
    read table in_tab WITH KEY NAME = 'REGUP-SKFBT'.
    check sy-subrc = 0.
    A_SKFBT  = in_tab-value.
    read table in_tab WITH KEY NAME = 'REGUD-WRBTR'.
    check sy-subrc = 0.
    A_WRBTR  = in_tab-value.
    C_WTAX = A_SKFBT  - A_WRBTR.
                                                and shkzg = 'H'.
    read table out_tab index 1.
    check sy-subrc = 0.
    out_tab-value = C_WTAX.
    modify out_tab index 1.

    Hi Venkat
    I have written the following code and it is not giving me any error:
    DATA: in_tab TYPE STANDARD TABLE OF itcsy,
          out_tab TYPE STANDARD TABLE OF itcsy.
    PERFORM whd_tax TABLES in_tab
                           out_tab.
    *&      Form  whd_tax
          text
         -->PA_IN_TAB  text
         -->PA_OUT_TAB text
    FORM whd_tax TABLES pa_in_tab STRUCTURE itcsy
                        pa_out_tab STRUCTURE itcsy.
      DATA: a_skfbt TYPE regud-sskfb,
            a_wrbtr TYPE regud-wrbtr ,
            c_wtax TYPE  regud-sskfb.
      READ TABLE pa_in_tab WITH KEY name = 'REGUP-SKFBT'.
      CHECK sy-subrc = 0.
      a_skfbt = pa_in_tab-value.
      READ TABLE pa_in_tab WITH KEY name = 'REGUD-WRBTR'.
      CHECK sy-subrc = 0.
      a_wrbtr = pa_in_tab-value.
      c_wtax = a_skfbt - a_wrbtr.
      READ TABLE pa_out_tab INDEX 1.
      CHECK sy-subrc = 0.
      pa_out_tab-value = c_wtax.
      MODIFY pa_out_tab INDEX 1.
    ENDFORM.                    "whd_tax
    Please let me know what is your exact problem? 
    I am working in ECC 5.0.
    Thanks and Regards
    Shivika Bhorchi

  • Runtime Error in IE 5.5

    Hi, maybe someone can help me. We have an application that users access by going to a website. One of the users has an error, continually, when trying to access the application (or site). We setup the client the same way on any machine: we take a folder with all the files that are associated with the application; HTML, images, etc. We only recommend IE 5.5 as the browser of choice for the application. We open the browser and type in the address where the user goes to access the application. While the site is being accessed, the user is prompted to download the Java plug-in. We go through the install steps and an applet window loads as part of the browser window. Once it loads, we never have any issues connecting.
    The dialog box that pops up has the following on it:
    A Runtime Error has occurred.
    Do you wish to Debug?
    Line: 308
    Error: 'document[...]' is null or not an object
    Yes No (buttons that are on the dialog box)
    When I click the Yes button, nothing happens (no code editor opens). I have racked my brain trying to find out what the issue (s) is (are). Is there someone out there who has an idea?
    Glenn Snyder
    408.398.6748

    I think the error you're getting is related the the HTML elements on the pages. I think the "Line: 308
    Error: 'document[...]' is null or not an object" error is telling you that an invalid operation is being performed on a particular HTML element that is "null" or "not an object".
    I've uses Microsoft's Script Debugger to find these types of problems. I don't think it is an issue w/ the applet. Furthermore, you can disable these messages be selecting the "disable script debugging" in the Advanced tab of the Internet Options window.
    Good Luck!
    -Sundhar

  • Runtime Error in Adobe Reader 8.1.2

    When attempting to open a PDF document in Adobe Reader 8.1.2, get the following error;
    Runtime Error!
    Program: C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe
    This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
    I have uninstalled and reinstalled the application. I have attempted the fixes I found online, but with no success. I have installed Version 9.0 it resolved the error. however we are not useing version 9.0 yet.
    The only other change has been we have recently upgrade to Microsoft Office 2007.
    I am with the help desk at womack Army Medical center. Does anyon eknow of a fix for this issue?

    @Ryan: Are you working for Bayer? We have the same problem here at Bayer since users personal folders are mapped to drive M:.
    It is a result of the preinstallation procedure "cost initialize/cost finalize" windows installer does. If users My Documents or My Pictures folders are redirected through registry HKU\...\UserShellFolders\... and the drive is not available, cost finalize will fail to check available disk space on the missing drive.
    If you can use a script to execute the installer, first check for drive M: and if not available, substitute e.g. C:\Temp to M: (subst M: C:\Temp), then execute the installer and when finished, delete substituted drive by "subst M: /D".

  • Runtime error in menu using javascript

    i got a code for building menu using javascript from internet. But when run this file, it gives a runtime error stating Error: 'Trigger' is null or not an object.I am not able to rectify it. Can you please help me with this problem? Its very urgent..
    I am giving the code here.The initialization of the trigger is given in bold, italics.
    <script type='text/javascript'>
    function Go(){return}
    Menu1=new Array("1","1.jsp","a",0,20,150);
    Menu2=new Array("2","2.jsp","",0,0,150);
    Menu3=new Array("3","","",4,0,150);
    Menu3_1=new Array("3-1","","",2,20,170);
    Menu3_1_1=new Array("3-1-1","3-1-1.jsp","",0,20,170);
    Menu3_1_2=new Array("3-1-2","3-1-2.jsp","",0,20,170);
    Menu3_2=new Array("3-2","3-2.jsp","",0,20,170);
    Menu3_3=new Array("3-3","3-3.jsp","",0,20,0);
    Menu3_4=new Array("3-4","3-4.jsp","",0,20,170);
    Menu4=new Array("4","","",3,0,150);
    Menu4_1=new Array("4-1","4-1.jsp","",0,20,170);
    Menu4_2=new Array("4-2","","",3,20,170);
    Menu4_2_1=new Array("4-2-1","4-2-1.jsp","",0,20,170);
    Menu4_2_2=new Array("4-2-2","4-2-2.jsp","",0,20,170);
    Menu4_2_3=new Array("4-2-3","4-2-3.jsp","",0,20,170);
    Menu4_3=new Array("4-3","","",2,20,170);
    Menu4_3_1=new Array("4-3-1","4-3-1.jsp","",0,20,170);
    Menu4_3_2=new Array("4-3-2","4-3-2.jsp","",0,20,170);
    var NoOffFirstLineMenus=4;     // Number of first level items
    var LowBgColor='FFFFFF';     // Background color when mouse is not over
    var LowSubBgColor='FFFFFF';     // Background color when mouse is not over on subs
    var HighBgColor='ECE9D8';     // Background color when mouse is over
    var HighSubBgColor='ECE9D8';     // Background color when mouse is over on subs
    var FontLowColor='000000';     // Font color when mouse is not over
    var FontSubLowColor='000000';     // Font color subs when mouse is not over
    var FontHighColor='FF0000';     // Font color when mouse is over
    var FontSubHighColor='FF0000';     // Font color subs when mouse is over
    var BorderColor='ACA899';     // Border color
    var BorderSubColor='ACA899';     // Border color for subs
    var BorderWidth=1;          // Border width
    var BorderBtwnElmnts=0;          // Border between elements 1 or 0
    var FontFamily="Bookman Old Style"             // Font family menu items
    var FontSize=10;                             // Font size menu items
    var FontBold=0;                                 // Bold menu items 1 or 0
    var FontItalic=0;                               // Italic menu items 1 or 0
    var MenuTextCentered='center';                  // Item text position 'left', 'center' or 'right'
    var MenuCentered='center';     // Menu horizontal position 'left', 'center' or 'right'
    var MenuVerticalCentered='top';     // Menu vertical position 'top', 'middle','bottom' or static
    var ChildOverlap=.2;          // horizontal overlap child/ parent
    var ChildVerticalOverlap=.2;     // vertical overlap child/ parent
    var StartTop=1;          // Menu offset x coordinate
    var StartLeft=1;          // Menu offset y coordinate
    var VerCorrect=0;          // Multiple frames y correction
    var HorCorrect=0;          // Multiple frames x correction
    var LeftPaddng=3;          // Left padding
    var TopPaddng=2;          // Top padding
    var FirstLineHorizontal=1;     // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
    var MenuFramesVertical=1;     // Frames in cols or rows 1 or 0
    var DissapearDelay=1000;     // delay before menu folds in
    var TakeOverBgColor=1;          // Menu frame takes over background color subitem frame
    var FirstLineFrame='menu';     // Frame where first level appears
    var SecLineFrame='menu';     // Frame where sub levels appear
    var DocTargetFrame='home';     // Frame where target documents appear
    var TargetLoc='';          // span id for relative positioning
    var HideTop=0;               // Hide first level when loading new document 1 or 0
    var MenuWrap=1;               // enables/ disables menu wrap 1 or 0
    var RightToLeft=0;          // enables/ disables right to left unfold 1 or 0
    var UnfoldsOnClick=0;          // Level 1 unfolds onclick/ onmouseover
    var WebMasterCheck=0;          // menu tree checking on or off 1 or 0
    var ShowArrow=1;          // Uses arrow gifs when 1
    var KeepHilite=1;          // Keep selected path highligthed
    var Arrws=['arrow_r2.gif',8,8,'arrow_d2.gif',8,8,'new1-05.gif',5,5];     // Arrow source, width and height
    var AgntUsr=navigator.userAgent.toLowerCase();
    var DomYes=document.getElementById?1:0;
    var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0;
    var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
    var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
    var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
    var DomNav=DomYes&&NavYes?1:0;
    var DomExp=DomYes&&ExpYes?1:0;
    var Nav4=NavYes&&!DomYes&&document.layers?1:0;
    var Exp4=ExpYes&&!DomYes&&document.all?1:0;
    var PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0;
    var FrstLoc,ScLoc,DcLoc;
    var ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght;
    var ScLdAgainWin;
    var FirstColPos,SecColPos,DocColPos;
    var RcrsLvl=0;
    var FrstCreat=1,Loadd=0,Creatd=0,IniFlg,AcrssFrms=1;
    var FrstCntnr=null,CurrntOvr=null,CloseTmr=null;
    var CntrTxt,TxtClose,ImgStr;
    var Ztop=100;
    var ShwFlg=0;
    var M_StrtTp=StartTop,M_StrtLft=StartLeft;
    var StaticPos=0;
    var LftXtra=DomNav&&!Opr?LeftPaddng:0; //Changed for Opera
    var TpXtra=DomNav?TopPaddng:0;
    var M_Hide=Nav4?'hide':'hidden';
    var M_Show=Nav4?'show':'visible';
    var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;
    var Doc=Par.document;
    var Bod=Doc.body;
    var Trigger=NavYes&&!Opr?Par:Bod; //Changed for Opera
    MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'center':MenuTextCentered==0||MenuTextCentered!='right'?'left':'right';
    WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "];
    if(Trigger.onload)Dummy=Trigger.onload;
    if(DomNav||Opr)Trigger.addEventListener('load',Go,false); //Changed for Opera
    else Trigger.onload=Go;
    function Dummy(){return}
    function CnclSlct(){return false}
    function RePos(){
    FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
    FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
    ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
    ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
    if(MenuCentered=='justify'&&FirstLineHorizontal){
    FrstCntnr.style.width=FrstWinWdth;
    ClcJus();
    var P=FrstCntnr.FrstMbr,W=Menu1[5],i;
    for(i=0;i<NoOffFirstLineMenus;i++){P.style.width=W;P=P.PrvMbr}}
                                 StaticPos=-1;
                                 if(TargetLoc)ClcTrgt();
                                 if(MenuCentered)ClcLft();
                                 if(MenuVerticalCentered)ClcTp();
                                 PosMenu(FrstCntnr,StartTop,StartLeft)}
                                 function UnLoaded(){
                                 if(CloseTmr)clearTimeout(CloseTmr);
                                 Loadd=0; Creatd=0;
                                 if(HideTop){
                                 var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
                                 FCStyle.visibility=M_Hide}}
                                 function ReDoWhole(){
    if(ScWinWdth!=ScLoc.innerWidth||ScWinHght!=ScLoc.innerHeight||FrstWinWdth!=FrstLoc.innerWidth||FrstWinHght!=FrstLoc.innerHeight)Doc.location.reload()}
                                 function Check(WMnu,NoOf){
                                 var i,array,ArrayLoc;
                                 ArrayLoc=parent.frames[0]?parent.frames[FirstLineFrame]:self;
                                 for(i=0;i<NoOf;i++){
                  array=WMnu+eval(i+1);
                  if(!ArrayLoc[array]){WbMstrAlrt(0,array); return false}
                  if(i==0){     if(!ArrayLoc[array][4]){WbMstrAlrt(1,array); return false}
                  if(!ArrayLoc[array][5]){WbMstrAlrt(2,array); return false}}
                  if(ArrayLoc[array][3])if(!Check(array+'_',ArrayLoc[array][3])) return false}
                  return true}
                  function WbMstrAlrt(No,Xtra){
                  return confirm(WbMstrAlrts[No]+Xtra+'   ')}
                  function Go(){
                  Dummy();
                  if(Loadd||!PosStrt)return;
                  BeforeStart();
                  Creatd=0; Loadd=1;
                  status='Building menu';
                  if(FrstCreat){
                  if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
                  FirstLineFrame=SecLineFrame;
                  if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
                  FirstLineFrame=SecLineFrame=DocTargetFrame;
                  if(FirstLineFrame =="" || !parent.frames[FirstLineFrame])FirstLineFrame=SecLineFrame=DocTargetFrame=''}}
                  if(SecLineFrame =="" || !parent.frames[SecLineFrame]){
                  SecLineFrame=DocTargetFrame;
                  if(SecLineFrame =="" || !parent.frames[SecLineFrame])SecLineFrame=DocTargetFrame=FirstLineFrame}
                  if(DocTargetFrame =="" || !parent.frames[DocTargetFrame])DocTargetFrame=SecLineFrame;
                  if(WebMasterCheck){     if(!Check('Menu',NoOffFirstLineMenus)){status='build aborted';return}}
                  FrstLoc=FirstLineFrame!=""?parent.frames[FirstLineFrame]:window;
                  ScLoc=SecLineFrame!=""?parent.frames[SecLineFrame]:window;
                  DcLoc=DocTargetFrame!=""?parent.frames[DocTargetFrame]:window;
                  if (FrstLoc==ScLoc) AcrssFrms=0;
                  if (AcrssFrms)FirstLineHorizontal=MenuFramesVertical?0:1;
                  FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
                  FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
                  ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
                  ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
                  if(Nav4){     CntrTxt=MenuTextCentered!='left'?"<div align='"+MenuTextCentered+"'>":"";
    TxtClose="</font>"+MenuTextCentered!='left'?"</div>":""}}
    FirstColPos=Nav4?FrstLoc.document:FrstLoc.document.body;
    SecColPos=Nav4?ScLoc.document:ScLoc.document.body;
    DocColPos=Nav4?DcLoc.document:ScLoc.document.body;
    if (TakeOverBgColor)FirstColPos.bgColor=AcrssFrms?SecColPos.bgColor:DocColPos.bgColor;
    if(MenuCentered=='justify'&&FirstLineHorizontal)ClcJus();
    if(FrstCreat){
    FrstCntnr=CreateMenuStructure('Menu',NoOffFirstLineMenus);
    FrstCreat=AcrssFrms?0:1}
    else CreateMenuStructureAgain('Menu',NoOffFirstLineMenus);
    if(TargetLoc)ClcTrgt();
    if(MenuCentered)ClcLft();
    if(MenuVerticalCentered)ClcTp();
    PosMenu(FrstCntnr,StartTop,StartLeft);
    IniFlg=1;
    Initiate();
    Creatd=1;
    if (AcrssFrms)      //Added for Opera
    {      //Added for Opera
    ScLdAgainWin=ExpYes?ScLoc.document.body:ScLoc;
    ScLdAgainWin.onunload=UnLoaded;
    }      //Added for Opera
    Trigger.onresize=Nav4?ReDoWhole:RePos;
    AfterBuild();
    if(MenuVerticalCentered=='static'&&!AcrssFrms)setInterval('KeepPos()',250);
    status='Menu ready for use'}
    function KeepPos(){
    var TS=ExpYes?FrstLoc.document.body.scrollTop:FrstLoc.pageYOffset;
    if(TS!=StaticPos){
    var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
    FCStyle.top=FrstCntnr.OrgTop=StartTop+TS;StaticPos=TS}}
    function ClcJus(){
    var a=BorderBtwnElmnts?1:2,b=BorderBtwnElmnts?BorderWidth:0;
    var Size=Math.round(((FrstWinWdth-a*BorderWidth)/NoOffFirstLineMenus)-b),i,j;
    for(i=1;i<NoOffFirstLineMenus+1;i++){j=eval('Menu'+i);j[5]=Size}
                                 StartLeft=0}
                                 function ClcTrgt(){
                                 var TLoc=Nav4?FrstLoc.document.layers[TargetLoc]:DomYes?FrstLoc.document.getElementById(TargetLoc):FrstLoc.document.all[TargetLoc];
                                 StartTop=M_StrtTp;
                                 StartLeft=M_StrtLft;
                                 if(DomYes){
                                 while(TLoc){StartTop+=TLoc.offsetTop;StartLeft+=TLoc.offsetLeft;TLoc=TLoc.offsetParent}}
                                 else{     StartTop+=Nav4?TLoc.pageY:TLoc.offsetTop;StartLeft+=Nav4?TLoc.pageX:TLoc.offsetLeft}}
                                 function ClcLft(){
                                 if(MenuCentered!='left'&&MenuCentered!='justify'){
                                 var Size=FrstWinWdth-(!Nav4?parseInt(FrstCntnr.style.width):FrstCntnr.clip.width);
                                 StartLeft=M_StrtLft;
                                 StartLeft+=MenuCentered=='right'?Size:Size/2}}
                                 function ClcTp(){
                                 if(MenuVerticalCentered!='top'&&MenuVerticalCentered!='static'){
                                 var Size=FrstWinHght-(!Nav4?parseInt(FrstCntnr.style.height):FrstCntnr.clip.height);
                                 StartTop=M_StrtTp;
                                 StartTop+=MenuVerticalCentered=='bottom'?Size:Size/2}}
                                 function PosMenu(CntnrPntr,Tp,Lt){
                                 var Topi,Lefti,Hori;
                                 var Cntnr=CntnrPntr;
                                 var Mmbr=Cntnr.FrstMbr;
                                 var CntnrStyle=!Nav4?Cntnr.style:Cntnr;
                                 var MmbrStyle=!Nav4?Mmbr.style:Mmbr;
                                 var PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
                                 var PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
                                 var MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
                                 var MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
                                 var CntnrWt=!Nav4?parseInt(CntnrStyle.width):CntnrStyle.clip.width;
                                 var CntnrHt=!Nav4?parseInt(CntnrStyle.height):CntnrStyle.clip.height;
                                 var SubTp,SubLt;
                                 RcrsLvl++;
                                 if (RcrsLvl==1 && AcrssFrms)!MenuFramesVertical?Tp=FrstWinHght-CntnrHt+(Nav4?4:0):Lt=RightToLeft?0:FrstWinWdth-CntnrWt+(Nav4?4:0);
                                 if (RcrsLvl==2 && AcrssFrms)!MenuFramesVertical?Tp=0:Lt=RightToLeft?ScWinWdth-CntnrWt:0;
                                 if (RcrsLvl==2 && AcrssFrms){Tp+=VerCorrect;Lt+=HorCorrect}
                                 CntnrStyle.top=RcrsLvl==1?Tp:0;
                                 Cntnr.OrgTop=Tp;
                                 CntnrStyle.left=RcrsLvl==1?Lt:0;
                                 Cntnr.OrgLeft=Lt;
                                 if (RcrsLvl==1 && FirstLineHorizontal){
                                 Hori=1;Lefti=CntnrWt-MmbrWt-2*BorderWidth;Topi=0}
                                 else{     Hori=Lefti=0;Topi=CntnrHt-MmbrHt-2*BorderWidth}
                                 while(Mmbr!=null){
                                 MmbrStyle.left=Lefti+BorderWidth;
                                 MmbrStyle.top=Topi+BorderWidth;
                                 if(Nav4)Mmbr.CmdLyr.moveTo(Lefti+BorderWidth,Topi+BorderWidth);
                                 if(Mmbr.ChildCntnr){
                                 if(RightToLeft)ChldCntnrWdth=Nav4?Mmbr.ChildCntnr.clip.width:parseInt(Mmbr.ChildCntnr.style.width);
                                 if(Hori){     SubTp=Topi+MmbrHt+2*BorderWidth;
                                 SubLt=RightToLeft?Lefti+MmbrWt-ChldCntnrWdth:Lefti}
                                 else{     SubLt=RightToLeft?Lefti-ChldCntnrWdth+ChildOverlap*MmbrWt+BorderWidth:Lefti+(1-ChildOverlap)*MmbrWt+BorderWidth;
                                 SubTp=RcrsLvl==1&&AcrssFrms?Topi:Topi+ChildVerticalOverlap*MmbrHt}
                                 PosMenu(Mmbr.ChildCntnr,SubTp,SubLt)}
                                 Mmbr=Mmbr.PrvMbr;
                                 if(Mmbr){     MmbrStyle=!Nav4?Mmbr.style:Mmbr;
                                 PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
                                 PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
                                 MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
                                 MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
                                 Hori?Lefti-=BorderBtwnElmnts?(MmbrWt+BorderWidth):(MmbrWt):Topi-=BorderBtwnElmnts?(MmbrHt+BorderWidth):(MmbrHt)}}
                                 RcrsLvl--}
                                 function Initiate(){
                                 if(IniFlg){     Init(FrstCntnr);IniFlg=0;
                                 if(ShwFlg)AfterCloseAll();ShwFlg=0}}
                                 function Init(CntnrPntr){
                                 var Mmbr=CntnrPntr.FrstMbr;
                                 var MCStyle=Nav4?CntnrPntr:CntnrPntr.style;
                                 RcrsLvl++;
                                 MCStyle.visibility=RcrsLvl==1?M_Show:M_Hide;
                                 while(Mmbr!=null){
                                 if(Mmbr.Hilite){Mmbr.Hilite=0;if(KeepHilite)LowItem(Mmbr)}
                                 if(Mmbr.ChildCntnr) Init(Mmbr.ChildCntnr);
                                 Mmbr=Mmbr.PrvMbr}
                                 RcrsLvl--}
                                 function ClearAllChilds(Pntr){
                                 var CPCCStyle;
                                 while (Pntr){
                                 if(Pntr.Hilite){
                                 Pntr.Hilite=0;
                                 if(KeepHilite)LowItem(Pntr);
                                 if(Pntr.ChildCntnr){
                                 CPCCStyle=Nav4?Pntr.ChildCntnr:Pntr.ChildCntnr.style;
                                 CPCCStyle.visibility=M_Hide;
                                 ClearAllChilds(Pntr.ChildCntnr.FrstMbr)}
                                 break}
                                 Pntr=Pntr.PrvMbr}}
                                 function GoTo(){
                                 if(this.LinkTxt){
                                 status='';
                                 var HP=Nav4?this.LowLyr:this;
                                 LowItem(HP);
                                 this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.location.href=this.LinkTxt}}
                                 function HiliteItem(P){
                                 if(Nav4){
                                 if(P.ro)P.document.images[P.rid].src=P.ri2;
                                 else{     if(P.HiBck)P.bgColor=P.HiBck;
                                 if(P.value.indexOf('<img')==-1){
                            P.document.write(P.Ovalue);
                            P.document.close()}}}
                            else{     if(P.ro){     var Lc=P.Level==1?FrstLoc:ScLoc;
                            Lc.document.images[P.rid].src=P.ri2}
                            else{     if(P.HiBck)P.style.backgroundColor=P.HiBck;
                            if(P.HiFntClr)P.style.color=P.HiFntClr}}
                            P.Hilite=1}
                            function LowItem(P){
                            if(P.ro){     if(Nav4)P.document.images[P.rid].src=P.ri1;
                            else{     var Lc=P.Level==1?FrstLoc:ScLoc;
                            Lc.document.images[P.rid].src=P.ri1}}
                            else{     if(Nav4){     if(P.LoBck)P.bgColor=P.LoBck;
                            if(P.value.indexOf('<img')==-1){
                            P.document.write(P.value);
                            P.document.close()}}
                            else{     if(P.LoBck)P.style.backgroundColor=P.LoBck;
                            if(P.LwFntClr)P.style.color=P.LwFntClr}}}
                            function OpenMenu(){
                            if(!Loadd||!Creatd) return;
                            var TpScrlld=ExpYes?ScLoc.document.body.scrollTop:ScLoc.pageYOffset;
                            var LScrlld=ExpYes?ScLoc.document.body.scrollLeft:ScLoc.pageXOffset;
                            var CCnt=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr;
                            var ThisHt=Nav4?this.clip.height:parseInt(this.style.height);
                            var ThisWt=Nav4?this.clip.width:parseInt(this.style.width);
                            var ThisLft=AcrssFrms&&this.Level==1&&!FirstLineHorizontal?0:Nav4?this.Container.left:parseInt(this.Container.style.left);
                            var ThisTp=AcrssFrms&&this.Level==1&&FirstLineHorizontal?0:Nav4?this.Container.top:parseInt(this.Container.style.top);
                            var HP=Nav4?this.LowLyr:this;
                            CurrntOvr=this;
                            IniFlg=0;
                            ClearAllChilds(this.Container.FrstMbr);
                            HiliteItem(HP);
                            if(CCnt!=null){
                            if(!ShwFlg){ShwFlg=1;     BeforeFirstOpen()}
                            var CCW=Nav4?this.LowLyr.ChildCntnr.clip.width:parseInt(this.ChildCntnr.style.width);
                            var CCH=Nav4?this.LowLyr.ChildCntnr.clip.height:parseInt(this.ChildCntnr.style.height);
                            var ChCntTL=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr.style;
                            var SubLt=AcrssFrms&&this.Level==1?CCnt.OrgLeft+ThisLft+LScrlld:CCnt.OrgLeft+ThisLft;
                            var SubTp=AcrssFrms&&this.Level==1?CCnt.OrgTop+ThisTp+TpScrlld:CCnt.OrgTop+ThisTp;
                            if(MenuWrap){
                            if(RightToLeft){
                            if(SubLt<LScrlld)SubLt=this.Level==1?LScrlld:SubLt+(CCW+(1-2*ChildOverlap)*ThisWt);
                    if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=ScWinWdth+LScrlld-CCW}
                    else{     if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=this.Level==1?ScWinWdth+LScrlld-CCW:SubLt-(CCW+(1-2*ChildOverlap)*ThisWt);
                    if(SubLt<LScrlld)SubLt=LScrlld}
                    if(SubTp+CCH>TpScrlld+ScWinHght)SubTp=this.Level==1?SubTp=TpScrlld+ScWinHght-CCH:SubTp-CCH+(1-2*ChildVerticalOverlap)*ThisHt;
                    if(SubTp<TpScrlld)SubTp=TpScrlld}
                     ChCntTL.top=SubTp;ChCntTL.left=SubLt;ChCntTL.visibility=M_Show}
                     status=this.LinkTxt}
                     function OpenMenuClick(){
                     if(!Loadd||!Creatd) return;
                     var HP=Nav4?this.LowLyr:this;
                     CurrntOvr=this;
                     IniFlg=0;
                     ClearAllChilds(this.Container.FrstMbr);
                     HiliteItem(HP);
                     status=this.LinkTxt}
                     function CloseMenu(){
                     if(!Loadd||!Creatd) return;
                     if(!KeepHilite){
                     var HP=Nav4?this.LowLyr:this;
                     LowItem(HP)}
                     status='';
                     if(this==CurrntOvr){
                     IniFlg=1;
                     if(CloseTmr)clearTimeout(CloseTmr);
                     CloseTmr=setTimeout('Initiate(CurrntOvr)',DissapearDelay)}}
                     function CntnrSetUp(Wdth,Hght,NoOff){
                     var x=RcrsLvl==1?BorderColor:BorderSubColor;
                     this.FrstMbr=null;
                     this.OrgLeft=this.OrgTop=0;
                     if(x)this.bgColor=x;
                     if(Nav4){     this.visibility='hide';
                     this.resizeTo(Wdth,Hght)}
                     else{     if(x)this.style.backgroundColor=x;
                     this.style.width=Wdth;
                     this.style.height=Hght;
                     this.style.fontFamily=FontFamily;
                     this.style.fontWeight=FontBold?'bold':'normal';
                     this.style.fontStyle=FontItalic?'italic':'normal';
                     this.style.fontSize=FontSize+'pt';
                     this.style.zIndex=RcrsLvl+Ztop}}
                     function MbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
                     var Location=RcrsLvl==1?FrstLoc:ScLoc;
                     var MemVal=eval(WhatMenu+'[0]');
                     var t,T,L,W,H,S;
                     var a,b,c,d;
                     this.PrvMbr=PrMmbr;
                     this.Level=RcrsLvl;
                     this.LinkTxt=eval(WhatMenu+'[1]');
                     this.Container=MmbrCntnr;
                     this.ChildCntnr=null;
                     this.Hilite=0;
                     this.style.overflow='hidden';
                     this.style.cursor=ExpYes&&(this.LinkTxt||(RcrsLvl==1&&UnfoldsOnClick))?'hand':'default';
                     this.ro=0;
                     if(MemVal.indexOf('rollover')!=-1){
                     this.ro=1;
                     this.ri1=MemVal.substring(MemVal.indexOf(':')+1,MemVal.lastIndexOf(':'));
                     this.ri2=MemVal.substring(MemVal.lastIndexOf(':')+1,MemVal.length);
                     this.rid=WhatMenu+'i';MemVal="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    this.value=MemVal;
    if(RcrsLvl==1){
    a=LowBgColor;
    b=HighBgColor;
    c=FontLowColor;
    d=FontHighColor}
    else{     a=LowSubBgColor;
    b=HighSubBgColor;
    c=FontSubLowColor;
    d=FontSubHighColor}
    this.LoBck=a;
    this.LwFntClr=c;
    this.HiBck=b;
    this.HiFntClr=d;
    this.style.color=this.LwFntClr;
    if(this.LoBck)this.style.backgroundColor=this.LoBck;
    this.style.textAlign=MenuTextCentered;
    if(eval(WhatMenu+'[2]'))this.style.backgroundImage="url(\'"+eval(WhatMenu+'[2]')+"\')";
    if(MemVal.indexOf('<')==-1){
    this.style.width=Wdth-LftXtra;
    this.style.height=Hght-TpXtra;
    this.style.paddingLeft=LeftPaddng;
    this.style.paddingTop=TopPaddng}
    else{     this.style.width=Wdth;
    this.style.height=Hght}
    if(MemVal.indexOf('<')==-1&&DomYes){
    t=Location.document.createTextNode(MemVal);
    this.appendChild(t)}
    else this.innerHTML=MemVal;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
    a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
    S=Arrws[a];
    W=Arrws[a+1];
    H=Arrws[a+2];
    T=RcrsLvl==1&&FirstLineHorizontal?Hght-H-2:(Hght-H)/2;
    L=RightToLeft?2:Wdth-W-2;
    if(DomYes){
    t=Location.document.createElement('img');
    this.appendChild(t);
    t.style.position='absolute';
    t.src=S;
    t.style.width=W;
    t.style.height=H;
    t.style.top=T;
    t.style.left=L}
    else{     MemVal+="<div style='position:absolute; top:"+T+"; left:"+L+"; width:"+W+"; height:"+H+";visibility:inherit'><img src='"+S+"'></div>";
    this.innerHTML=MemVal}}
    if(ExpYes){this.onselectstart=CnclSlct;
    this.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
    this.onmouseout=CloseMenu;
    this.onclick=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo     }
    else{     RcrsLvl==1&&UnfoldsOnClick?this.addEventListener('mouseover',OpenMenuClick,false):this.addEventListener('mouseover',OpenMenu,false);
    this.addEventListener('mouseout',CloseMenu,false);
    RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?this.addEventListener('click',OpenMenu,false):this.addEventListener('click',GoTo,false)}}
    function NavMbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
    var a,b,c,d;
    if(RcrsLvl==1){
    a=LowBgColor;
    b=HighBgColor;
    c=FontLowColor;
    d=FontHighColor}
    else {     a=LowSubBgColor;
    b=HighSubBgColor;
    c=FontSubLowColor;
    d=FontSubHighColor     }
    this.value=eval(WhatMenu+'[0]');
    this.ro=0;
    if(this.value.indexOf('rollover')!=-1){
    this.ro=1;
    this.ri1=this.value.substring(this.value.indexOf(':')+1,this.value.lastIndexOf(':'));
    this.ri2=this.value.substring(this.value.lastIndexOf(':')+1,this.value.length);
    this.rid=WhatMenu+'i';this.value="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    if(LeftPaddng&&this.value.indexOf('<')==-1&&MenuTextCentered=='left')this.value='�\;'+this.value;
    if(FontBold)this.value=this.value.bold();
    if(FontItalic)this.value=this.value.italics();
    this.Ovalue=this.value;
    this.value=this.value.fontcolor(c);
    this.Ovalue=this.Ovalue.fontcolor(d);
    this.value=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.value+TxtClose;
    this.Ovalue=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.Ovalue+TxtClose;
    this.LoBck=a;
    this.HiBck=b;
    this.ChildCntnr=null;
    this.PrvMbr=PrMmbr;
    this.Hilite=0;
    this.visibility='inherit';
    if(this.LoBck)this.bgColor=this.LoBck;
    this.resizeTo(Wdth,Hght);
    if(!AcrssFrms&&eval(WhatMenu+'[2]'))this.background.src=eval(WhatMenu+'[2]');
    this.document.write(this.value);
    this.document.close();
    this.CmdLyr=new Layer(Wdth,MmbrCntnr);
    this.CmdLyr.Level=RcrsLvl;
    this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]');
    this.CmdLyr.visibility='inherit';
    this.CmdLyr.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
    this.CmdLyr.onmouseout=CloseMenu;
    this.CmdLyr.captureEvents(Event.MOUSEUP);
    this.CmdLyr.onmouseup=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo;
    this.CmdLyr.LowLyr=this;
    this.CmdLyr.resizeTo(Wdth,Hght);
    this.CmdLyr.Container=MmbrCntnr;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
    a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
    this.CmdLyr.ImgLyr=new Layer(Arrws[a+1],this.CmdLyr);
    this.CmdLyr.ImgLyr.visibility='inherit';
    this.CmdLyr.ImgLyr.top=RcrsLvl==1&&FirstLineHorizontal?Hght-Arrws[a+2]-2:(Hght-Arrws[a+2])/2;
    this.CmdLyr.ImgLyr.left=RightToLeft?2:Wdth-Arrws[a+1]-2;
    this.CmdLyr.ImgLyr.width=Arrws[a+1];
    this.CmdLyr.ImgLyr.height=Arrws[a+2];
    ImgStr="<img src='"+Arrws[a]+"' width='"+Arrws[a+1]+"' height='"+Arrws[a+2]+"'>";
    this.CmdLyr.ImgLyr.document.write(ImgStr);
    this.CmdLyr.ImgLyr.document.close()}}
    function CreateMenuStructure(MName,NumberOf){
    RcrsLvl++;
    var i,NoOffSubs,Mbr,Wdth=0,Hght=0;
    var PrvMmbr=null;
    var WMnu=MName+'1';
    var MenuWidth=eval(WMnu+'[5]');
    var MenuHeight=eval(WMnu+'[4]');
    var Location=RcrsLvl==1?FrstLoc:ScLoc;
    if (RcrsLvl==1&&FirstLineHorizontal){
    for(i=1;i<NumberOf+1;i++){
                      WMnu=MName+eval(i);
                      Wdth=eval(WMnu+'[5]')?Wdth+eval(WMnu+'[5]'):Wdth+MenuWidth}
                      Wdth=BorderBtwnElmnts?Wdth+(NumberOf+1)*BorderWidth:Wdth+2*BorderWidth;Hght=MenuHeight+2*BorderWidth}
                      else{     for(i=1;i<NumberOf+1;i++){
                            WMnu=MName+eval(i);
                            Hght=eval(WMnu+'[4]')?Hght+eval(WMnu+'[4]'):Hght+MenuHeight}
                            Hght=BorderBtwnElmnts?Hght+(NumberOf+1)*BorderWidth:Hght+2*BorderWidth;Wdth=MenuWidth+2*BorderWidth}
                            if(DomYes){
                            var MmbrCntnr=Location.document.createElement("div");
                            MmbrCntnr.style.position='absolute';
                            MmbrCntnr.style.visibility='hidden';
                            Location.document.body.appendChild(MmbrCntnr)}
                            else{     if(Nav4) var MmbrCntnr=new Layer(Wdth,Location)
                            else{     WMnu+='c';
                            Location.document.body.insertAdjacentHTML("AfterBegin","<div id='"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

Maybe you are looking for

  • Report using ref cursor or dynamic Sql

    Hi, I never create a report using a ref cursor or a dynamic sql. Could any one help me to solve the below issue. I have 2 tables. 1. Student_Record 2. Student_csv_help Student_Record the main table where the data is stored. Student_csv_help will cont

  • Location code on org.units

    Hi group, One of our clients need to register a code for location on their org.units. 14 characters, alphanumeric. Table of values to exsist behind the field.  Can you suggest any fields or infotypes we could use for this without making our own?  I c

  • 3D Doesn't work after changing the LCD Screen

    Hi, I had a problem with my Toshiba Qosmio F755-3D350 the LCD screen broke and I have to replace it with a new screen. The new screen is the same model : B156HB01 V.0 from Au electronics, that the original screen on my laptop had. everything works fi

  • Challenges and limitation with ECM ?

    Hi, We are evaluating ECM (ERP2004) to automate our compensation process. The following limitations hinder us from pursuing with ECM. I wonder if any of you have experienced with these limitations and managed to overcome via some workaround solutions

  • Resizing an indesign file to export a smaller pdf

    Please help! I have created a 120 page catologue in indesign. There are numerous photos linked to the file and the file is huge. I'm trying to export a pdf small enough to download off of a website. Right now the pdf is taking too long to download of