Transaction codes is not working in WEB GUI URL
Hi All,
We configured Integrated ITS in ECC 6.0 it is working fine but
if i enter any Tcode in URL but it showing SAP Easy access screen only .i want run some tcode throug URL .Can you please let me know how solve this issue.
Thanks in advance
Regards,
Hari Prasad.L
Hello Hari,
Your URL should probably look something like:
http://hostname:port/sap/bc/gui/sap/its/webgui?~transaction=sm50
this would start webgui in transaction SM50.
You can add parameters to the URL with the & so:
http://hostname:port/sap/bc/gui/sap/its/webgui?~transaction=sm50&sap-client=100&sap-language=EN
this would start webgui in client 100 with language English in transaction SM50
Edgar
Similar Messages
-
TH_DELETE_MODE not working in Web GUI after EHP7 upgrade
Hi
After upgrading to EHP7 the function module TH_DELETE_MODE is not working in the Web GUI. If I start the TH_DELETE_MODE in SE37 with the default paramter "1-" I'll get the HTTP error code 500. We use the function module for our webdynpro to logout but it is not working anymore.
Any idea or recommendation?
Thank you and best regards, RonnyYour server-side include has all of the HTML on it for a full
page.
Strip everything from it except the stuff you want to
include.
http://www.fordwebs.com/mx-asp/ssi-index.asp
Ken Ford
Adobe Community Expert
Fordwebs, LLC
http://www.fordwebs.com
"ValsGalore" <[email protected]> wrote in
message news:f019c0$in1$[email protected]..
>I just recently began work on an existing Web site, which
includes the file
> nav.asp on every page. After I made some changes to one
of the pages (it's
> temporarily located at
http://www.enviroglasproducts.com/reps5.asp),
I found
> that when I closed it and reopened it in Dreamweaver, I
could no longer see the
> page in preview mode.
>
> It shows my </head> tag highlighted in yellow, but
won't let me click on it.
> In code view, the <table> tag, which is the first
tag after <body>, is "marked
> as invalid because it's an overlapping or unclosed tag."
I've been over this
> document several times, but I cannot find any errors in
the construction of the
> table.
>
> If I copy all the content into an identical page, it
will look fine in
> Dreamweaver until I close it and reopen it, and then I
will have the same
> problem.
>
> Oddly, when I remove the <!--#include file="nav.asp"
--> from the second cell
> of the main table, then everything looks fine.
>
> Other points worth mentioning are that (until I delete
it), nav.asp shows up
> in its proper location in reps5.asp, but nothing else
does except for the image
> that appears right above it.
>
> In other pages on the site, the included nav.asp does
not show up in
> Dreamweaver at all.
>
> Can anyone think of why this is happening?
>
> Thanks!
> -
2602e Reset to Defaults Except IP not Work over Web GUI
Hello,
1. Set a Static IP
2. Apply & Save Configuration
3. After Reboot the IP is correct.
Then do Reset to Defaults Except IP in the WEB Gui.
After Reboot the AP loos the static IP and get a DHCP Address.
Reset to Defaults Except IP = Reset to Defaults !
Whats Wrong ?OK, here is:
Writing out the event log to flash:/event.log ...
*Jan 22 17:44:56.675: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
*Jan 22 17:44:57.547: %SYS-5-RELOAD: Reload requested by on console. Reload Reason: Reload Command.
Write of event.log done
IOS Bootloader - Starting system.
flash is writable
FLASH CHIP: Numonyx Mirrorbit (0089)
Xmodem file system is available.
flashfs[0]: 212 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 31997952
flashfs[0]: Bytes used: 15058432
flashfs[0]: Bytes available: 16939520
flashfs[0]: flashfs fsck took 23 seconds.
Reading cookie from SEEPROM
Base Ethernet MAC address: 10:f3:11:c2:2e:3a
Ethernet speed is 1000 Mb - FULL Duplex
Loading "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a"...##########################
File "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a" uncompressed and installed, entry point: 0x2003000
executing...
Secondary Bootloader - Starting system.
Tide MB - 32MB of flash
Xmodem file system is available.
flashfs[0]: 212 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 31997952
flashfs[0]: Bytes used: 15058432
flashfs[0]: Bytes available: 16939520
flashfs[0]: flashfs fsck took 14 seconds.
Base Ethernet MAC address: 10:f3:11:c2:2e:3a
Boot CMD: 'boot flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a;flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a'
Loading "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a"...#######################################
File "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a" uncompressed and installed, entry point: 0x1003000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C3600 Software (AP3G2-K9W7-M), Version 15.2(4)JB3a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Mon 23-Dec-13 08:11 by prod_rel_team
Tide MB - 32MB of flash
Initializing flashfs...
flashfs[3]: 212 files, 7 directories
flashfs[3]: 0 orphaned files, 0 orphaned directories
flashfs[3]: Total bytes: 31739904
flashfs[3]: Bytes used: 15058432
flashfs[3]: Bytes available: 16681472
flashfs[3]: flashfs fsck took 12 seconds.
flashfs[3]: Initialization complete.
flashfs[4]: 0 files, 1 directories
flashfs[4]: 0 orphaned files, 0 orphaned directories
flashfs[4]: Total bytes: 11999232
flashfs[4]: Bytes used: 1024
flashfs[4]: Bytes available: 11998208
flashfs[4]: flashfs fsck took 0 seconds.
flashfs[4]: Initialization complete.
Copying radio files from flash: to ram:
Copy in progress...CCCCC
Copy in progress...CCC
Copy in progress...CCCC
Copy in progress...CCCC
Copy in progress...CC
Copy in progress...CCC
Copy in progress...CC
Copy in progress...CCCCC
Uncompressing radio files...
...done Initializing flashfs.
Radio0 present 8764 8000 0 A8000000 A8010000 0
Rate table has 650 entries (20 legacy/224 11n/406 11ac)
POWER TABLE FILENAME = ram:/B2.bin
Radio1 present 8764 8000 0 88000000 88010000 4
POWER TABLE FILENAME = ram:/B5.bin
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
cisco AIR-SAP2602E-E-K9 (PowerPC) processor (revision A0) with 204790K/57344K bytes of memory.
Processor board ID FGL1711Z6K6
PowerPC CPU at 800Mhz, revision number 0x2151
Last reset from power-on
1 Gigabit Ethernet interface
2 802.11 Radios
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 10:F3:11:C2:2E:3A
Part Number : 73-14511-02
PCA Assembly Number : 800-37898-01
PCA Revision Number : A0
PCB Serial Number : FOC17093TXF
Top Assembly Part Number : 800-38357-01
Top Assembly Serial Number : FGL1711Z6K6
Top Revision Number : A0
Product/Model Number : AIR-SAP2602E-E-K9
Press RETURN to get started!
*Mar 1 00:00:16.035: %IFMGR-7-NO_IFINDEX_FILE: Unable to open nvram:/ifIndex-table No such file or directory
*Mar 1 00:00:16.151: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed (11)APAVC: WlanPAKs 18174 RadioPaks 17566
*Mar 1 00:00:23.131: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0 (4)
*Mar 1 00:00:29.443: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1 (4)
*Mar 1 00:00:29.503: initializing dot11 onplus
*Mar 1 00:00:29.667: not a autoconfig enabled device!!!
*Mar 1 00:00:31.671: %LINK-6-UPDOWN: Interface GigabitEthernet0, changed state to up
*Mar 1 00:00:32.671: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
*Mar 1 00:01:18.015: Starting Ethernet promiscuous mode
*Jan 22 17:44:57.000: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to administratively down
*Jan 22 17:44:57.000: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to administratively down
*Jan 22 17:44:57.007: %CDP_PD-4-POWER_OK: Full power - HIGH_POWER inline power source
*Jan 22 17:44:57.015: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C3600 Software (AP3G2-K9W7-M), Version 15.2(4)JB3a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Mon 23-Dec-13 08:11 by prod_rel_team
*Jan 22 17:44:57.015: %SNMP-5-COLDSTART: SNMP agent on host ap is undergoing a cold start
*Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
*Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
*Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to downERROR: Failed to configure ethernet promiscuous mode. Interface Descriptor mismatch
*Jan 22 17:45:01.667: %SOAP_FIPS-2-SELF_TEST_HW_SUCCESS: HW crypto FIPS self test passed (0-0)
*Jan 22 17:45:01.667: DPAA Initialization Complete
*Jan 22 17:45:01.667: %SYS-3-HARIKARI: Process DPAA INIT top-level routine exited
*Jan 22 17:45:02.667: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
*Jan 22 17:45:06.863: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.16.33.216, mask 255.255.254.0, hostname ap -
Transaction ivew error, not working for any GUI type.
All,
After searching a lot through forums, i am unable to find any solution and i am posting my problem here.
I am simply connecting EP using a system object to R/3 thats it. system connetiong is successfull,
however, transaction iview returns a dump if i use winGUI and gives following error if i use WebGUI:
Application URL ':///sap(ZT03bzI3R2hPUnBBcXJXTkE4OVZITGd3JTNEJTNEd3FrY3phNTFlaGl2WmQ4QVhreXVadyUzRCUzRA==)/bc/gui/sap/its/webgui' is not valid! Please check the protocol and host entries for system 'SCM_5'
I really do not understand what it is asking for, i have host entries properly configured. I have transaction that are web enabled. Now what should i do to get rid of this problem?
Kindly help me out. I m struggling with such a simple issue since yesterday.
Regards,
Ameya
Edited by: Ameya Pimpalgaonkar on Jul 16, 2008 8:28 AMHello,
Have you activated the Integrated ITS yet? Have a look at the SAP Library for help on activating the ITS in WAS 6.40.
http://help.sap.com/saphelp_nw04/helpdata/en/3d/b5f9c2ea65c242957ee504ca4a37a9/frameset.htm
checK ITS PATH parametr in system alias properties
for more information , check below thread
I want to access the sap R3 transaction ( was 6.4 ) using integrated its
Hope this helps
Koti Reddy -
Drop-down box does not work with Web GUI
Situation:
On CE5 (ECC 5.)-> transaction "MM02"
-> click on drop-down for "Material"
-> see distorted pop-up
Solution:
apply kernel patch #144.
ITS is part of the Basis, starting with WebAS 6.40You wouldn't happen to be using Vista's Home Edition are you? I work from home and have Vista Home on one of my PC's and it has the same issue when I'm connected to 2004s systems. Vista Home isn't supported. Only Vista Prof. Oddly, if I'm using the same GUI to attach to 4.6C releases, I don't have this issue.
-
Download to excel not working in web gui
Hi All,
I created a transcation for a z report and selected the radio button Easy Web Transcation and check box SAP GUI for HTML while creating the transcation since this transcation link has to be given on SRM portal .
Now when we click link on SRM portal and execute the report everything is fine but when we click the button Local File from menu , a popup comes in which we select Spreadsheet radio button and press continue , a message is displayed in status bar of explorer
load :class Query not found
and the download never complets it only shows the hourglass.
How to solve this?
Regards,
AnubhavHi @all
Excel Export needs an installed Java RE on the client side
I solved the problem by installing JRE 1.6.0.
Regards
Marcel
Edited by: Marcel Hündler on Feb 16, 2010 5:30 PM -
Colors not displaying in WEB GUI
Hi,
In WEB GUI, I am unable to see the colors in my ALV Grid when the fields are in editable mode where as in SAP GUI am able to. There is no problem when the fields are in non-editable mode.
Can you help me out to view the colors in my ALV Grid for the editable fields in WEB GUI?
Thanks,
Adithya M.You might be out of luck, because usually there are no specific settings for the WEB GUI. And one of the problems with WEB GUI is that it doesn't support all the functionality which is offered in your standard GUI. So it is possible that this is exactly one of the scenarios WEB GUI doesn't support. That is also the reason why not all SAP transaction work in WEB GUI. We had issues with parts of TEM transactions not working via WEB GUI.
Michael -
Why this code is not working??? java script
gen_validatorv2.js
JavaScript Form Validator
Version 2.0.2
Copyright 2003 JavaScript-coder.com. All rights reserved.
You use this script in your Web pages, provided these opening credit
lines are kept intact.
The Form validation script is distributed free from JavaScript-Coder.com
You may please add a link to JavaScript-Coder.com,
making it easy for others to find this script.
Checkout the Give a link and Get a link page:
http://www.javascript-coder.com/links/how-to-link.php
You may not reprint or redistribute this code without permission from
JavaScript-Coder.com.
JavaScript Coder
It precisely codes what you imagine!
Grab your copy here:
http://www.javascript-coder.com/
function Validator(frmname)
this.formobj=document.forms[frmname];
if(!this.formobj)
alert("BUG: couldnot get Form object "+frmname);
return;
if(this.formobj.onsubmit)
this.formobj.old_onsubmit = this.formobj.onsubmit;
this.formobj.onsubmit=null;
else
this.formobj.old_onsubmit = null;
this.formobj.onsubmit=form_submit_handler;
this.addValidation = add_validation;
this.setAddnlValidationFunction=set_addnl_vfunction;
this.clearAllValidations = clear_all_validations;
function set_addnl_vfunction(functionname)
this.formobj.addnlvalidation = functionname;
function clear_all_validations()
for(var itr=0;itr < this.formobj.elements.length;itr++)
this.formobj.elements[itr].validationset = null;
function form_submit_handler()
for(var itr=0;itr < this.elements.length;itr++)
if(this.elements[itr].validationset &&
!this.elements[itr].validationset.validate())
return false;
if(this.addnlvalidation)
str =" var ret = "+this.addnlvalidation+"()";
eval(str);
if(!ret) return ret;
return true;
function add_validation(itemname,descriptor,errstr)
if(!this.formobj)
alert("BUG: the form object is not set properly");
return;
}//if
var itemobj = this.formobj[itemname];
if(!itemobj)
alert("BUG: Couldnot get the input object named: "+itemname);
return;
if(!itemobj.validationset)
itemobj.validationset = new ValidationSet(itemobj);
itemobj.validationset.add(descriptor,errstr);
function ValidationDesc(inputitem,desc,error)
this.desc=desc;
this.error=error;
this.itemobj = inputitem;
this.validate=vdesc_validate;
function vdesc_validate()
if(!V2validateData(this.desc,this.itemobj,this.error))
this.itemobj.focus();
return false;
return true;
function ValidationSet(inputitem)
this.vSet=new Array();
this.add= add_validationdesc;
this.validate= vset_validate;
this.itemobj = inputitem;
function add_validationdesc(desc,error)
this.vSet[this.vSet.length]=
new ValidationDesc(this.itemobj,desc,error);
function vset_validate()
for(var itr=0;itr<this.vSet.length;itr++)
if(!this.vSet[itr].validate())
return false;
return true;
function validateEmailv2(email)
// a very simple email validation checking.
// you can add more complex email checking if it helps
if(email.length <= 0)
return true;
var splitted = email.match("^(.+)@(.+)$");
if(splitted == null) return false;
if(splitted[1] != null )
var regexp_user=/^\"?[\w-_\.]*\"?$/;
if(splitted[1].match(regexp_user) == null) return false;
if(splitted[2] != null)
var regexp_domain=/^[\w-\.]*\.[A-Za-z]{2,4}$/;
if(splitted[2].match(regexp_domain) == null)
var regexp_ip =/^\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\]$/;
if(splitted[2].match(regexp_ip) == null) return false;
}// if
return true;
return false;
function V2validateData(strValidateStr,objValue,strError)
var epos = strValidateStr.search("=");
var command = "";
var cmdvalue = "";
if(epos >= 0)
command = strValidateStr.substring(0,epos);
cmdvalue = strValidateStr.substr(epos+1);
else
command = strValidateStr;
switch(command)
case "req":
case "required":
if(eval(objValue.value.length) == 0)
if(!strError || strError.length ==0)
strError = objValue.name + " : Required Field";
}//if
alert(strError);
return false;
}//if
break;
}//case required
case "maxlength":
case "maxlen":
if(eval(objValue.value.length) > eval(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name + " : "+cmdvalue+" characters maximum ";
}//if
alert(strError + "\n[Current length = " + objValue.value.length + " ]");
return false;
}//if
break;
}//case maxlen
case "minlength":
case "minlen":
if(eval(objValue.value.length) < eval(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name + " : " + cmdvalue + " characters minimum ";
}//if
alert(strError + "\n[Current length = " + objValue.value.length + " ]");
return false;
}//if
break;
}//case minlen
case "alnum":
case "alphanumeric":
var charpos = objValue.value.search("[^A-Za-z0-9]");
if(objValue.value.length > 0 && charpos >= 0)
if(!strError || strError.length ==0)
strError = objValue.name+": Only alpha-numeric characters allowed ";
}//if
alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
return false;
}//if
break;
}//case alphanumeric
case "num":
case "numeric":
var charpos = objValue.value.search("[^0-9]");
if(objValue.value.length > 0 && charpos >= 0)
if(!strError || strError.length ==0)
strError = objValue.name+": Only digits allowed ";
}//if
alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
return false;
}//if
break;
}//numeric
case "alphabetic":
case "alpha":
var charpos = objValue.value.search("[^A-Za-z]");
if(objValue.value.length > 0 && charpos >= 0)
if(!strError || strError.length ==0)
strError = objValue.name+": Only alphabetic characters allowed ";
}//if
alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
return false;
}//if
break;
}//alpha
case "alnumhyphen":
var charpos = objValue.value.search("[^A-Za-z0-9\-_]");
if(objValue.value.length > 0 && charpos >= 0)
if(!strError || strError.length ==0)
strError = objValue.name+": characters allowed are A-Z,a-z,0-9,- and _";
}//if
alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
return false;
}//if
break;
case "email":
if(!validateEmailv2(objValue.value))
if(!strError || strError.length ==0)
strError = objValue.name+": Enter a valid Email address ";
}//if
alert(strError);
return false;
}//if
break;
}//case email
case "lt":
case "lessthan":
if(isNaN(objValue.value))
alert(objValue.name+": Should be a number ");
return false;
}//if
if(eval(objValue.value) >= eval(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name + " : value should be less than "+ cmdvalue;
}//if
alert(strError);
return false;
}//if
break;
}//case lessthan
case "gt":
case "greaterthan":
if(isNaN(objValue.value))
alert(objValue.name+": Should be a number ");
return false;
}//if
if(eval(objValue.value) <= eval(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name + " : value should be greater than "+ cmdvalue;
}//if
alert(strError);
return false;
}//if
break;
}//case greaterthan
case "regexp":
if(objValue.value.length > 0)
if(!objValue.value.match(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name+": Invalid characters found ";
}//if
alert(strError);
return false;
}//if
break;
}//case regexp
case "dontselect":
if(objValue.selectedIndex == null)
alert("BUG: dontselect command for non-select Item");
return false;
if(objValue.selectedIndex == eval(cmdvalue))
if(!strError || strError.length ==0)
strError = objValue.name+": Please Select one option ";
}//if
alert(strError);
return false;
break;
}//case dontselect
}//switch
return true;
Copyright 2003 JavaScript-coder.com. All rights reserved.
example.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Example for Validator</title>
<script language="JavaScript" src="gen_validatorv2.js" type="text/javascript"></script>
</head>
<body>
<form action="" name="myform" >
<table cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="right">First Name</td>
<td><input type="text" name="FirstName"></td>
</tr>
<tr>
<td align="right">Last Name</td>
<td><input type="text" name="LastName"></td>
</tr>
<tr>
<td align="right">EMail</td>
<td><input type="text" name="Email"></td>
</tr>
<tr>
<td align="right">Phone</td>
<td><input type="text" name="Phone"></td>
</tr>
<tr>
<td align="right">Address</td>
<td><textarea cols="20" rows="5" name="Address"></textarea></td>
</tr>
<tr>
<td align="right">Country</td>
<td>
<SELECT name="Country">
<option value="" selected>[choose yours]
<option value="008">Albania
<option value="012">Algeria
<option value="016">American Samoa
<option value="020">Andorra
<option value="024">Angola
<option value="660">Anguilla
<option value="010">Antarctica
<option value="028">Antigua And Barbuda
<option value="032">Argentina
<option value="051">Armenia
<option value="533">Aruba
</SELECT>
</td>
</tr>
<tr>
<td align="right"></td>
<td><input type="submit" value="Submit"></td>
</tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">
//You should create the validator only after the definition of the HTML form
var frmvalidator = new Validator("myform");
frmvalidator.addValidation("FirstName","req","Please enter your First Name");
frmvalidator.addValidation("FirstName","maxlen=20",
"Max length for FirstName is 20");
frmvalidator.addValidation("FirstName","alpha");
frmvalidator.addValidation("LastName","req");
frmvalidator.addValidation("LastName","maxlen=20");
frmvalidator.addValidation("Email","maxlen=50");
frmvalidator.addValidation("Email","req");
frmvalidator.addValidation("Email","email");
frmvalidator.addValidation("Phone","maxlen=50");
frmvalidator.addValidation("Phone","numeric");
frmvalidator.addValidation("Address","maxlen=50");
frmvalidator.addValidation("Country","dontselect=0");
</script>
</body>
</html>
documentation.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>JavaScript Form Validator Documentation</title>
<Style>
BODY, P,TD{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 10pt }
H1{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 18pt; color : #000066}
H3{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 12pt; color : #000066 }
A{font-family: Arial,Verdana,Helvetica, sans-serif;}
B { font-family : Arial, Helvetica, sans-serif; font-size : 12px; font-weight : bold;}
CODE {font-family : Courier,monospace;font-size: 10pt;color : #800000;}
CODE.htm {font-family : "Courier New", Courier, monospace; font-size : x-small; color : #000080;}
</Style>
</head>
<body>
<center>
<table cellspacing="2" cellpadding="2" border="0" width="600">
<tr><td>
<h1>JavaScript Form Validations Made Easy!</h1>
<h3>Documentation for JavaScript Form Validator</h3>
<HR size=1>
<P>
The Form validation script is distributed free from JavaScript-Coder.com<br>
You can use the script in your web pages for free.
</P>
<P>
You may please add a link to JavaScript-Coder.com,
making it easy for others to find this script.<br>
Checkout the <A href="http://www.javascript-coder.com/links/how-to-link.php
target="_blank">Give a Link & Get a Link!</A> page.
</P>
<P>
<B>JavaScript Coder</B><br>
It precisely codes what you imagine!<br>
Grab your copy here: http://www.javascript-coder.com
</P>
<HR size=1>
<P>
Using client side JavaScript is an efficient way to validate the user input
in web applications. When there are many fields in the form, the JavaScript
validation becomes too complex.
</P>
<P>
The JavaScript class presented here makes the form validations many times easier.
</P>
<P>
The idea is to create a set of "validation descriptors" associated with each element
in a form. The "validation descriptor" is nothing but a string specifying the type of
validation to be performed.
</P>
<P>
Each field in the form can have 0, 1, or more validations. For example, the input should
not be empty, should be less than 25 chars, should be alpha-numeric, etc
</P>
You can associate a set of validation descriptors for each input field in the form.
<a name="3"></a>
<h3>Using The Script</h3>
1.Include gen_validatorv2.js in your html file just before closing the HEAD tag<br><br>
<CODE>
<script language="JavaScript" src="gen_validatorv2.js" type="text/javascript"></script><BR>
</head><BR>
</CODE><br>
2. Just after defining your form,
Create a form validator object passing the name of the form<br><br>
<CODE class='htm'>
<FORM name='myform' action=""><BR>
<!----Your input fields go here --><BR>
</FORM><BR>
</CODE><CODE>
<SCRIPT language="JavaScript"><BR>
var frmvalidator = new Validator("myform");<BR>
</CODE>
<br>
<br>
3. Now add the validations required<br><br>
<CODE>
frmvalidator.addValidation("FirstName","alpha");
</CODE><br><br>
the first argument is the name of the field and the second argument is the
validation descriptor, which specifies the type of validation to be performed.<br>
You can add any number of validations.The list of validation descriptors are provided
at the end of the documentation.<br>
The optional third argument is the error string to be displayed if the validation
fails.<br>
<br>
<CODE>
frmvalidator.addValidation("FirstName","alpha");<br>
frmvalidator.addValidation("FirstName","req","Please enter your First Name");<br>
frmvalidator.addValidation("FirstName","maxlen=20",<br>
"Max length for FirstName is 20"); <br>
</CODE> <br>
<br>
4. Similarly, add validations for the fields where validation is required.<br>
That's it! You are ready to go.
<A name="3"></A>
<h3>Example</h3>
The example below will make the idea clearer<br>
<CODE class="htm">
<form action="" name="myform" ><BR>
<table cellspacing="2" cellpadding="2" border="0"><BR>
<tr><BR>
<td align="right">First Name</td><BR>
<td><input type="text" name="FirstName"></td><BR>
</tr><BR>
<tr><BR>
<td align="right">Last Name</td><BR>
<td><input type="text" name="LastName"></td><BR>
</tr><BR>
<tr><BR>
<td align="right">EMail</td><BR>
<td><input type="text" name="Email"></td><BR>
</tr><BR>
<tr><BR>
<td align="right">Phone</td><BR>
<td><input type="text" name="Phone"></td><BR>
</tr><BR>
<tr><BR>
<td align="right">Address</td><BR>
<td><textarea cols="20" rows="5" name="Address"></textarea></td><BR>
</tr><BR>
<tr><BR>
<td align="right">Country</td><BR>
<td><BR>
<SELECT name="Country"><BR>
<option value="" selected>[choose yours]<BR>
<option value="008">Albania<BR>
<option value="012">Algeria<BR>
<option value="016">American Samoa<BR>
<option value="020">Andorra<BR>
<option value="024">Angola<BR>
<option value="660">Anguilla<BR>
<option value="010">Antarctica<BR>
<option value="028">Antigua And Barbuda<BR>
<option value="032">Argentina<BR>
<option value="051">Armenia<BR>
<option value="533">Aruba <BR>
</SELECT><BR>
</td><BR>
</tr><BR>
<tr><BR>
<td align="right"></td><BR>
<td><input type="submit" value="Submit"></td><BR>
</tr><BR>
</table><BR>
</form><BR>
</CODE><CODE>
<script language="JavaScript" type="text/javascript"><BR>
var frmvalidator = new Validator("myform");<BR>
frmvalidator.addValidation("FirstName","req","Please enter your First Name");<BR>
frmvalidator.addValidation("FirstName","maxlen=20",<BR>
"Max length for FirstName is 20");<BR>
frmvalidator.addValidation("FirstName","alpha");<BR>
<BR>
frmvalidator.addValidation("LastName","req");<BR>
frmvalidator.addValidation("LastName","maxlen=20");<BR>
<BR>
frmvalidator.addValidation("Email","maxlen=50");<BR>
frmvalidator.addValidation("Email","req");<BR>
frmvalidator.addValidation("Email","email");<BR>
<BR>
frmvalidator.addValidation("Phone","maxlen=50");<BR>
frmvalidator.addValidation("Phone","numeric");<BR>
<BR>
frmvalidator.addValidation("Address","maxlen=50");<BR>
frmvalidator.addValidation("Country","dontselect=0");<BR>
</script><BR>
</CODE>
<A name="4"></A>
<h3>Some Additional Notes</h3>
<LI type="disc">The form validators should be created only after defining the HTML form
(only after the </form> tag. )<br>
<LI type="disc">Your form should have a distinguished name.
If there are more than one form
in the same page, you can add validators for each of them. The names of the
forms and the validators should not clash.
<LI type="disc">You can't use the javascript onsubmit event of the form if it you are
using this validator script. It is because the validator script automatically overrides the
onsubmit event. If you want to add a custom validation, see the section below
</LI>
<A name="5"></A>
<h3>Adding Custom Validation</h3>
If you want to add a custom validation, which is not provided by the validation descriptors,
you can do so. Here are the steps:
<LI type="disc">Create a javascript function which returns true or false depending on the validation.<br>
<CODE>
function DoCustomValidation()<BR>
{<BR>
var frm = document.forms["myform"];<BR>
if(frm.pwd1.value != frm.pwd2.value)<BR>
{<BR>
alert('The Password and verified password does not match!');<BR>
return false;<BR>
}<BR>
else<BR>
{<BR>
return true;<BR>
}<BR>
}<BR>
</CODE><br>
<LI type="disc">Associate the validation function with the validator object.<br>
<CODE>
frmvalidator.setAddnlValidationFunction("DoCustomValidation");
</CODE><br>
</LI>
<P>
The custom validation function will be called automatically after other validations.
</P>
<P>
If you want to do more than one custom validations, you can do all those
validations in the same function.
</P>
<CODE>
function DoCustomValidation()<BR>
{<BR>
var frm = document.forms["myform"];<BR>
if(false == DoMyValidationOne())<BR>
{<BR>
alert('Validation One Failed!');<BR>
return false;<BR>
}<BR>
else<BR>
if(false == DoMyValidationTwo())<BR>
{<BR>
alert('Validation Two Failed!');<BR>
return false;<BR>
}<BR>
else<BR>
{<BR>
return true;<BR>
}<BR>
}<BR>
</CODE><br>
where DoMyValidationOne() and DoMyValidationTwo() are custom functions for
validation.
<A name="6"></A>
<h3>Clear All Validations</h3>
In some dynamically programmed pages, it may be required to change the validations in the
form at run time. For such cases, a function is included which clears all validations in the
validator object.<br><br>
<CODE>
frmvalidator.clearAllValidations();
</CODE><br>
<br>
this function call clears all validations you set.<br>
You will not need this method in most cases.
<a name="7"></a>
<h3>Table of Validation Descriptors</h3>
<table cellspacing="2" cellpadding="2" border="1" width="520px">
<tr>
<td><FONT face=Arial size=2>
required<BR>
req </FONT>
</td>
<td><FONT face=Arial size=2>The field should not be
empty </FONT>
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>
maxlen=???<BR>
maxlength=???
</td>
<td><FONT face=Arial size=2>checks the length entered data to the maximum. For
example, if the maximum size permitted is 25, give the validation descriptor as "maxlen=25"
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>
minlen=???<BR>
minlength=???
</td>
<td><FONT face=Arial size=2>checks the length of the entered string to the
required minimum. example "minlen=5"
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>
alphanumeric /<BR>
alnum </FONT>
</td>
<td><FONT face=Arial size=2>Check the data if it
contains any other characters other than alphabetic or numeric characters
</FONT>
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>num <BR>
numeric </FONT>
</td>
<td><FONT face=Arial size=2>Check numeric data
</FONT>
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>alpha <BR>
alphabetic </FONT>
</td>
<td><FONT face=Arial size=2>Check alphabetic data.
</FONT>
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>email </FONT>
</td>
<td><FONT face=Arial size=2>The field is an email
field and verify the validity of the data. </FONT>
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>lt=???<BR>
lessthan=???
</td>
<td><FONT face=Arial size=2>
Verify the data to be less than the value passed.
Valid only for numeric fields. <BR>
example: if the
value should be less than 1000 give validation description as "lt=1000"
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>gt=???<BR>
greaterthan=??? </td>
<td><FONT face=Arial size=2>
Verify the data to be greater than the value passed.
Valid only for numeric fields. <BR>
example: if the
value should be greater than 10 give validation description as "gt=10"
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>regexp=??? </FONT>
</td>
<td><FONT face=Arial size=2>
Check with a regular expression the value should match the regular expression.<BR>
example: "regexp=^[A-Za-z]{1,20}$" allow up to 20 alphabetic
characters.
</td>
</tr>
<tr>
<td><FONT face=Arial size=2>dontselect=?? </FONT>
</td>
<td><FONT face=Arial size=2>This
validation descriptor is valid only for select input items (lists)
Normally, the select list boxes will have one item saying 'Select One' or
some thing like that. The user should select an option other than this
option. If the index of this option is 0, the validation description
should be "dontselect=0"
</td>
</tr>
</table>
<P>
<table cellspacing="2" cellpadding="2" border="1" width="520">
<tr>
<td>
<B>NOTE:</B><br>
The HTML Form Wizard included in JavaScript Coder contains still more
number of validations
(comparison validations, check box & radio button validations and more)<br>
Using the wizard, you can add validations to your forms
without writing a single line of code! <br>
JavaScript Coder takes care of
generating the code and inserting the code in to the HTML file.<br>
<A href="http://www.javascript-coder.com/index.phtml
target="_blank">Read more about JavaScript Coder</A>
</td>
</tr>
</table>
</P>
<A name="8"></A>
<h3>Example Page</h3>
See the <a href="example.html target="_blank"
>JavaScript form validation example here</a>
</td>
</tr>
<tr><td align="center">
<HR><br>
Copyright © 2003 JavaScript-Coder.com. All rights reserved.
</td></tr>
</table>
</center>
</body>
</html>The code is not working because you made a mistake somewhere, duh! So figure out what (hint: firefox javascript console, it's your friend) and fix it!
And next time when you post code: use the [ code ] tags to pretty format your code, as it is now it's unreadable.
http://forum.java.sun.com/help.jspa?sec=formatting -
Two transaction variant do not working for a user
Hi Gurus
I have created two Z t code and made transaction variant through T Code SHD0 and assigned these two ZTcode to a user. now when a user is running the Ztcode screen variant is active on only one. when i assign second one to the user again than screen variant of first ZT code do not work.
can any one tell me why system is doing so.
Regards
ShivHi, I have the same situation. Can you please help how your case got solved ?
Basically I have created two transaction variants- one for XD02, the other for XD03. When I am trying to assign a user to both these transaction variants ( using SET PROPOSAL), only one is getting assigned, other is getting deactivated. Please help. -
In outlook 2013 Add-In, Adding dynamic menu to <splitButton idMso="DialMenu"> is working and the same code is not working in outlook
2010 Add-In. please let me know, if i am missing something. Below is the xml and screen shot
<contextMenu idMso="ContextMenuFlaggedContactItem">
<splitButton idMso="DialMenu">
<menu>
<dynamicMenu id="CallContactwithFreedomvoice
" label="CallContactwithFreedomvoice"
getContent="OnGetContenttest" insertAfterMso="Call"/>
</menu> </splitButton> </contextMenu>Hi Narasimha prasad2,
Based on the description, the context menu for the flagged contact doen't work in Outlook. I am tring to rerpoduce this issue however failed.
I suggest that you check the state of the add-in first to see wether the add-in was loaded successfully.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
"Execute" is not working in web reports
Friends,
" Execute" link is not working in web my report. And also the selection screen is blank for style sheets. Do you have any idea about the cause?
JoeAlso check this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/cea68c65-0901-0010-f5a4-fd34189d8078
Hope it Helps
Chetan
@CP.. -
hello there,
i bought lightroom 4 today (the student version), installed it and wanted to type in the product code and got kind of confused.. my product code is XXXXXX-XXXX-XXXX-XXXX-XXXX (X=letters,numbers) but what i need to type in is six times four numbers or letters. so my product code that is written down is 2 numbers or letters short. i did try to type in in whatsoever but it did not work. thanks for the helpHello
I just received CS6 with educational license, bought as a bundle, together with my new Macbook, but the product code does not work when I try to register at www.adobe.com/go/edu-apple.
Kind Regards
Allan Tang -
LOVs not working in Webi Report for SAP BO 4.1 SP 2 Patch 3
Hello ,
I have developed reports and universes in SAP BO 4.0 SP 5 and i have migrated those reports to higher version of BO which is 4.1 SP2 Patch 3.
My universe is working fine with LOVs but when i run the webi report , the LOVs arent working.
have anyone facing the same issue. any idea why the LOVs arent working on higher version.?Hi Victor,
The List of values we will assign in universe in order to get filtered data works on universe query panel
but the same objects when i am using in report(webi report) , the List of values are not working .i.e
they are not getting displayed in webi report.
for ex: i have country object having country names as LOVs and state objects having state names as LOVs . Now when i select Country value , the LOVs of state objects should get filtered and shows only states which belongs to country .
the above logic is not working in webi report , i am only able to select country and when i go for state, the state names do not get filtered.
please let me know why this is happening in the SP2 patch 3 version and its working fine for SP2 , but the chrome issue gets solved after applying patch 3 and not if we only upgrade to SP2.
the webi reports are not working in chrome browser if we using SAP B04.1 SP2 and lower version
but the LOVs are not working in SAP BO 4.1 SP 2 patch 1, 2,3.
kindly help me with the issue -
BEx Analyzer not working in SAP GUI 7.10
Dear All,
BEx Analyzer 7.0 is not working on SAP GUI 7.10. Following are the details:
OS: Windows XP SP2
Installed the following softwares (in the sequential order):
1. Microsoft .Net Framework 2.0 SP1
2. MS Office 2003 (without any service packs)
3. SAP GUI 7.10 (used SAPAllSetup.exe) to install both BEx Analyzer 3.5 and BEx Analyzer 7.0 alongwith SAP GUI 7.10.
While BEx Analyzer 3.5 runs fine, 7.0 does not.
Upon running BEx Analyzer 7.0 from the Programs menu, I see a toolbar on the left hand side on MS Excel in German. Whenever I click on any button, they do not respond.
When I tried to install update for Office 2003 (KB907417), I received the message stating the patch has already been applied.
I also applied SAP GUI 7.10 Patch Level 8, but still the problem remains the same.
Running Tcode RRMX from the SAP GUI opens MS Excel with both the toolbars of 3.5 (on top) and 7.0 (on left). As before, 3.5 works fine, while 7.0 does not.
Do I need to install Office SP2 or SP3, as well? Or something else? Any solutions?
Thanks and Regards,
Sachin.Hi All,
This problem is due to .NET 2.0 assembly(nothing but .dll's),
Step1 : Check if you can see this C:\WINNT\assembly\GAC exists
If it does and still getting the error, then follow these steps,
1) Uninstall office03
2) Uninstall GUI
3) Uninstall .Net 2.0
4) Reboot
5) Install .dll(WindowsXP-KB935448-x86-dll.exe) fix(this is due to .net1.1 and 2.0 coexistence)----- only if u get a critical message at startup.
5a) Reboot
5b) Install .net1.1
5c) Reboot
5d) Install .net2.0
5e) Reboot
6) Install office 03
6a) Reboot
7) Install .PIA's (O2003PIA.MSI)
7a) Reboot
8) Install setupall.exe for GUI
9) Install KB907---- (office2003-KB907417-FullFile-ENU.exe)
10) Reboot
Let me know if you encounter any problems.
OR....
Update the Latest Patchs of GUI & Bex.
BI710SP03_300-10004472.EXE
bi710sp04_400-10004472.exe
gui710_6-10002995.exe
Hope it helps you...
@shaik -
I'm locked out of my iPhone. My 4 digit security code is not working. I've tried to connect to iTunes to do a recovery however I. Order to do this it asks me for the 4 digit code. I need to reset it but unable to get into reset as well. Help!!t can I reset it using my iPad which is registered to the same account
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once... Be sure to Follow ALL the Steps..
Maybe you are looking for
-
I am using Captivate 4 on a computer running Windows XP. My projects begin as blanks in a 640x480 size. In the Skin Editor, I select "Show Borders" so that a black border (56 pixels) appears at the bottom of my project. When I preview it in the web b
-
Using Lookout to write a decimal point to an RTU in the field.
Is thier a way to send an lookout exp.(ex.1.56) to a known writable register on an RTU out in the field. I am using the modbus object. I plan to send this expression that I have created to a series of regs. in the field and pull the info to a readabl
-
How to pass info from jad to jar
Hi, When reinstalling an application into a mobile (at least nokia or motorola modern mobile versions) teh mobile ask you if yo uwant to save old data. If you choose yes the RecorsStore keeps exactly the same, no one variable is re-writed. So how can
-
Labview crashes when 16 bit images are sampled with 1394 camera
Hello! We are using a Basler A102F camera and when we use the 16 bit format Labview is crashed. There are no problem when using the 8 bit format. It crashes also when using the scalable mode (full camera chip). We are using "Grab.vi" in the program.
-
Dynamically assign column names in reports
I have a report that has to display the data for the years within the given date range. For example, for customer A I need to display order value placed in each year between the date range 01-dec-2010 till 31-dec-2014. From Date : 01-dec-2010 To Date