Dataprovisioning not showing tables
Hi Guys
I am using SLT for first time with HANA. I can see some users in the box have replicated the tables and scheduled the job to load tables like MARA etc. Now when I did follow the same process ( Data provisioning > Load> KNB1 ) I didnot see any job created in data provisioning. I tried searching using filter on data provisioning screen but gave me nothing. Please refer to screenshot which I have pasted in the attached screen. It will give you an idea of the area where I am talking of the job should appear for KNB1.
I am not sure what I am missing. I looked at tcode iuuc_sync_mon and didnot see the table there so I added the table there. I could see 17 table entries there in the transaction and same 17 tables are being replicated but not the table which I am trying to load.
Can you please help?
Thanks
Yogee
Hello Yogesh,
Please find the below link, it wil helpful for you.
https://www.experiencesaphana.com/videos/1373
http://help.sap.com/hana/hana_slt_tom_en.pdf
Regards,
neha
Similar Messages
-
:: NWA does not show table view for monitoring reports ::
Hi,
We are facing an issue in one of our portal system.
I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports.
Here I get the resource utilization graphs.
The graphs show proper values however when I click on table view it does not show any value or table at all.
Then I click on Settings button, and click on Persistent radio button.
It asks to enter the number of days for which the the data should be stored.
I gave it as 2 days and click on Apply button.
It shows a message saying "changes would be effective after restarting monitoring service".
However when I go there i.e. NWA --> Administration --> Applications
I get below services
cafruntimemonitoring~ear
com.sap.ip.bi.sdk.monitoring
tclmwebadminmonitoravail~wd
tclmwebadminmonitorcomplib~wd
tclmwebadminmonitorprovider_ear
tclmwebadminmonitorstate~wd
tclmwebadminoverviewmonitoring~wd
tcmonitoringsysteminfo
Would you kindly suggest which service from above list should be restarted ?
Thank you, Regards,
Girish Garje.I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work. -
Version 3.2.20.09 Not Showing "Tables (filtered" in Connections Tree
Installed 3.2.20.09 and now being frustrated with the application not always showing the "Tables" node in the connections tree. Very frustrating. This "feature" manifested itself in 3.1.05 and was fixed in 3.1.07.
Does it come back after a re-start? I notice the same thing happening in 3.2, but not in our current development builds, so if this is the same issue, I think we have it fixed.
-
Css layout or style sheet not showing table layout
When I was working on my website I noticed that my tables don't show up in the browser of my site, they do however, show up in the dreamweaver design so I am wondering if when I was making changes somehow to the site if something in the css layout or style sheet got deleted. Could someone please take a look at it and please tell me what needs to be fixed, I am not at all familiar with css so I need all the help I can get on this here is the link. Thank you! http://angelcoilbartlett.com/index.html
In your HTML document in Code View, remove the following embedded CSS code. This is competing with external style sheet code and causing your site havoc. In the future, don't create any more new styles. You don't need them. Stick with the established styles set up by the original designer and you will have way fewer problems.
DELETE ALL OF THIS NONSENSE:
<style type="text/CSS>
<!--
.style1 { font-size: 12pt
.style3 { font-size: 18pt;
color: #000000;
.style6 {font-size: 12pt; color: #000000; }
.style8 { color: #000000;
font-size: 14pt;
.style9 {
color: #990000;
font-weight: bold;
a:link {
color: #666666;
text-decoration: none;
a:visited {
text-decoration: none;
color: #666666;
a:hover {
text-decoration: none;
a:active {
text-decoration: none;
.style10 {color: #000000}
body,td,th {
color: #666666;
.style7 {font-size: 12pt;
color: #000000;
font-weight: bold;
.style12 {color: #666666; font-weight: bold; }
.style14 {color: #000000; font-weight: bold; }
.style13 {color: #666666}
-->
</style>
If you want to continue working with web pages, you owe it to yourself and your employer to learn basic HTML and CSS so you can get yourself out of jam when things go wrong.
Start learning here: HTML & CSS Tutorials - http://w3schools.com/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
JTable with custom column model and table model not showing table header
Hello,
I am creating a JTable with a custom table model and a custom column model. However the table header is not being displayed (yes, it is in a JScrollPane). I've shrunk the problem down into a single compileable example:
Thanks for your help.
import javax.swing.*;
import javax.swing.table.*;
public class Test1 extends JFrame
public static void main(String args[])
JTable table;
TableColumnModel colModel=createTestColumnModel();
TestTableModel tableModel=new TestTableModel();
Test1 frame=new Test1();
table=new JTable(tableModel, colModel);
frame.getContentPane().add(new JScrollPane(table));
frame.setSize(200,200);
frame.setVisible(true);
private static DefaultTableColumnModel createTestColumnModel()
DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
columnModel.addColumn(new TableColumn(0));
return columnModel;
static class TestTableModel extends AbstractTableModel
public int getColumnCount()
return 1;
public Class<?> getColumnClass(int columnIndex)
return String.class;
public String getColumnName(int column)
return "col";
public int getRowCount()
return 1;
public Object getValueAt(int row, int col)
return "test";
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
}Edited by: 802416 on 14-Oct-2010 04:29
addedKleopatra wrote:
jduprez wrote:
See http://download.oracle.com/javase/6/docs/api/javax/swing/table/TableColumn.html#setHeaderValue(java.lang.Object)
When the TableColumn is created, the default headerValue is null
So, the header ends up rendered as an empty label (probably of size 0 if the JTable computes its header size based on the renderer's preferred size).nitpicking (can't resist - the alternative is a cleanup round in some not so nice code I produced recently <g>):
- it's not the JTable's business to compute its headers size (and it doesn't, the header's the culprit.) *> - the header should never come up with a zero (or near-to) height: even if there is no title shown, it's still needed as grab to resize/move the columns. So I would consider this sizing behaviour a bug.*
- furthermore, the "really zero" height is a longstanding issue with MetalBorder.TableHeaderBorder (other LAFs size with the top/bottom of their default header cell border) which extends AbstractBorder incorrectly. That's easy to do because AbstractBorder itself is badly implemented
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6459419
Thanks for the opportunity to have some fun :-)
JeanetteNo problem, thanks for the insight :) -
Not showing tables, views, ... in vs2010
Hi,
I installed ODP.net + ODT (11i) for use with vs2010 & oracle 10.02.0010 (to be upgraded to oracle 11).
The product installed just fine, I can connect to the database using ODP and ODBC.
However, when connecting with ODP in vs2010 I can't see any tables, views or stored procedures (can't see anything really). When using ODBC, everything works: I see all the tables, views etc that are in the database, and I can query them.
I also tried to execute a query using the ODP.net, and it gave me: ORA-00942: table or view does not exist.
I did a search on the forums, but none of the solutions provided, changed anything for me.
Does anyone have any ideas?
Edited by: user13493229 on 18-mei-2011 11:05Hi,
First of all, make sure you see "ODP.NET" in the connection dialog on Server Explorer.
Next, check the "Filters" tab of the connection dialog. By default we block public synonyms and schema objects that you do not own.
If you still can't see objects, then most likely your DBA has not given you enough privileges to use these tools.
Try looking at the advice I gave in the following thread explaining how to turn on ODP.NET tracing. First look to see the SQL involved in the ORA-942.
Then look at the other SQL we issue and see why you are not able to get any rows from it.
vs2010 ORA-00942 table or view does not exist -
Not showing tables today...again.
im using the dreamweaver toolbox and cs3 and i can only
sporadically find my tables. it frustrated the hell out me but now
its just not working at all.
i can upload and download form my server but i can never
access my tables "no tables found"
i think someone here had succuss toggling wiht their local
server? any suggestions?
someone please help before i decide to never open dreamweaver
again!Hi,
First of all, make sure you see "ODP.NET" in the connection dialog on Server Explorer.
Next, check the "Filters" tab of the connection dialog. By default we block public synonyms and schema objects that you do not own.
If you still can't see objects, then most likely your DBA has not given you enough privileges to use these tools.
Try looking at the advice I gave in the following thread explaining how to turn on ODP.NET tracing. First look to see the SQL involved in the ORA-942.
Then look at the other SQL we issue and see why you are not able to get any rows from it.
vs2010 ORA-00942 table or view does not exist -
FF not showing table border style
I have a webpage with css table border style dotted. It shows up in IE but there is just a line around the table in FF. Is there a way to make it show up? Many thanks.
table.mytable {
border-width: 6px;
padding: 15px;
border-style: dotted;
border-color: #88aa96;}You need that } after background-color:#e8e5da;
By removing it you introduced another error:
<blockquote>Warning: Expected declaration but found '.'. Skipped to next declaration.
Source File: http://www.cbrundage.net/cleeve/nature.htm
Line: 33
</blockquote>
<pre><nowiki>table.mytable {
border-width: 6px;
padding: 15px;
border-style: dotted;
border-color: #88aa96;
background-color:#e8e5da; /* missing } /*
.back td{background-color:#e8e5da;
</nowiki></pre>
Instead of background-size you probably mean background-position:
<blockquote>Warning: Unknown property 'background-size'. Declaration dropped.
Source File: http://www.cbrundage.net/cleeve/nature.htm
Line: 15</blockquote>
<pre><nowiki>background-attachment:fixed; background-size: 100% 100%;
</nowiki></pre> -
Change Data Source not showing tables (in the taget drop down) that begin with "SYSTEM"
I am trying to change the data source to a database table that is named someschema.SYSTEM_XXX_XXX but none of my tables that are named SYSTEM_....... are in the combo box list of the taget tables (Change Data Source) dialog. I have tried this on several database with the same results. Are you filtering out tables that begin with system ?
<p>This issue has been resolved in the latest hot fix for CR4E. You can download the latest version of the hot fix by following these steps:</p> <ol><li>Go under the <strong>Help</strong> menu</li><li>Select the option <strong>Software Updates -> Manage Configuration</strong></li><li>Expand the tree until you see <strong>Crystal Reports for Eclipse 1.0.1.v671</strong> (or similar)</li><li>Highlight this entry and select the <strong>Scan for Updates</strong> option in the window on the right.</li></ol> <p>This will allow you to update to the latest version which is currently <strong>1.0.2.v795</strong> </p> <p>Please let me know if this fix does not resolve the issue outlined in this thread. </p><p> </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a> </p>
-
Sql developer not showing table/view names
I just set up a new machine, the database settings are same as in the old machine. But I cannot see the table/view names when expending the "+" sign before Tables or Views. When using "select * from tab", the result of all tables/views returns correctly. Is there any other settings I missed?
I'm using Oracle Database 10g Express Edition, and Oracle SQL Developer 1.5.5.The same issue exists in 2.1.1.64.39
All of a sudden: list of tables empty, views still viewable,tables are still there though.
In the logging window I get ora-904 messages on sys.o.name
Sybrand Bakker
Senior Oracle DBA -
Hello,
I have connected to my php/mysql database. But the problem is that I don't see any tables, I know my database has tables.
the programmer before me installed cake could that be an issue?
I am using vista, dwcs4
THanksAnd for all who comes from Toad 9: Toad presents Materialized Views in the Tab "Tables"...so don't wonder if you don't see any Table in SQL Developer - they are in the correct Tab "Materialized Views".
-
Table not showing data after refresh
Hi gurus ,
A unique problem We have added a field in the custom table . once moved to quality system it is not showing up the data whwn when we do a select query on that table in se16 . say total entries are ten thousand four of them are checked and when display not checked i.e eq space we get just 100 entries on number of entries ..i asked to regenerate the table in quality system but it did not help .The Quality system was refresh 1 month ago and we see it not working after it ..please suggest the correct steps we need to perform to recover the data . Adjust database with keep data has already been done ...Hi Anjaneya Bhardwaj,
If I understand well, your issue is that you have a SELECT in your program, saying newfield is your newfield, something like:
SELECT ... FROM ztable INTO ... WHERE newfield = space.
and it doesn't return the records that existed in quality before newfield was added.
It it because, by default, when you add a field to an existing database table, with records already present, they are assigned the NULL value, which is different from space.
They can be retrieved using WHERE newfield IS NULL.
Usually, to avoid this issue, when we add a new field, we tick the "no null value" checkbox for this new field, in SE11 transaction. That will initialize the field of existing records, to the initial value (space for characters, 0 for numeric fields, etc.) Note: maybe it can be counter performant for big tables...
Solution for your issue, run this code once:
UPDATE ztable SET newfield = space WHERE newfield IS NULL.
BR
Sandra -
ALV GRID Report is not showing all records which is in internal table
hi all,
have one doubt. please clarify me. ALV Report is working fine since long tiem. But suddenly this report is showing few records only for the given input. Example: it_main table have 50 records, but output is showing only 10 records only. (we have not made any modifications in this report).
temporarily i have given excel output file from it_main table. excel file is showing all records.
here it_main have all the records. but output is showing few records only. it is not showing any error. i have tested with REUSE_ALV_LIST_DISPLAY function also. but it also showing same results(few records only.)
please give me some idea.
FORM display_alv_report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = sy-repid
is_layout = wa_layout
it_fieldcat = it_fcat
it_events = it_events
i_save = 'A'
is_variant = wa_variant
TABLES
t_outtab = it_main
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE text-204 " 'Error in Display the list'
TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDIF.
ENDFORM. . "DISPLAY_ALV_REPORT
Best Regards,
Srinivashi
Please study this program and give me suggestions.
ALV Declaration
DATA : it_events TYPE slis_t_event, "ALV event
it_fcat TYPE slis_t_fieldcat_alv, "Field catalog
it_list_top_of_page TYPE slis_t_listheader,
c_tabname TYPE slis_tabname VALUE 'IT_MAIN'.
DATA : wa_layout TYPE slis_layout_alv,
wa_event TYPE slis_alv_event,
wa_fcat TYPE slis_fieldcat_alv,
wa_variant TYPE disvariant.
START-OF-SELECTION.
PERFORM material_pass.
PERFORM data_retrieval.
END-OF-SELECTION.
PERFORM sub_display_report.
FORM sub_display_report .
DATA status(1).
IF r1 = 'X'.
PERFORM build_fieldcatalog USING :
'1' 'ERDAT' 'S.O DATE' '' '10' 'X',
'2' 'VBELN' 'SALE ORDER' '' '10' 'X',
'3' 'POSNR' 'SALE ITEM' '' '6' '',
'4' 'BSTKD' 'CUSTOMER PO' '' '35' '',
'5' 'BEZEI' 'REASON FOR REJECTION' '' '40' '',
'6' 'PLNUM' 'PLANNED ORDER' '' '10' '',
'7' 'AUFNR' 'PROD.ORDER.' '' '12' '',
'8' 'MATNR' 'MATERIAL NUMBER' '' '18' '',
'9' 'MAKTX' 'MATERIAL DESCRIPTION' '' '40' '',
'10' 'WERKS' 'PLANT' '' '4' '',
'11' 'KWMENG' 'SALE ORDER QTY' '' '15' '',
'12' 'VRKME' 'UNIT' '' '4' '',
'13' 'GAMNG' 'PROD.ORDER QTY' '' '13' '',
'14' 'IGMNG' 'CONFIRMED ORDER QTY' '' '13' '',
'15' 'GMEIN' 'UNIT' '' '4' '',
'16' 'MENGE' 'G.R QUANTITY' '' '13' '',
'17' 'SOBAL' 'S.O BALANCE' '' '13' '',
'18' 'PRDBAL' 'PROD.BALANCE' '' '13' '',
'19' 'GSM' 'GSM' '' '4' '',
'20' 'SIZE1' 'SIZE1' '' '10' '',
'21' 'SIZE2' 'SIZE2' '' '10' ''.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = pathname
filetype = ftype
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_mains
EXCEPTIONS
file_write_error = 1.
IF sy-subrc = 0.
status = 'S'.
ELSE.
status = 'E'.
ENDIF.
ELSEIF r2 = 'X' OR r3 = 'X'.
PERFORM build_fieldcatalog USING :
'1' 'ERDAT' 'S.O DATE' '' '10' 'X',
'2' 'VBELN' 'SALE ORDER' '' '10' 'X',
'3' 'POSNR' 'SALE ITEM' '' '6' '',
'4' 'BSTKD' 'CUSTOMER PO' '' '35' '',
'5' 'BEZEI' 'REASON FOR REJECTION' '' '40' '',
'6' 'PLNUM' 'PLANNED ORDER' '' '10' '',
'7' 'AUFNR' 'PROD.ORDER.' '' '12' '',
'8' 'MATNR' 'MATERIAL NUMBER' '' '18' '',
'9' 'MAKTX' 'MATERIAL DESCRIPTION' '' '40' '',
'10' 'WERKS' 'PLANT' '' '4' '',
'11' 'KWMENG' 'SALE ORDER QTY' '' '15' '',
'12' 'VRKME' 'UNIT' '' '4' '',
'13' 'GAMNG' 'PROD.ORDER QTY' '' '13' '',
'14' 'IGMNG' 'CONFIRMED ORDER QTY' '' '13' '',
'15' 'GMEIN' 'UNIT' '' '4' '',
'16' 'MENGE' 'G.R QUANTITY' '' '13' '',
'17' 'SOBAL' 'S.O BALANCE' '' '13' '',
'18' 'PRDBAL' 'PROD.BALANCE' '' '13' '',
'19' 'GSM' 'GSM' '' '4' '',
'20' 'SIZE1' 'SIZE1' '' '10' '',
'21' 'CUT1' 'CUT1' '' '11' '',
'22' 'SIZE2' 'SIZE2' '' '10' '',
'23' 'CUT2' 'CUT2' '' '11' '',
'24' 'SIZE3' 'SIZE3' '' '10' '',
'25' 'CUT3' 'CUT3' '' '11' '',
'26' 'SIZE4' 'SIZE4' '' '10' '',
'27' 'CUT4' 'CUT4' '' '11' '',
'28' 'SIZE5' 'SIZE5' '' '10' '',
'29' 'CUT5' 'CUT5' '' '11' '',
'30' 'SIZE6' 'SIZE6' '' '10' '',
'31' 'CUT6' 'CUT6' '' '11' ''.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = pathname
filetype = ftype
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_mainall
EXCEPTIONS
file_write_error = 1.
IF sy-subrc = 0.
status = 'S'.
ELSE.
status = 'E'.
ENDIF.
ENDIF.
PERFORM build_layout.
PERFORM build_events.
PERFORM sub_comment_build USING it_list_top_of_page.
PERFORM sub_set_variant.
PERFORM display_alv_report.
IF status = 'S'.
MESSAGE 'Excel Output file Downloaded to Given Path' TYPE 'I'.
ELSE.
MESSAGE 'Download Not Possible' TYPE 'I'.
ENDIF.
ENDFORM. " SUB_DISPLAY_REPORT
FORM BUILD_FIELDCATALOG
FORM build_fieldcatalog USING p_col_pos
p_fieldname
p_text
p_datatype
p_outputlen
p_col_freez.
wa_fcat-row_pos = '1'.
wa_fcat-col_pos = p_col_pos.
wa_fcat-fieldname = p_fieldname.
wa_fcat-tabname = c_tabname.
wa_fcat-reptext_ddic = p_text.
wa_fcat-datatype = p_datatype.
wa_fcat-ddic_outputlen = p_outputlen.
wa_fcat-key = p_col_freez.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
FORM build_layout.
CLEAR: wa_layout.
wa_layout-window_titlebar = 'LIST OF GSM WISE OPEN SALE ORDERS'.
wa_layout-colwidth_optimize = 'X'.
wa_layout-totals_text = 'CUMULATIVE'.
ENDFORM. "BUILD_LAYOUT
*& Form BUILD_EVENTS
FORM build_events.
CLEAR wa_event.
REFRESH it_events.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_events
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc = 0.
READ TABLE it_events INTO wa_event
WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'TOP_OF_PAGE'.
APPEND wa_event TO it_events.
CLEAR wa_event.
ENDIF.
ENDIF.
ENDFORM. "BUILD_EVENTS
-->P_IT_LIST_TOP_OF_PAGE text
FORM sub_comment_build USING it_top_of_page TYPE slis_t_listheader.
DATA ls_line TYPE slis_listheader.
CLEAR ls_line.
ls_line-typ = 'H'.
ls_line-info = str1.
APPEND ls_line TO it_top_of_page.
CLEAR ls_line.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header[].
ENDFORM. " SUB_COMMENT_BUILD
*& Form SUB_SET_VARIANT
text
--> p1 text
<-- p2 text
FORM sub_set_variant .
CLEAR wa_variant.
wa_variant-report = sy-repid.
wa_variant-username = sy-uname.
wa_variant-variant = c_variant.
wa_variant-variant = p_layout.
ENDFORM. " SUB_SET_VARIANT
*& Form DISPLAY_ALV_REPORT
*Display Report Using ALV GRID
FORM display_alv_report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = sy-repid
i_callback_pf_status_set = c_pf_status
i_callback_user_command = c_user_command
is_layout = wa_layout
it_fieldcat = it_fcat
it_sort = it_sort[]
it_events = it_events
i_save = 'A'
is_variant = wa_variant
TABLES
t_outtab = it_main
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE text-204 " 'Error in Display the list'
TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDIF.
ENDFORM. . "DISPLAY_ALV_REPORT
*ALV Report Header
FORM top_of_page.
DATA : t_header TYPE slis_t_listheader WITH HEADER LINE,
wa_header TYPE slis_listheader,
t_line LIKE wa_header-info,
ld_lines TYPE i,
ld_linesc(10) TYPE c.
wa_header-typ = 'H'.
T_HEADER-INFO = 'LIST OF GSM WISE OPEN SALE ORDERS'.
wa_header-info = str1.
APPEND wa_header TO t_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header[].
ENDFORM. "TOP_OF_PAGE
here it_main internal table having all data. but output is showing few records only.
pl. give some idea.
Thanks & Regards
Srinivas. -
Plz. help,table does not show value for one field
hi all,
i have a really strange problem , i have a string field in access database that contains the date and time value,this field for some strange reason does not show in my table created through html,
i tried all combination(arranging the fields) ,renaming it w/o help, it shows the value using out.println(but then why is it not showing me in the table???)
plz. help ASAP.
the code is as under
<HTML>
<HEAD><TITLE> LOGGED IN ok</TITLE> </HEAD>
<BODY bgcolor = "yellow">
<%@ page import = "java.sql.*" %>
<%! // declaring variables
String s = "";
java.sql.ResultSet rs=null,rs1=null,rs2=null;
java.sql.Connection con;
java.sql.Statement stmt,stmt1;
String empId = "",compid ="",calltype ="",probheader="",probdescription ="",probcomment ="",priority ="",a="";
%>
Following are the pending complaints ..
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 width="100%">
<TR>
<TD> ComplainD </TD>
<TD> ComplainId </TD>
<TD> ProbHeader </TD>
<!--
<TD> ProblemDescription </TD>
<TD> Problem Comments </TD>
-->
</TR>
<%
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +"DBQ=c:/vishal/HelpDesk.mdb;DriverID=22;READONLY=false","","");
//java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:Portal");
java.sql.Statement stmt = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_READ_ONLY);
s = "select * from Complains";
java.sql.ResultSet rs = stmt.executeQuery(s);
while(rs.next())
//getting data from database
empId = rs.getString("EmpId"); // out.print(" " + empId);
compid = rs.getString("ComplainId");
// out.print(" " + compid);
calltype = rs.getString("CallType");
// out.print(" " + calltype);
a = rs.getString("Complaindate"); //problem with this field
out.print(a); // prints value
%>
<TR>
<TD> <%=compid %> </TD>
<TD> <%=calltype %> </TD>
<TD <%=a %> </TD>
</TR>
<%
}//while loop
%>
</TABLE>
<%
}//try
catch(Exception ep)
out.println(ep);
System.exit(1);
%>
</BODY>
</HTML>
value in database is as follows :-
Complaindate
5/18/2003 1:30:27 PM
5/18/2003 7:32:43 PM
5/18/2003 7:34:02 PM
5/18/2003 7:49:19 PM
5/18/2003 7:50:27 PM
5/18/2003 10:49:42 PM
5/18/2003 10:58:24 PM
thanking u ,plz ask if any further clarificationsHi
I am seeing nothing wrong with ur code..
what about "view source" result.....plz check with that...
whether u r getting all the trs and tds...
revert back on this Issue..
Mars Amutha -
Internal table field does not show data.
hello experts,
I am currently modifying a code in a report where it shows PO's and it amount, downpayment, Invoice, GR, payment and balance. Now the problem is, some of the PO amount(it gets the amount from ekpo-netwr) does not show on the report output. the field is t_amount-netwr. I really need help on this one guys. Thanks and take care!
PERFORM process_with_budat.
FORM process_with_budat.
DELETE t_pohistory WHERE hist_type <> 'A'
AND hist_type <> 'E'
AND hist_type <> 'Q'.
LOOP AT t_account.
DELETE it_dtl WHERE ebeln = t_account-ebeln
AND psphi IS initial.
DELETE t_ekpo WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_proj-ebelp = t_account-po_item.
SELECT SINGLE psphi FROM prps INTO t_proj-psphi
WHERE posid = t_account-wbs_elem_e.
CHECK sy-subrc = 0.
LOOP AT t_pohistory WHERE po_item = t_account-po_item
AND ebeln = t_account-ebeln.
t_amount-ebeln = t_account-ebeln.
t_amount-psphi = t_proj-psphi.
ON CHANGE OF t_pohistory-po_item.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_amount-netwr = v_netwr.
ENDON.
IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_amount-netwr = v_netwr.
v_ebeln = t_account-ebeln.
v_ebelp = t_account-po_item.
ELSEIF v_ebeln <> t_account-ebeln AND
v_ebelp <> t_account-po_item.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_amount-netwr = v_netwr.
v_ebeln = t_account-ebeln.
v_ebelp = t_account-po_item.
ELSEIF v_ebeln = t_account-ebeln AND
v_ebelp <> t_account-po_item.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_amount-netwr = v_netwr.
v_ebeln = t_account-ebeln.
v_ebelp = t_account-po_item.
ENDIF.
CHECK NOT t_amount-psphi IS INITIAL.
if t_pohistory-pstng_date LE pa_augdt.
IF t_pohistory-pstng_date IN so_augdt.
IF t_pohistory-db_cr_ind = 'H'.
t_pohistory-val_loccur = - t_pohistory-val_loccur.
t_pohistory-val_forcur = - t_pohistory-val_forcur.
t_pohistory-cl_val_loc = - t_pohistory-cl_val_loc.
ENDIF.
IF t_pohistory-hist_type = 'A'.
IF t_pohistory-currency <> 'PHP'.
t_amount-dpamt = t_amount-dpamt + t_pohistory-val_forcur.
ELSE.
t_amount-dpamt = t_amount-dpamt + t_pohistory-val_loccur.
ENDIF.
ELSEIF t_pohistory-hist_type = 'E'.
IF t_pohistory-currency <> 'PHP'.
t_amount-gramt = t_amount-gramt + t_pohistory-val_forcur.
ELSE.
t_amount-gramt = t_amount-gramt + t_pohistory-val_loccur.
ENDIF.
ELSEIF t_pohistory-hist_type = 'Q'.
IF t_pohistory-currency <> 'PHP'.
t_amount-iramt = t_amount-iramt + t_pohistory-val_forcur.
ELSE.
t_amount-iramt = t_amount-iramt + t_pohistory-val_loccur.
ENDIF.
ENDIF.
IF t_pohistory-currency <> 'PHP'.
IF t_pohistory-val_loccur = 0 OR
t_pohistory-val_forcur = 0.
t_amount-tramt = t_amount-iramt.
t_amount-tramt = t_amount-dpamt.
ELSE.
t_amount-tramt = t_amount-iramt.
ENDIF.
ELSE.
t_amount-tramt = t_amount-iramt.
t_amount-tramt = t_pohistory-cl_val_loc + t_amount-dpamt.
ENDIF.
IF NOT t_pohistory-cl_val_loc IS INITIAL.
CONCATENATE t_pohistory-mat_doc t_pohistory-doc_year
INTO bkpf-awkey.
SELECT SINGLE * FROM bkpf
WHERE awkey = bkpf-awkey.
*AVH - removed wrbtr and dmbtr from selection
SELECT augdt augbl shkzg FROM bsak
INTO (bsak-augdt,bsak-augbl,bsak-shkzg)
WHERE bukrs = bkpf-bukrs
AND gjahr = bkpf-gjahr
AND belnr = bkpf-belnr.
*AVH
if not bsak-augbl is initial.
select belnr gjahr from bsak
into (bsak-belnr, bsak-gjahr)
where bukrs = bkpf-bukrs
and belnr = bkpf-belnr
and gjahr = bkpf-gjahr.
select awkey from bkpf
into v_bkpf_aw
where bukrs = 'GLOB'
and belnr = bsak-belnr
and gjahr = bsak-gjahr.
w_len = strlen( v_bkpf_aw ).
w_off = w_len - 4.
v_awkey_1 = v_bkpf_aw+0(10).
v_awkey_2 = v_bkpf_aw+w_off(4).
select single dmbtr wrbtr from ekbe
into (ekbe-dmbtr, ekbe-wrbtr)
where belnr = v_awkey_1
and gjahr = v_awkey_2.
*AVH - Changed all bsak-wrbtr to ekbe-wrbtr and dmbtr to ekbe-dmbtr.
IF bsak-shkzg = 'H'.
ekbe-dmbtr = - ekbe-dmbtr.
ekbe-wrbtr = - ekbe-wrbtr.
ENDIF.
IF t_pohistory-currency <> 'PHP'.
IF bsak-augdt GT pa_augdt.
IF bsak-augdt IN so_augdt.
t_amount-tramt = t_amount-tramt + ekbe-wrbtr.
ENDIF.
ELSE.
IF bsak-augdt GT pa_augdt.
IF bsak-augdt IN so_augdt.
t_amount-tramt = t_amount-tramt + ekbe-dmbtr.
ENDIF.
ENDIF.
endselect.
endselect.
endselect.
endif.
ENDSELECT.
ENDIF.
IF t_account-distr_perc <> 0.
t_amount-dpamt = ( t_account-distr_perc *
t_amount-dpamt ) / 100.
t_amount-gramt = ( t_account-distr_perc *
t_amount-gramt ) / 100.
t_amount-iramt = ( t_account-distr_perc *
t_amount-iramt ) / 100.
t_amount-tramt = ( t_account-distr_perc *
t_amount-tramt ) / 100.
ENDIF.
ENDIF.
IF t_amount-tramt < 0.
t_amount-tramt = 0.
ENDIF.
t_amount-tramt = t_amount-iramt.
t_amount-blamt = t_amount-netwr - t_amount-tramt.
COLLECT t_amount. CLEAR t_amount.
APPEND t_proj.
ENDLOOP.
IF sy-subrc <> 0.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
t_amount-ebeln = t_account-ebeln.
t_amount-psphi = t_proj-psphi.
t_amount-tramt = t_amount-iramt.
t_amount-blamt = t_amount-netwr - t_amount-tramt.
COLLECT t_amount. CLEAR t_amount.
APPEND t_proj.
ENDIF.
ENDLOOP.
endform.
**This is where it transfers the data**
LOOP AT t_amount.
it_dtl-netwr = t_amount-netwr.
it_dtl-dpamt = t_amount-dpamt.
it_dtl-gramt = t_amount-gramt.
it_dtl-iramt = t_amount-iramt.
it_dtl-tramt = t_amount-tramt.
it_dtl-blamt = t_amount-blamt.
MODIFY it_dtl TRANSPORTING netwr dpamt gramt
iramt tramt blamt
WHERE ebeln = t_amount-ebeln
AND psphi = t_amount-psphi.
CLEAR it_dtl.
ENDLOOP.hi ,
just place the code and check for a particular po if its there inthe ekpo table then it has to get it for ur select single query .
but ur logic is build on if --- endif.check this option first of all.
if in the debugging u see the value then as u say in the report output u r not able to see the value then the problem will be space alignment also.
check the value in debugging and let us know first of all . okay
vijay.
IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
break-point.
t_amount-netwr = v_netwr.
v_ebeln = t_account-ebeln.
v_ebelp = t_account-po_item.
ELSEIF v_ebeln <> t_account-ebeln AND
v_ebelp <> t_account-po_item.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
break-point.
t_amount-netwr = v_netwr.
v_ebeln = t_account-ebeln.
v_ebelp = t_account-po_item.
ELSEIF v_ebeln = t_account-ebeln AND
v_ebelp <> t_account-po_item.
CLEAR v_netwr.
SELECT SINGLE netwr FROM ekpo INTO v_netwr
WHERE ebeln = t_account-ebeln
AND ebelp = t_account-po_item.
break-point.
t_amount-netwr = v_netwr.
Maybe you are looking for
-
How to extract data from Oracle Table to an Oracle XMLtype field
All, I'm very new with ODI and I'm looking for a way to implement the following scenario: I have the Oracle table A, already mapped to Data Model A. This table has the following fields: field X (PK) field Y field Z field W I have a table B, already m
-
Have a download that will not download how can i identify what it is and how to delete it?
Have Iphone 4 have a file that is "hanging out" that fails when I try to download. What steps do I need to do to find out what the file is; and is it possible to delete? THX
-
BareCode reader and insert String into actual selected JTextField
Hi everyone, I can't invent anything appropriate about my concept. I would like to write a program for BareCode reading. I have working code witch gets a text string from reader which is connected over RS232. But I have to send this String to actual
-
TEXT_CONVERT_XLS_TO_SAP FM is throughing an error
Dear Friends, I am uploading a xls file into internal table using TEXT_CONVERT_XLS_TO_SAP. The file strusture is as below. Row1: Customer City Row 2: Customer City Row2: 2000001 ABD My requirement is to skip the first two row details, as they are jus
-
What is the best Collection/Iterator to use?
Anyone come across this scenario before? I have a list of elements that I want to put into a Collection/List of some description. I then want to iterate through the list searching for an element that matches my requirements. When I find one I then wa