Fun. mod which retrieves values stored in the SETLEAF & SELINET Table
I am doing a report which needs to find the meaningless location. For which i need to go the transaction GS03 and give the set id Z_AA_EXCEPTION_LIST_M03, and get the meaningless location. This value is stored in the table SETHEADER, SETLEAF, AND SETLINET table . I need to know which function module that retrieves the values from the above mentioned table
hi,
The Internal order group details are found in the table SETHEADER & SETLEAF, SETHEADER-SETNAME would be the internal order group for the setclass for the order group set class '0103',
to get all internal orders for an ordergroup.
You can use fm K_HIERARCHY_TABLES_READ.
or
HRGPBS_ORDERGROUP_GETDETAIL
Vasanth
Similar Messages
-
I need to add the values stored in the session object into the html textbox
Dear Sir,
i have been trying to create an edit employee details page
What i have done till now is as follow:
1. Got employee id from HTML page.
2. Compared it with the id stored in the database.
3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.
4. Dispatched the session values to another servlet EditEmpDetails2.java
what i need to do now
5. Now i need to set the session values in the text field of the html form
6. I also need to be able to edit those vales and store the edited values in the database.
Please help me as i have tried doing it for 1 week without any clues
i have tried to create a html page which is something like this:
<html>
<head>
<title>Edit Employee Details Page</title>
<body BGCOLOR="red" text="black">
<h1 ><font color="black">Edit Employee Details Page</font></h1>
<form action = "EditEmpDetails" method="Get">
<table width="50% align="center"
<tr><td>Employee ID: </td>
<td><INPUT TYPE="TEXT" name="employeeid"<br></td></tr>
<tr><td><center><input type="submit" value="submit"></center></td></tr>
<tr><td><center><input type="reset" value="reset" ></center></td></tr>
</table>
</form>
</body>
</html>
design of my servlet EditEmpDetails.java
public void EditEmpDetails1 extends HttpServlet
public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
PrintWriter out = response.getWriter();
response.setContentType("text/html");
HttpSession session = request.getSession();
String employeeid;
String X = request.getParameter("employeeid");
System.out.println("Employee iD:" + X);
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:murphy");
String query = "Select * from users where employeeid=?";
PreparedStatement stat = con.prepareStatement(query);
System.out.println(stat);
stat.setString(1,X);
ResultSet rs = stat.executeQuery();
while(rs.next())
String Z = rs.getString(password);
if(Z.equals(X))
String A = rs.getString(1);
session.setAttribute("employeeid", A);
String B = rs.getString(2);
session.setAttribute("firstname", B);
String C = rs.getString(3);
session.setAttribute("lastname", C);
String D = rs.getString(4);
session.setAttribute("gender", D);
String E = rs.getString(5);
session.setAttribute("dateofbirth", E);
String F = rs.getString(6);
session.setAttribute("address", F);
String G = rs.getString(7);
session.setAttribute("postalcode", G);
String H = rs.getString(8);
session.setAttribute("phone", H);
String I = rs.getString(9);
session.setAttribute("mobile", I);
String J = rs.getString(10);
String url = "/EditEmpDetao;s.java";
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url)
dispatcher.forward(request,response);
catch (Exception e)
system.out.println(e)
I do not know how to put the values stored in the session object into the html text box3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.do you really need to store this in session object?
5. Now i need to set the session values in the text field of the html form which form? in a new html/jsp page? i suggest go for a JSP
In your JSP page use JSP expression tags to put the session attributes.
it's something like : <input type='text' name='employeeid' value='<%= session.getAttribute("employeeid") %>' >and you need to generateanother servlet for saving the details/modifications to the database.
I think i m clear enough.
if you need more clarifications. just try it and then post your problem.
Diablo -
How can i get the value stored in the session object using its sessionid
how can i get the value stored in the session object using its sessionid by running stand alone java application
myforum wrote:
how can i get the value stored in the session object using its sessionid by running stand alone java applicationThis does not seem to make sense! You need at least to give a lot more detail of what you are doing. -
How to compare the values stored in the list
Hi,
I am having the requirement that i want to compare the values stored in the list.How to store the values in the list and compare the list values stored inside it.
Regards,
Ahamadhttp://java.sun.com/j2se/1.5.0/docs/api/java/util/Collections.html#sort(java.util.List)
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collections.html#sort(java.util.List,%20java.util.Comparator)
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Comparator.html
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html -
Can i get the time capsule to automatically back up my file from my Mac Book Air but have certain files which are only stored on the time capsule and not the computer? Then can i access these files only on the time capsule without connecting it?
igonneau wrote:
Can i get the time capsule to automatically back up my file from my Mac Book Air but have certain files which are only stored on the time capsule and not the computer?
You can, but how are you going to back up those other files? When (not if) your Time Capsule fails, you risk losing them. See #Q3 in Using Time Machine with a Time Capsule for details.
Then can i access these files only on the time capsule without connecting it?
Not sure what you mean. You have to connect a computer, either via Ethernet cable or wirelessly, to read or write to the disk. -
I want to block unknown numbers which is not stored in the contacts
I want to block unknown numbers which is not stored in the contacts
Contact your carrier to see if they offer call blocking services.
If you just don't want to be bothered, you can set a custom ringtone for all of your contacts, then create or download a "silent" ringtone and set a custom vibration pattern of "none" and assign them as the default ringtone and vibration pattern. This won't actually block the calls, but you won't hear it ring and they will roll to voicemail. -
How to display the values stored in the database in the combobox on load?
I am develping one application where in
I wanted to display the values in the combobox which I am taking from the database and in the same form passing that value in same form after selecting it,My program is running fine for the first time but next time it is giving me NullPointerException.
So can anyone tell me please how I should develop the this application to avoid this exception?
Thank You
PraddyThanx a lot for showing interest in answering my query.I am pasting my code for ur reference.Please try to reply ASAP.
Thank You,
Praddy.
CODE:
======
<html>
<head>
<script language="javascript">
function submitthisform(thisForm)
thisForm.submit();
</script>
</head>
<body>
<form method=post name=samepgm>
Select City: <select name=city onChange='submitthisform(samepgm)'><br><br><br>
<option value=''></option>
<option value='All'>All</option>
<%@ page language="java" import="java.sql.*" %>
<%
String scity = request.getParameter("city");
System.out.println(scity);
Connection con = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:property","","");
Statement st = con.createStatement();
ResultSet rs1 = st.executeQuery("select distinct hcity from housefinance");
while(rs1.next())
//String ohname = rs1.getString("hname");
String ocity = rs1.getString("hcity");
//out.println(ohname +"<br>");
out.println(ocity +"<br>");
%>
<br><br><br><option value='<%=ocity%>'><%=ocity%></option><br>
<% }
rs1.close();
if(scity.equals("All"))
ResultSet rs2 = st.executeQuery("select * from housefinance");
while(rs2.next())
String ohname = rs2.getString("hname");
String ohadd1 = rs2.getString("hadd1");
//String ohadd2 = rs2.getString("hadd2");
String ohcity = rs2.getString("hcity");
String ohpcode = rs2.getString("hpcode");
String ohtelno = rs2.getString("htelno");
String ohfaxno = rs2.getString("hfaxno");
String ohemail = rs2.getString("hemail");
String ohmobile = rs2.getString("hmobile");
%>
<pre>
<tr>
<td><p>Company : <%=ohname%> </p></td>
<td><p>Address : <%=ohadd1%></p></td>
<td><p>City : <%=ohcity%> </p></td>
<td><p>Pin : <%=ohpcode%></p></td>
<td><p>Telphone : <%=ohtelno%></p></td>
<td><p>Fax No: : <%=ohfaxno%></p></td>
<td><p>Email : <%=ohemail%></p></td>
<td><p>Mobile No. : <%=ohmobile%></p></td>
</tr>
</pre>
<%
else
ResultSet rs = st.executeQuery("select * from housefinance where hcity like '%"+scity+"%'");
while(rs.next())
String ohname = rs.getString("hname");
String ohadd1 = rs.getString("hadd1");
//String ohadd2 = rs.getString("hadd2");
String ohcity = rs.getString("hcity");
String ohpcode = rs.getString("hpcode");
String ohtelno = rs.getString("htelno");
String ohfaxno = rs.getString("hfaxno");
String ohemail = rs.getString("hemail");
String ohmobile = rs.getString("hmobile");
%>
<tr>
<td><p>Company : <%=ohname%> </p></td>
<td><p>Address : <%=ohadd1%></p></td>
<td><p>City : <%=ohcity%> </p></td>
<td><p>Pin : <%=ohpcode%></p></td>
<td><p>Telphone : <%=ohtelno%></p></td>
<td><p>Fax No: : <%=ohfaxno%></p></td>
<td><p>Email : <%=ohemail%></p></td>
<td><p>Mobile No. : <%=ohmobile%></p></td>
</tr>
<hr>
<% }
%>
</select>
</form>
</body>
</html> -
Is the FIFO value stored in the database? Where?
Hi,
We are working on an implementation project of B1 with an integration to SAP ERP. We need to find the stock value somewhere in the database. Does this exist if you are running FIFO? Is running a stock report the only way to find the stock value when running FIFO, nothing is stored in the DB?
Your help is much appreciated.
Br
Anders PeterssonHi,
Check OIVQ and OIVE tables
OIVQ: Open entry FIFO layer.
OIVE: Open exit FIFO Layer
Thanks,
Neetu -
User Settings - To Clear a default value stored by the Users
Hi All,
Are the user settings like default values will stored in any table? if so can anybody provide me that table name? I do want to clear the default COQ category value stored by all the users. If not in table, how can i clear this value?
Thanks
MugundhanHi,
The settings saved for a user can be seen in SU01 - Personalization tab. You can delete the required default settings for user from Personalization tab.
Regards
Sejo -
Where is the UniqueID value stored in the SharePoint database?
I'm trying to find where the 'UniqueId' field is stored in the SharePoint database for a list item. Not the GUID, but the UniqueID. This value is usually formatted like [ID#;GUID]. The guid here is different than the item guid.
In the documentation the column has a description, 'Lookup to a GUID for an item.' ( http://msdn.microsoft.com/en-us/library/dd961684(v=office.12).aspx )
but I can't find it in the database.
Here is the query I tried.
SELECT UserData.*
FROM dbo.Lists INNER JOIN dbo.UserData
ON dbo.Lists.tp_ID = dbo.UserData.tp_ListId
WHERE dbo.UserData.tp_ListId = '[my list]'
This should pull all values from the AllUserData table but it doesn't list 'UniqueID' as a column.If you have 2 lists, List A contains custom names, List B has a lookup field that points to List A. I go into list B and select a client name ("Contoso"), enter some info, and save it. On the back end, the list item will contain a value of something like:
34#;Contoso
In this scenario the 34 is the SPListItem.ID value of that item in List A. They start at 1 in each list and increment by 1.
Also, running queries against the database directly is not supported and can take your database out of Microsoft's supportability.
Dimitri Ayrapetov (MCSE: SharePoint) -
Hi,
Archiving Database Schema states that in the tables SessionDetails and Conferences tables, the column 'SessionIdTime'
holds datetime value at which session request is captured by Archiving service.
But, is there any order in which the records are stored in the db?
Say, a session 'S1' starts at 1:00 PM and another session 'S2' starts at 1:05PM. 'S2' ends at 1:10 PM and 'S1' is still on going. I have observed that on ending the session the record is written to DB, so is it possible that details of session S2 is written
in db prior to 'S1'?
Is there any way to query these tables, in the order in which the records are stored?
Thanks and Regards,
ArjabhHi,
You can export records that have been stored in the Lync Server Archiving database with the following cmdlet in the link using Lync server manageshell.
http://technet.microsoft.com/en-us/library/gg398452.aspx
You need to write a SQL query/view or report server report to display the information.
More details:
http://blogs.technet.com/b/dodeitte/archive/2013/06/02/sample-lync-server-archiving-report-available.aspx
For the issue about “is there any order in which the records are stored in the db?” you can post a case to SQL forum and more experts will help to verify the issue.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
How the Payload Message and Logs are stored in the B1i Database Table: BZSTDOC
I would appreciate it if someone could provide any documentation regarding B1i database further maintenance.
for example:
I want to know how the payload message and logs are stored in the table BZSTDOC, and how can we retrieve the payload message directly from the column DOCDATA.
As described in the B1iSNGuide05 3.2 LogGarbageCollection:
to avoid the overload of the B1i Database, I set the Backup Buffer to 90 days : so this means Message Logs from the last 90 days will always be available, but is there some way we can save those old messages to a disk so that I can retrieve the payload message anytime?
in addition, let’s assume the worst, the B1iSN server or the B1i database damaged, Can we just simply restore the B1i database from a latest backup DB then it can work automatically after the B1iSN server is up and running again?
BR/JimDear SAP,
Two weeks passed, I still haven't received any feedback from you guys.
Could you please have a look at my question?
How is this Question going? Is it Untouched/Solving/Reassigned ? -
UCM error which retrieving values
Hello All,
I am using jdev 11.1.1.6
I am trying to display in a iterator few values from UCM.
The iterator is binded with backing bean, In backing bean the values are populated..
Iterator should display list of values for each doc..
Some files on UCM are not proper, I am getting error below
oracle.stellent.ridc.protocol.ServiceException: Could not load document information. Exception type is 'javax.xml.bind.UnmarshalException'. org.xml.sax.SAXParseException: Premature end of file..
I want to skip this error in java.may be adding try catch and populate those files which are correct...Hi,
its an UCM problem, so chances are this is the wrong forum to post to. Anyway, what is the question you have? To use a try/catch block see, if your custom bean class shows in the stack trace. If so you have th eline number to surround with try/catch
Frank -
How to validate and pass a value stored in the Check box to a SQL report
I have a menu(parameter form) with select lists and two check boxes(one option for DD/MM/YY(called CHK_BOX_MTH) and other for Quarter(Called CHK_BOX_QTR)).
If the user selects the check box for month, he should be only be able to select list of values for Month, Day and Year. The user should not be able to choose Quarter(or should be prompted with a message, "Check only one option"). Similarly if Quarter is chosen, DD/MM/YY should be disallowed.
How do I code this validation in HTML DB and where would it reside on the item?
How do I then pass these parameters(Checked box value) using a URL to another page as input?
The query expects the following
SELECT ... FROM DIM_DAY
WHERE
(:CHK_BOX_MTH IS NOT NULL AND START_DATE = ":SELECTED_DATE")
OR
(:CHK_BOX_QTR IS NOT NULL AND QTR = ":SELECTED_QTR");Vikas ,Thank you for your reply.
The only reason I am not able to use the radio group because I am not able to place the items shown adjacent to Month in the page. The From Date and To date (user enterable fields) should appear to the right of the Month radio button and quarter item to the right of the quarter radio button.
From Date : "Month" "Day" "Year" (should be displayed to the right of Month )
End Date : "Month" "Day" "Year" (should be displayed to the bottom right of
Month and above the Quarter line)
I hope I am making sense. -
Which data are stored in the table GTL0?
Hi All,
cuold anyone tell anything about the table GTL0?
What is it for?
ThanksHi,
You mean GLT0... It's the totals of G/L (when new G/L is not activated)
Regards,
Eli
Maybe you are looking for
-
Voice mail for one user with two extensions
Environment: Cisco Unified CM Administration System version: 7.1.3.30000-1 Cisco Unity Connection Administration Version 7.1.3.10000-68 We have a user this year that will be wearing two hats and will have offices in two different locations. I have bo
-
VLAN trunking on Hyper-V from SCVMM 2012 R2
hi All, I have a multiple Hyper-V host, each hyper-V host have 2 physical NIC, 1 Physical NIC connected to Management Network, and the other 1 Physical NIC connected to Production LAN. We have 5 VLAN ID in Production LAN, based on my experience we c
-
I accidentaly deleted a purchased tv show from the cloud how can i get it back in the cloud
After updating to The latest Itunes I had purchased Thundercats 2011 series season 1 in HD and downloaded it I did not realize I had 720p selected and downloaded in 720p instead of 1080p like I wanted so knowing it was in the cloud I deleted the seri
-
Pixel VS DPI - Need to have a quick question cleared up!
Hello Adobe Forums! I would consider myself an experienced designer, but I have a question that might seem rather mundane. To be completely honest, I just think I have overthought/overanalyzed it to a point where I confused myself! In Photoshop, I ha
-
Spc control chart not showing UCL CL or LCL
Hi people, I have an spc control chart within my app. However for some reason the UCL, CL and LCL aren't showing on my graph. A brief background: This is an app for people entering measurement data into several numberboxes the average of which goes