Regarding Xcelsius dynamic value alerts
Hi Experts,
Can anyone help me how to give alerts for dynamic condition in xcelsius.
Example: We need to highlet a parameter(crse) value only if it is less than regional crse which comes dynamically.
Dear Experts can you Kindly respond asap........
Regards,
Swetha
Hi Swetha,
In your Alerts panel, enable Alerts and then select As Percent of Target. Choose your Regional CRSE cell as your target.
Under Alert Thresholds, set Minimum to 100% as your alert color.
Let us know if this works!
Similar Messages
-
Regarding populating dynamic values in text elements
I want to populate some dynamic value in my field catalog text elements how can we achive it?
Hi
Check this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8747e990-0201-0010-a69f-c52888feaadf
Regards
Pavan -
Regarding dynamic values of dates in variant
hi,
i am assigning dynamic values to the dates in my variant
but i am unable to give the date more than the system date,if am am giving dates less than the system date it is accepting but when i am givng a date that is greater than the system date then it is not taking the values and saying please assign a numeric value.
so please can anyone help me in thisits now was doing a silly mistake
but now its working fine -
Error in Dynamic Value Change Using Java script
Hi ,
I am trying to put dynamic value sin tabular form report.
I used the below code
function updateLOV3(filter, listName,itemId,po_no){
var xml = null;
var list = document.getElementById(listName);
var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=Update_Invoice_UOM',0);
alert(po_no);
alert(itemId);
get.add('TEMPORARY_ITEM', po_no);
get.add('TEMP_ITEM', itemId);
alert(list);
ret = get.get('XML');
if(ret){
var s = ret.getElementsByTagName("select");
if(s){
var o = ret.getElementsByTagName("option");
oCount = o.length;
if(oCount!='0'){
var l_Opt_Xml = o[0];
appendToSelect(list, l_Opt_Xml.firstChild.nodeValue);
if(oCount=='0'){
alert('entering');
list.value=0;
get = null;
function appendToSelect(pSelect,pContent) {
alert(pContent);
pSelect.value=pContent;
}my Application Process code is
declare
begin
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
htp.prn('<data>');
htp.prn('<select>');
for rec in (SELECT UNIT_OF_MEASURE r ,UNIT_OF_MEASURE d FROM HOMES_RGP_PURCHASE_ORDER_LINES WHERE ITEM_ID = :TEMP_ITEM AND
PURCHASE_ORDER_ID = :TEMPORARY_ITEM)
loop
htp.prn('<option value="' || rec.d || '">' || rec.r || '</option>');
end loop;
htp.prn('</select>');
htp.prn('</data>');
end;In my application process if i removed the PURCHASE_ORDER_ID = :TEMPORARY_ITEM then the value is coming.
Java Script giving both values like item id and purchase order id.
If i ran the sql query manually its giving values.
i hope thers is some error in get.add method in java script.
Its always going into the below condition
if(oCount=='0'){
alert('entering');
list.value=0;
get = null;but manually i have checked the database the value is present.
Please anyone help me out in this.
Regards,
Shan...Hi all,
The same i have checked with emp table but still i got the same problem.
Its my application process
declare
begin
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
htp.prn('<data>');
htp.prn('<select>');
for rec in (SELECT ename r,ename d FROM
emp
WHERE empno = :TEMP_ITEM)
loop
htp.prn('<option value="' || rec.d || '">' || rec.r || '</option>');
end loop;
htp.prn('</select>');
htp.prn('</data>');
end;My Javascript code is
<script type="text/javascript">
function setvalues(itemId,list)
var s = $v(itemId);
alert(s);
var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=POPULATE_EMPNAME',0);
get.add('TEMP_ITEM', s);
ret = get.get('XML');
if(ret){
var s = ret.getElementsByTagName("select");
if(s){
var o = ret.getElementsByTagName("option");
oCount = o.length;
if(oCount!='0'){
var l_Opt_Xml = o[0];
appendToSelect(list, l_Opt_Xml.firstChild.nodeValue);
if(oCount=='0'){
list.value=0;
get = null;
function appendToSelect(pSelect,pContent) {
pSelect.value=pContent;
</script>Can anyone suggest me what i have missed???
Cheers,
Shan -
Adjust Range in Xcelsius dynamically
Hi,
is there a possibility adjust the range in the excel sheet in xcelsius dynamically depending on a SAP BW query result?
I allready established a Connection between SAP BW and the excel sheet of xcelsius. The problem I encounter now is that the range does not automatically change in case the result of the query changes and I don't want to define manually the range where the data is displayed in Xcelsius every time.
Instead the range should adjust dynamically to the query data. For instance if the query result consists of 100 lines the range should be A1 to A100 and change dynamically with the result of the query without having to modify the range manually.
Thanks,
AndiHi,
There is no way that you could dynamically adjust the query result range in excel. You could select as many rows in excel to adjust the range so that no query data is missed out. In this case, the extra selected rows in excel are filled with NULL so that the dashboard performance is affected in no way. But make sure that you never miss checking the option "Ignore Blank Cells" for all the Xcelsius components.
By default, the maximum number of rows that can be referenced by a formula or component binding in excel is 1052. This value can be adjusted by navigating to File->Preferences->Excel Options->Maximum Number of Rows
Regards,
Anju Saseendran -
Dynamic value assignment to a particular column in a vertical ALV
Hi Friends,
In the present program ALV has 44 fields and output row is only one(with some field editable).
My requirement is to change present output to vertical ALV and editable field should be available
as editable.
Now I have changed this to transposed ALV manually(not dynamically) with required fields editable.
Now there is 44 rows and two column "FIELD and "VALUE'.Some values in the second column is editable.
Previously output was like this:
field1 field2 field3 ...
val1 val2 val3 ...
Now output is like:
FIELD VALUE
field1 value1(type INT)
field2 value2(type char5) Editable(need F4 help)
field3 value3(type date)
My present structure declaration is:
types: begin of ty_itab,
field type char 50,
value type char70,
celltab type lvc_t_styl,(for editing some values in VALUE column).
end of ty_itab.
data: itab type standard table of ty_itab.
Now the second column i have declared as CHAR70 which contains only char
values because to put all differt types of values to one single column named
'VALUE'.
But as field1 field2 field3... had differnt type of value like integer char date...I need to validate some values
(specially those which are editable) before saving to custom DB table.
So I need dynamic value assignment to VALUE column when preparing internal table for display.
What I want to say is that VALUE column should be able to contain different type of values like INT, DATE, CHAR...etc
Is the requirement is feasible?
If yes then How should I declare the structure and populate different type of values within single column 'VALUE'.
Also is it possible to have F4 helps in the second column (VALUE)???Hi Manab,
I did something comparable: We have a very complex transaction with several subscreens with multiple fields to be filled with complex logic to create a very special contract. The requirement was to create a method to create a copy of this contract being able to apply some changes.
I created a wizard (transaction SBPT_WIZARD_BUILDER - Wizard-Builder) to accomplish that. I grouped all the fields to just 3 logical groups and thius created 3 stesp where the user gets an ALV as you describe, but we have the rows like FIELD with the new value editable. Additionally I have hidden fields with table name and field name so that I can determine the characteristics (datatype) at run time.
The value fields are just strings (every ALV field is a text field on the surface).
For editable fields, you have an event DATA_CHANGED. I used this method as a handler for the event:
(I will leave out the wizard part here - maybe a good idea for a blog to explain that)
METHOD handle_data_changed.
CALL FUNCTION 'RS_CONV_EX_2_IN'
EXPORTING
input_external = <mod>-value
table_field = ls_tabfield
I also created handlers for F1 and F4
Handler for CL_GUI_ALV_GRID->ONF1
METHOD handle_f1.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
called_for_tab = lv_tabname
called_for_field = lv_fieldname
EXCEPTIONS
object_not_found = 1
sapscript_error = 2
OTHERS = 3.
Handler for CL_GUI_ALV_GRID->HANDLE_F4
METHOD handle_f4.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = lv_tabname
fieldname = lv_fieldname
TABLES
return_tab = lt_return_tab
EXCEPTIONS
OTHERS = 5.
er_event_data->m_event_handled = abap_true.
* if er_event_data->m_event_handled is not set to abap_true, system will handle it.
* In this context the message 'Keine Eingabehilfe verfügbar' will be displayed
ENDMETHOD.
This is just an excerpt from my project. It shows that you can do more in ALV as you knew.
I tried to post a little more but the formatting break down, possibly a result of the character limit
Regards,
Clemens -
hi,
i have two page i pass value from one page to another and got it. now i want to store that dynamic value which i pass. i store it and got it my problem is that when page submit then value become null.
i have three submit button.
my code is
<%@ page import ="javax.servlet.*;" %>
<%@ page import ="javax.servlet.http.*;" %>
<%@ page import ="java.io.*;" %>
<%@ page import ="java.sql.*;" %>
<%! Connection con = null;
ResultSet rs;
Statement stmt = null;
String query = null;
ResultSet rs1;
Statement stmt1 = null;
String query1 = null;
ResultSet rs2;
Statement stmt2 = null;
String query2 = null;
%>
<input type="hidden" value="<%=request.getParameter("ID")%>" name="id_4_add" />
<%String datamt = request.getParameter("id_4_add");%>
<input type="hidden" value="<%=datamt%>" name="id_4_" />
<%String datamt1 = request.getParameter("id_4_");%>
<input type="hidden" value="<%=datamt1%>" name="id_4_1" />
<%String datamt2 = request.getParameter("id_4_1");%>
<%
String data1 = request.getParameter("ID");
String grp_name = request.getParameter("param1");
out.println(data1);
out.println(grp_name);
%>
<% try {
String username = "root";
String password = "root";
String url = "jdbc:mysql://localhost/eureka_final?user=root&password=root";
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection(url, username, password);
} catch (Exception e) {
// out.println("Sorry failed to connect to the Database. " + e.getMessage());
%>
<%
java.util.Date utilDate = new java.util.Date();
java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime());
String teacher_id = "";
Object usr_name = session.getValue("Username");
Object ur_type = session.getValue("Usertype");
stmt = con.createStatement();
///Teacher user
if (ur_type == "teacher") {
try {
String search_teacher = "select tchr_id from teacher where username = '" + usr_name + "' ";
rs = stmt.executeQuery(search_teacher);
if (rs != null) {
while (rs.next()) {
teacher_id = rs.getString("tchr_id");
// String teacher_Nm = rs.getString("username");
} catch (Exception e) {
out.println(e.getMessage());
} finally {
rs.close();
stmt.close();
//Admin user
if (ur_type == "admin") {
stmt = con.createStatement();
try {
String search_teacher = "select other_id from other_user where username = '" + usr_name + "' ";
rs = stmt.executeQuery(search_teacher);
if (rs != null) {
while (rs.next()) {
teacher_id = rs.getString("other_id");
// String teacher_Nm = rs.getString("username");
} catch (Exception e) {
out.println(e.getMessage());
} finally {
rs.close();
stmt.close();
%>
<% if ("D".equals(request.getParameter("hidMode")) && con != null) {
String chk_value;
try {
stmt = con.createStatement();
query = "update student set groups = '' WHERE student_id='" + request.getParameter("hidSelDel") + "'";
stmt.executeUpdate(query);
response.sendRedirect("search_grp_try.jsp?ID1=" + datamt + " ");
} catch (Exception e) {
// out.println("Sorry failed to delete values from the database table. " + e.getMessage());
if ("U".equals(request.getParameter("hidMode")) && con != null) {
try {
stmt = con.createStatement();
query = "UPDATE create_group SET group_name = '" + request.getParameter("txtBookName") + "', group_type = '" + request.getParameter("txtSynopsis") + "', group_details = '" + request.getParameter("txtAuthorName") + "' WHERE group_id = '" + request.getParameter("hidBookID") + "'";
stmt.executeUpdate(query);
response.sendRedirect("search_grp_try.jsp");
} catch (Exception e) {
//out.println("Sorry failed to delete values from the database table. " + e.getMessage());
/* if ("I".equals(request.getParameter("hidMode")) && con != null) {
String gp_name = request.getParameter("txtBookName");
String gp_type = request.getParameter("txtSynopsis");
String gp_detail = request.getParameter("txtAuthorName");
String publishername = request.getParameter("txtPublisherName");
try {
if (gp_name.length() > 0 && gp_type.length() > 0 && gp_detail.length() > 0) {
stmt = con.createStatement();
query = "INSERT INTO create_group (group_name, group_type, create_date, group_details,group_creator_id) VALUES ('" + gp_name + "','" + gp_type + "','" + sqlDate + "','" + gp_detail + "','" + teacher_id + "')";
//String query = "INSERT INTO create_group (group_name, group_type, create_date, group_details,group_creator_id) VALUES ('" + gp_name + "','" + gp_type + "','" + sqlDate + "','" + gp_detail + "','" + teacher_id + "')";
stmt.executeUpdate(query);
response.sendRedirect("search_grp_try.jsp");
} else {
out.println("Group creation details cannot be left blank.");
} catch (Exception e) {
//out.println("Sorry failed to insert values into the Database table. " + e.getMessage());
out.println("<HTML>");
out.println("<HEAD>");
out.println("<SCRIPT LANGUAGE='JavaScript'>");
out.println("function setMode() {");
out.println("document.frmBook.txtBookName.value='';");
out.println("document.frmBook.txtSynopsis.value='';");
out.println("document.frmBook.txtAuthorName.value='';");
out.println("document.frmBook.txtPublisherName.value='';");
out.println("}");
out.println("function setDelMode()");
out.println("{");
out.println("document.frmBook.hidMode.value='D';");
out.println("formDeleteValues('hidSelDel');");
out.println("}");
out.println("function formDeleteValues(hidden)");
out.println("{");
out.println("var selValues = '';");
out.println("for (i=0;i<document.forms[0].elements.length;i++)");
out.println("{");
out.println("if(document.forms[0].elements.type == \"checkbox\")");
out.println("{");
out.println("if (document.forms[0].elements[i].checked == true) {");
out.println("selValues = selValues + document.forms[0].elements[i].value + \",\";");
out.println("}");
out.println("}");
out.println("}");
out.println("if (selValues.length < 1)");
out.println("{");
out.println("alert(\"Please choose records you wish to delete.\");");
out.println("}");
out.println("else");
out.println("{");
out.println("selValues = selValues.substring(0,selValues.length-1);");
out.println("eval(\"document.forms[0].\"+hidden+\".value = '\" +selValues+\"';\");");
out.println("document.forms[0].submit();");
out.println("}");
out.println("}");
out.println("function setEditMode(BookID,BookName, Synopsis, AuthorName)");
out.println("{");
out.println("document.frmBook.hidBookID.value = BookID;");
out.println("document.frmBook.txtBookName.value = BookName;");
out.println("document.frmBook.txtSynopsis.value = Synopsis;");
out.println("document.frmBook.txtAuthorName.value = AuthorName;");
// out.println("document.frmBook.txtPublisherName.value = PublisherName;");
out.println("document.frmBook.hidMode.value='U';");
out.println("}");
%>
function copyField()
document.forms["frmBook"].id_4_.value = document.forms["frmBook"].id_4_add.value;
return true;
<%
out.println("</SCRIPT>");
out.println("<TITLE>Create Group</TITLE>");
out.println("</HEAD>");
%>
<BODY style="background-color:#EFEFEF; solid:#cccccc;">
<FORM ACTION='search_grp_try.jsp' METHOD='get' NAME='frmBook' >
<table style=" width:100%; " align="center" >
<tr>
<td height="20%" width="40%">
<jsp:include page="../toparea1.jsp">
<jsp:param name="" value="" />
</jsp:include>
</td>
</tr>
</table>
<table style=" width:100%; height:250px;" align="center" >
<tr>
<td width="20%" valign="top" >
<jsp:include page="../side_menu_bar.jsp" >
<jsp:param name="side" value="sidemenu" />
</jsp:include>
</td>
<INPUT NAME="hidMode" TYPE="hidden" VALUE="<%=request.getParameter("ID")%>">
<%
String id_passes = request.getParameter("hidMode");
out.println("<INPUT NAME='hidSelDel' TYPE='hidden'>");
out.println("<INPUT NAME='hidBookID' TYPE='hidden'>");
out.println("<TD valign='top'>");
out.println("</TD>");
if (con != null) {
try {
stmt = con.createStatement();
query = "select student_id,username,std_Fname,std_Lname,groups from student where groups LIKE '%" + data1 + "%'";
rs = stmt.executeQuery(query);
out.println("<TR ALIGN='center' WIDTH='30%' COLSPAN='10'>");
out.println("<TABLE ALIGN='center' BORDER='1' BORDERCOLOR='skyblue' CELLPADDING='0' CELLSPACING='0' WIDTH='430px' NAME='tblSecondChild'>");
out.println("<TR BGCOLOR='black'>");
out.println("<TD WIDTH='12%' ALIGN='center'><INPUT NAME='cmdDelete' TYPE='button' VALUE='Delete' onClick='setDelMode();'></TD>");
out.println("<TD><FONT COLOR='#FFFFFF'>Group Name</FONT></TD>");
out.println("<TD><FONT COLOR='#FFFFFF'>Group Type</FONT></TD>");
out.println("<TD><FONT COLOR='#FFFFFF'>Group Detail</FONT></TD>");
out.println("</TR>");
if (rs != null) {
while (rs.next()) {
out.println("<TR>");
out.println("<TD><INPUT TYPE='checkbox' NAME='chk" + rs.getString("student_id") + "' VALUE='" + rs.getString("student_id") + "'></TD>");
out.println("<TD STYLE=\"cursor:pointer\" onMouseDown=\"setEditMode('" + rs.getString("student_id") + "', '" + rs.getString("username") + "', '" + rs.getString("std_Fname") + "', '" + rs.getString("std_Lname") + "');\">" + rs.getString("username") + "</TD>");
out.println("<TD STYLE=\"cursor:pointer\" onMouseDown=\"setEditMode('" + rs.getString("student_id") + "', '" + rs.getString("username") + "', '" + rs.getString("std_Fname") + "', '" + rs.getString("std_Lname") + "');\">" + rs.getString("std_Fname") + "</TD>");
out.println("<TD STYLE=\"cursor:pointer\" onMouseDown=\"setEditMode('" + rs.getString("student_id") + "', '" + rs.getString("username") + "', '" + rs.getString("std_Fname") + "', '" + rs.getString("std_Lname") + "');\">" + rs.getString("std_Lname") + "</TD>");
%>
<% // out.println("<TD STYLE=\"cursor:pointer\" onMouseDown=\"setEditMode('" + rs.getString("group_id") + "', '" + rs.getString("group_name") + "', '" + rs.getString("group_type") + "', '" + rs.getString("group_details") + "') + "');\">" + rs.getString("PublisherName") + "</TD>");
out.println("</TR>");
out.println("</TABLE>");
} catch (Exception e) {
out.println("Sorry Failed to execute the query. " + e.getMessage());
%>
</tr>
</table>
<a href="cr_grp.jsp">back</a>
<table>
<%! String srch_name1 = "";%><% srch_name1 = request.getParameter("search_stu");%>
<tr><td><input type="text" id="search_stu" name="search_stu" value="<%=srch_name1%>" size="42" /></td>
<td> <input type="submit" id="cmSearchStu_group" name="cmSearchStu_group" value="Search Student" />
</td></tr>
</table>
<input type="hidden" id="search_stu_store" name="search_stu_store" value="<%=request.getParameter("ID")%>" size="42" />
<input type="hidden" id="search_stu_store_name" name="search_stu_store_name" value="<%=request.getParameter("param1")%>" size="42" />
<%! String vl_data;
String student_Nm1;
String group_ID_from_student;
PreparedStatement ps;
%>
<%
//Pass Id and Group name
////////end pass value////////
if (request.getParameter("cmSearchStu_group") != null) {
String scondPass = request.getParameter("search_stu_store");
String scondPassName = request.getParameter("search_stu_store_name");
String srch_name = request.getParameter("search_stu");
out.println(srch_name);
stmt = con.createStatement();
try {
//student where groups LIKE '%" + data1 + "%'";
String search_stud = "select username,student_id,groups from student where std_Lname LIKE '%" + srch_name + "%' or std_Mname LIKE '%" + srch_name + "%' or username LIKE '%" + srch_name + "%' or std_Fname LIKE '%" + srch_name + "%' or city_c LIKE '%" + srch_name + "%' or state_c LIKE '%" + srch_name + "%' or pincode_c LIKE '%" + srch_name + "%' or city_p LIKE '%" + srch_name + "%'or state_p LIKE '%" + srch_name + "%' or pincode_p LIKE '%" + srch_name + "%' or std_DOB LIKE '%" + srch_name + "%' or std_gender LIKE '%" + srch_name + "%' or std_bloodGroup LIKE '%" + srch_name + "%' or std_addmission_no LIKE '%" + srch_name + "%' or std_transport LIKE '%" + srch_name + "%' or std_medicalNotes LIKE '%" + srch_name + "%' or std_home_no LIKE '%" + srch_name + "%' or std_emergency_no LIKE '%" + srch_name + "%' or std_email LIKE '%" + srch_name + "%' or std_parentemail LIKE '%" + srch_name + "%' or std_nationality LIKE '%" + srch_name + "%' or student_id LIKE '%" + srch_name + "%' or groups LIKE '%" + srch_name + "%' ";
rs = stmt.executeQuery(search_stud);
if (rs != null) {
while (rs.next()) {
String std_id1 = rs.getString("student_id");
student_Nm1 = rs.getString("username");
group_ID_from_student = rs.getString("groups");
// response.sendRedirect("search_grp_try.jsp?ID1="+scondPass+"¶meter1="+scondPassName+"#srch_grp_stud ");
%>
<input type="checkbox" name="<%=std_id1%>" value="<%=std_id1%>"/>
<INPUT MAXLENGTH="255" NAME="txtstud_name" TYPE="text" VALUE="<%=student_Nm1%>" >
<% String chkBxVal = request.getParameter(std_id1);
out.println(chkBxVal);
out.println(id_passes);
out.println(std_id1);
// out.println(m);
if ((chkBxVal != null)) {
try {
query2 = "update student set groups = " + scondPass + " WHERE student_id='" + std_id1 + "'";
ps = con.prepareStatement(query2);
ps.executeUpdate();
String sendTo = "search_group.jsp?id='" + request.getParameter("ID") + "' ";
response.sendRedirect(sendTo);
} catch (Exception e) {
out.println(e.getMessage());
} catch (Exception e) {
out.println(e.getMessage());
} finally {
rs.close();
stmt.close();
// con.close();
%>
<% if (request.getParameter("Add_student") != null) {
String scondPass = request.getParameter("search_stu_store");
String scondPassName = request.getParameter("search_stu_store_name");
%>
<input type="hidden" id="search_stu_str_name" name="search_stu_str_name" value="<%=request.getParameter("param1")%>" size="42" />
<%String srch_name = request.getParameter("search_stu");
String valueGetd = request.getParameter("search_stu_str_name");
stmt = con.createStatement();
try {
String search_stud = "select username,student_id,groups from student where std_Lname = '" + srch_name + "' or std_Mname ='" + srch_name + "' or username='" + srch_name + "' or std_Fname='" + srch_name + "' or city_c='" + srch_name + "' or state_c='" + srch_name + "' or pincode_c='" + srch_name + "' or city_p='" + srch_name + "'or state_p='" + srch_name + "' or pincode_p='" + srch_name + "' or std_DOB='" + srch_name + "' or std_gender='" + srch_name + "' or std_bloodGroup='" + srch_name + "' or std_addmission_no='" + srch_name + "' or std_transport='" + srch_name + "' or std_medicalNotes='" + srch_name + "' or std_home_no='" + srch_name + "' or std_emergency_no='" + srch_name + "' or std_email='" + srch_name + "' or std_parentemail='" + srch_name + "' or std_nationality='" + srch_name + "' or student_id='" + srch_name + "' or groups='" + srch_name + "' ";
rs = stmt.executeQuery(search_stud);
if (rs != null) {
while (rs.next()) {
String std_id1 = rs.getString("student_id");
student_Nm1 = rs.getString("username");
group_ID_from_student = rs.getString("groups");
// response.sendRedirect("search_grp_try.jsp?ID1="+scondPass+"¶meter1="+scondPassName+"#srch_grp_stud ");
%>
<input type="checkbox" name="<%=std_id1%>" value="<%=std_id1%>"/>
<INPUT MAXLENGTH="255" NAME="txtstud_name" TYPE="text" VALUE="<%=student_Nm1%>" >
<% String chkBxVal = request.getParameter(std_id1);
String symbl = " ; ";
/* if((group_ID_from_student).equals(null)){
group_ID_from_student="";
else{
*/ String merge_grp = group_ID_from_student + symbl;
String final_merge = merge_grp + datamt1;
if ((chkBxVal != null)) {
try {
query2 = "update student set groups = '" + final_merge + "' WHERE student_id='" + std_id1 + "'";
ps = con.prepareStatement(query2);
ps.executeUpdate();
} catch (Exception e) {
out.println(e.getMessage());
} catch (Exception e) {
out.println(e.getMessage());
} finally {
rs.close();
stmt.close();
con.close();
// response.sendRedirect("search_grp_try.jsp?ID1=" + id_passes + "¶meter1=" + scondPassName + "#srch_grp_stud ");
%>
<input type="submit" id="Add_student" name="Add_student" value="Add" />
<table style="width:100%; height:100px; " align="center" >
<td >
<%@ include file="../pagefooter.jspf" %>
</td>
</table>
<input type="text" value="<%=request.getParameter("ID")%>" name="id_4_add5" />
<%String datamt4 = request.getParameter("id_4_add5");%>
<input type="text" value="" name="id_4_" />
<input type="submit" onclick="return copyField();" />
<% out.println("</FORM>");
out.println("</BODY>");
out.println("</HTML>");
%>
reply meThis is a little hard to follow and want to make sure I understand:
You can pass the value from page1 to page2. But when you submit on page2 to another page, the value is null?
My first recommendation is: Pull all HTML code out of scriptlets that is using out.println.
But to answer your question, you don't have the hidden fields in the <FORM> tag. They need to be places in the form tag in order for the form to pass the values when you submit. -
hi,
can u plz explain about Dynamic value mapping and where it actually use this
thanks
gunaHi ,
Dynamic value mapping.is nothing but
It is FixValues and ValueMapping under Conversion Functions.
Eg:
You need such a requirement. Where the values in the source are mapped to someother value in the target as below.
1--> Mr
2--> MS
3--> MRS
FixValues is used when you know the entire set of Key value pair in the Design Time. You give the Key and the value in the FixValues and the mapping checks and maps the values to the target.
In the case of Value mapping, you maintain this Key - Value pair in the Integration Directory and thereby make changes easily and also use them in the Mapping in IR
Refer These blogs
ValueMapping using the Graphical Mapping Tool -value mapping using grapic mapping tool
Value Mapping replication - value mapping replication
Accessing Value Mapping defined in Directory using Java functions - accesing value mapping
Dynamic Date Conversion in Message Mapping - dynamic date conversion
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping - dynamic confighuration
Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - dynamic file name
and also
Refer this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm - external context mapping
Regards,
Suryanarayana -
Passing dynamic values in WebElements
Hi
I have created a report with webelement using WESelect. For drop down values we are creating a sting of values with allelements.Is there a way i can get the values from a database column or dynamic values.
For example a Week WESelect is created with values as follows:
string allelements:= ("week","wk01|wk02","wk01|wk02",{?week},"")
instead of this values can we get values from database column like {week.weeknumber} ?
How can this be solved.
Thanks & Regards
Maheshhello Mahesh,
in the tips and tricks section of the webelements user guide there is the following information...
Can webElements be used with live data?
Yes. Controls such as select menus that require that data be rolled up or
amalgamated before the control is created are populated by running a
Report Header subreport that rolls the data up. The data is then passed
to the main report via a shared variable which is used in the control.
Please see the DCP reports in the webElements .zip package for ideas on
how to do this.
Controls such as check boxes or radio buttons can be populated by
placing the formula containing the control in the Details section or the
Group Header / Footer section where the control is needed. Ensure that
the controls do not span more than one page. See the Requirements
section of the User Guide for more information.
i hope this helps,
jamie -
Populating dynamic values in the combobox with XML form Builder.
I am trying to populate dynamic value in the combobox with xml form builder. I see the document saying create property group and document property Id with respecitive values. I am able to create the property group with system admin -> System config
-> KM -> CM -> Global services -> property Metadata -> groups with new button. and I am trying to create document property Id with value. I am not able to find the way to give value in the property. I am using EP 7.0 Sp 14. Please let me know how to sovel itHi
You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
Give it a try.
Regards,
Yoga -
Listbox displaying dynamic values in table control
Hi Experts,
The requirement that I have is that there are two columns in an internal table out of which second one is a listbox.
There is a need of displaying dynamic values in a row in a listbox according to value entered in first column of the same row, not affecting the listbox values in other rows.
I am using VRM_SET_VALUES for populating listbox, but it results in populating the listbox in all other rows also.
Please help.
Thanks,
GarimaHi Thanks for the link..
But my problem is something else.
I want the same listbox of a column in a table control to show me different values in different rows on the basis of value in another column .
Regards,
Garima -
How to pass dynamic values in standard text......
Hello,
I have no idea that how to create the standard text with transaction SO10,and how to pass the dynamic values to that standard text.Will you guide me with step-by-step procedure.
Thanking you in advance,
Regards,
Asmitha.Hi,
Goto SO10 Tcode
Give :- Text Name:- any Name
Text Id :- ST
Language:- required language
Now the Text which you want to print along with the Dynamic variable,
Ex:- Sales order number is &VBAK-VBELN&
Save and Activate
above is i have given it VBAK-VBELN, you can give field name which hold dynamic value.
Now call the above created Standard text in your Form and check it.
Regards
Bala Krishna -
Unit test with Dynamic Value Query
Hi,
I am planing a function which should return a table name for a given ROWID. The ROWID will be selected from a view. Now I am trying to setup a unit test which consists of Startup and Teardown Process as well as a Dynamic Value Query. During Startup Process one dataset is inserted in a table which is part of a view definition. The dataset should be selected during Dynamic Value Query. However I am getting the following error message: Unable to run the test because no rows were returned by the dynamic query. Is there the possibility that within a Dynamic Value Query I can't make use of datasets which where inserted by a Startup Process? I am asking because the selection outside the unit testing framework supplies the dataset as expected.
SQL Developer: 3.2.20.09 Build MAIN-09.87
Java: 1.6.0_45
Regards.Dynamic SQL is very tricky. Since you can get the data outside your application extract and test the dynamic SQL as it is generated. When working with dynamic SQL I find it useful to first generate the SQL text as a string and then if necessary store it in a table (CLOB type) for later reference. Because of the uncertainty of obtaining bind variable values later I prefer to hard-code such values into dynamic SQL - possibly slightly less efficient for Oracle at run time but a lot easier to work with when debugging and tuning (again, apart from the built-in inefficiency of not using bind variables) I usually find the overhead of the hard-coded values not too bad and the ability to know the data values at a glance useful. I also find it useful to write dynamic SQL in such a way so that the resulting statement can be pasted in to any normal SQL tool (SQL*PLUS, SQL*Developer) and run without any editing.
There may be some quirk in the generated dynamic SQL preventing it from finding anything.
Good luck. -
How to Pass Dynamic values to XML in flex
Hi,
i just want to pass dynamic values. it must be stored in XML
List or XML .for Ex: In my App i want to pass
Edu_Institute,From_date,To_Date,Qualification fileds to
Education table. I have used Webservices to connect with the
Backend.
At that time of processing, i want to pass 2 or more sets of
Dynamic Values of Edu_Instiute,From_Date,To_Date....... to my
webservice .
i fetch the Edu_Institute value from text1.text From_Date
from Datefield1.text etc... when i click the Add Button it must be
stored in XMLnode[0],XMLnode[1]......& i will pass this nodes
to my table
How to do that??
Can anyone please find out the solution for me??
Thanks
Regards,
Thenmalar vAre you asking how to build XML in Actionscript?
If so, the "literal" syntax is easy:
var xmlData:XML = <root><text
myAttr={test1.text}</root>
You can also work directly with the XML class methods.
Tracy -
Hi,
Gurus,
I'm working on idoc to file scenarion and i have to implement MDM dynamic value mapping for one of the idoc fields, and i have no idead about MDM dynamic value mapping , can anybody help me with step-by-step procedure to implement it and I'm not java guy...
Thanks!!
Waiting for reply...Hi,
This might help you,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62770ffa-0301-0010-a0b2-c77294a3902e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a9c405f-0a01-0010-0980-fa5082e517e6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/603ca425-0c01-0010-cdb2-c10d13c43631
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4ce0d691-0b01-0010-f4aa-c938d438ceb2
Setting up algorithm on MDM Client
Regards
Agasthuri Doss
Maybe you are looking for
-
2 business phones to share 1 itunes?
My wife and I have iPhones for work purposes. My wife has a 4S and has built up a bit of a library in iTunes. I have recently received a 5 through my work which has an ID set up based on work email, etc. So neither of us are allowed to share the bu
-
PDF Documents compatible with Acrobat Reader 5.0
Which version (Standard, Pro or Ext Pro) of Adobe Acrobat 9.0 family should I buy to create PDF documents compatible with Acrobat Reader 5.0 ???? Is it possible to create PDF files from HTML and navigate through the links ???? Thank you.
-
Why Apple don't systematically support the latest version of OpenGL and OpenCL with a new OS release?
-
Hi I am having trouble with iTunes! Randomly when I click on a song in iTunes it changes the song title to time after time and the artist is pink. I could click on 4 songs and they will be normal but then the 5th one will change the info to time afte
-
How to Identify program is running in background or Foreground mode?
Hello Experts, I have developed on Z report and from this report BDC for Transaction CO11 is runnning using CALL TRANSACTION statement. On Selection screen there is a option for selecting the BDC mode either in Background or Forground or Error mode.