Problem when writing table:c_t_variables
Hi Everyone,
I have a typical workbook issue and the following were the issue points:
1. A user have saved his workbook in the shared drive and trying to give access to all the users who have access to this drive. For this there is a option in Excel->tools(Menu)>Share workbook and check the Check box.
2.Now when he accessing the workbook via Business Explorer. The moment he refreshing one the query in the workbook it giving a pop Error message.
Business Explorer<internal Error> Problem when writing table: C_T_VARIABLES.
It's wierd issue for me and haven't come across this error before.
Please look into this issue and let me asap if there is any solution for this.
Thanks,
It's very Urgent
Hello,
where I can find
Excel Options >> Complements >> Manage Excel Complements >> Go >> Deactivate Euro Tools.
thanks
Similar Messages
-
Problem when writing tables: C_T_VARIABLES
Hello,
I've checked the forum regarding this problem without finding any good solution.
We have a problem to refresh a 3.5 Workbook when we try to refresh the whole WB. We have these errors :
When we try to refresh the query one by one everything is working fine. We have also tried to migrate the workbook on 7 and it works fine (it's not a solution on our case because some users are still in 3.5 version).
We have tried to disable all plugins on Excel without success. There's a SAP note regarding this problem but only with Excel 2007 and we are using Excel 2010.
Do you have any clue about the problem ?
Regards,
Raito.Thanks for your answer.
When you say regenerate in rsrt what do you mean ? I need to launch the request throught RSRT with the button "Execute" or "Generate report" ?
I've tried to "generate report" with all my queries but i still have the same issue.
Regards, -
internal error problem when writing table:
Hi,
When my user try to access BEx queries, he is getting the following pop up messages
<internal error> problem when writing table: C_T_VARIABLES
<internal error> problem when writing table: E_T_DIM
<internal error> problem when writing table: E_T_MEM
<internal error> problem when writing table: E_T_ATR
<internal error> problem when writing table: E_T_PRPTYS
<internal error> problem when writing table: C_T_HRY_TYPES
<internal error> problem when writing table: E_T_CEL
<internal error> problem when writing table: E_T_FAC
<internal error> problem when writing table: E_T_CON
<internal error> problem when writing table: E_T_DRILL
and then report is getting diplayed. and when user try to edit properties again same pop up messages are coming.
when I access queries from my machine those are working fine..
Can some one help me to solve this ?
Regards,
HarishHi Harish,
Please go through following relevant threads ::
http://forums.sdn.sap.com/thread.jspa?threadID=137355
http://forums.sdn.sap.com/thread.jspa?threadID=644834
http://forums.sdn.sap.com/thread.jspa?threadID=1199718
http://forums.sdn.sap.com/thread.jspa?threadID=36530
Regards,
Arpit -
Performance problem when printing - table TSPEVJOB big size
Hi,
in a SAP ERP system there is performance problem when printing because table TSPEVJOB has many millions of entries.
This table has reached a considerable size (about 90 Gb); db size is 200 Gb.
Standard reports have been scheduled correctly and kernel of SAP ERP system is updated.
I've tried to scheduled report RSPO1041 (instead of RSPO0041) to reduce entries but it is not possible run it during normal operations because it locks the printing system.
Do you know why this table has increased ?
Are there any reports to clean this table or other methods ?
Thanks.
Maurizio ManeraDear,
Please see the Note 706478 - Preventing Basis tables from increasing considerably and
Note 195157 - Application log: Deletion of logs.
Note 1566659 - Table TSPEVJOB is filled excessively
Note 1293472 - Spool work process hangs on semaphore 43
Note 1362343 - Deadlocks in table TSP02 and TSPEVJOB
Note 996455 - Deadlocks on TSP02 or TSPEVJOB when you delete
For more information see the below link as,
http://www.sqlservercurry.com/2008/04/how-to-delete-records-from-large-table.html
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=91179
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=83525
If any doubts Let me know.
Thomas
Edited by: thomas_raja on Aug 7, 2011 12:29 PM -
Getting problem when retriving Table name
Hi,
I'm having problem when i trying to get the table name from database. I'm using NetBeans 6.0, And It does n't show any error during compile and run time. I could n't find where the problem is?
Code:_
DatabaseMetaData dbm=conn.getMetaData();
String[] types={"TABLES"};
ResultSet rs=dbm.getTables("%","%","%",types);
System.out.println("TableName:");
while(rs.next())
String tableName=rs.getString("TABLE_NAME");
String tableSchema=rs.getString("TABLE_SCHEM");
String tableCatalog=rs.getString("TABLE_CAT");
System.out.println(tableName);
conn.close();
System.out.println("Disconnected from database");
Output is:_
MySQL Connect Example.
TableName:
BUILD SUCCESSFUL
Regds,
Prabu
Edited by: [email protected] on Apr 16, 2008 12:32 PMWhy did you repost? Don't do this, it is extremely rude!
Stick with your other thread. I just gave you what I believe to be the correct answer.
[Original Post|http://forum.java.sun.com/thread.jspa?threadID=5286520&tstart=0] -
Problem when writing a value to an enum
Hi together,
I'm facing a problem when using an enum in my state machine.
From time to time, the value (which represents the next state) which comes from the
shiftregister, is not stored correctly into my enumvariable.When I probe point "1",
a different value is shown than the variable "states" contains.
Does anybody has an idea? Thanks.
Message Edited by maximint on 02-09-2009 06:20 AM
Attachments:
Clipboard-1.png 6 KBThere are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
But I have no idea what you are seeing.
However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
And the =0 comparison you have is useless, add the enum to the case structure as the selector.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Email address problem when writing an email
Recently I update my OS to the v5.0. I like it very much, but since that. I have a problem when I redacting a new email. When I want to add the destinatary the BB doesn't search for any address on the device... I have to copy-paste the address, then press enter, and after I do that, the BB change the email address for the contact name...
Please help!!
Thanks!!
MOClick the + button to the right in the address field.
-
I have a problem when update tables with a database link (APEX)
Hi, I search answers for my problem and I not found a solution. My problem start when I open page with database link statement in APEX. I drop tables and execute this for update the tables in APEX.
EXECUTE IMMEDIATE 'CREATE TABLE XXXXXXX
AS
SELECT A1,A2,A3
FROM AAA@BBB';
I use Mozilla Firefox and isn't always updated the tables because it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
In the explorer always show a window only the text "IBMPC/WIN_NT-8.1.0"...
What is the solution for my problem? I need update this tables.
Thanks. John.It's easy. It doesn't work a database link, on apex, with a pl/sql code or store procedure.
I saw that many people had the same problem but I don't see a solution.
As I put up, I want to remove my tables on APEX and copy the table of my Oracle database with the update dates.
The posts are from the same problem as my English is very bad, it got to help explain the problem.
I have a page with a pl/sql code. This code in Oracle is correctly.
For example, with this code I update the table PRUEBAS with the data of TABLEX.
BEGIN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
EXCEPTION WHEN OTHERS THEN NULL;
END;
EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
AS
SELECT AAA,
BBB,
CCC
FROM TABLEX';
END;
But, in this code, I have the problem.
BEGIN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
EXCEPTION WHEN OTHERS THEN NULL;
END;
EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
AS
SELECT AAA,
BBB,
CCC
FROM TABLEX@DB_LINK';
END;
I sometimes get an error. Sometimes it works fine, but half of the tries Apex returns "IBMPC/WIN_NT-8.1.0" in the browser and I am not using an IBM PC or Win NT...
And i read that In the alert_xe.log file there are a error of core dump... ... :S or that the application return corrupt headers.... Is a problem of versions?
I used a synonym and I have the same problem.
Even if I run the code on SQL COMMANDS (SQL WORKSHOP) it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
The problem is in Mozilla Firefox and in IE.
I have the OracleXE 10g (Application Express 3.0.1.00.08).
And the question is.. ... ... ... ... What is the solution? :)
Thanks.
John. -
Strange problem when using table of object (plsql as webservice)
Hello..
I have created this type of package with user "A" which has privilege to create db types and other things
CREATE OR REPLACE package INIS_PROD.OZP_SKLEP_INTEGRACIJA AS
procedure p_vrni_predloge
( p_vvl_id in number
, p_predloga out t_predloga);
end OZP_SKLEP_INTEGRACIJA;
=============================
procedure p_vrni_predloge
( p_vvl_id in number
, p_predloga out t_predloga) is
l_tab t_predloga := t_predloga();
l_obj o_predloga := o_predloga(null,null,null,null);
begin
for pod in
select to_number(zia.isk_id) id
, to_number(voz.vvl_id) VRSTA_VOZILA_ID
, to_char(vka_tip.vrednost) opis
, to_char(vka_tip.sifra) sifra
from ......
loop
print(pod.id);
l_tab.extend(1);
l_tab(l_tab.LAST) := o_predloga(pod.id, pod.vrsta_vozila_id, pod.opis, pod.sifra);
end loop;
p_predloga := l_tab;
end;When I expose this package as webservice with user/password from user "A" all works fine..
When I change the username and password in jdev connection and running (invoke) the webservice I get this exception
arget URL -- http://pujsapepa:8991/WsIntegracija-WsIntegracija-context-root/wsIntegracijaSoapHttpPort
11/01/27 12:53:40 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
11/01/27 12:53:40 Web service wsIntegracija has been started on the embedded server
27.1.2011 12:53:43 oracle.wireless.its.ra.TelnetResourceAdapter run
INFO: Industrial Telnet Server version: Version 10.1.3.0.0 started-up successfully.
11/01/27 12:54:03 java.sql.SQLException: Internal Error
11/01/27 12:54:03 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
11/01/27 12:54:03 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
11/01/27 12:54:03 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:985)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1015)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:96)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2108)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1414)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:422)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:383)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:915)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:882)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:702)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:227)
11/01/27 12:54:03 at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:199)
11/01/27 12:54:03 at oracle.sql.ArrayDescriptor.toOracleArray(ArrayDescriptor.java:563)
11/01/27 12:54:03 at oracle.sql.ARRAY.getOracleArray(ARRAY.java:526)
11/01/27 12:54:03 at oracle.jpub.runtime.MutableArray.getLazyOracleArray(MutableArray.java:1239)
11/01/27 12:54:03 at oracle.jpub.runtime.MutableArray.length(MutableArray.java:1167)
11/01/27 12:54:03 at in2.TPredloga.getArray(TPredloga.java:81)
11/01/27 12:54:03 at in2.WsIntegracijaUser.pVrniPredloge(WsIntegracijaUser.java:25)
11/01/27 12:54:03 at in2.runtime.WsIntegracijaSoapHttp_Tie.invoke_pVrniPredloge(WsIntegracijaSoapHttp_Tie.java:111)
11/01/27 12:54:03 at in2.runtime.WsIntegracijaSoapHttp_Tie.processingHook(WsIntegracijaSoapHttp_Tie.java:234)
11/01/27 12:54:03 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
11/01/27 12:54:03 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
11/01/27 12:54:03 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
11/01/27 12:54:03 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
11/01/27 12:54:03 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
11/01/27 12:54:03 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
11/01/27 12:54:03 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
11/01/27 12:54:03 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
11/01/27 12:54:03 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
11/01/27 12:54:03 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
11/01/27 12:54:03 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
11/01/27 12:54:03 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
11/01/27 12:54:03 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
11/01/27 12:54:03 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
11/01/27 12:54:03 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
11/01/27 12:54:03 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
11/01/27 12:54:03 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
11/01/27 12:54:03 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
11/01/27 12:54:03 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
11/01/27 12:54:03 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
11/01/27 12:54:03 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
11/01/27 12:54:03 at java.lang.Thread.run(Thread.java:595)
27.1.2011 12:54:03 oracle.webservices.serviceI have made all grants and public synonym from A to user B.. but the problem still exists..
What can be a problem?Huh..
after two days...
The problem is in wrapper Class for T_PREDLOGA...
There was not specified the schema where the "T_PREDLOGA" was created.. The strange thing is that i have a public synonym for T_PREDLOGA for all users.. (not just for INIS_PROD).
Here is the solution (adding schema name)
__sJT_st.registerOutParameter(2, 2003, "INIS_PROD.T_PREDLOGA");
instead of
__sJT_st.registerOutParameter(2, 2003, "T_PREDLOGA");
public void _pVrniPredloge (
java.math.BigDecimal P_VVL_ID,
TPredloga P_PREDLOGA[], Connection __onnScopeMethod)
throws java.sql.SQLException
java.sql.Connection __sJT_cc = null;
oracle.jdbc.OracleCallableStatement __sJT_st=null;
__sJT_cc = __onnScopeMethod;
__sJT_st = (oracle.jdbc.OracleCallableStatement) __sJT_cc.prepareCall("BEGIN \"OZP_SKLEP_INTEGRACIJA\".P_VRNI_PREDLOGE(:1 ,:2 ); END;");
if (P_VVL_ID==null) __sJT_st.setNull(1, 2); else __sJT_st.setBigDecimal(1, P_VVL_ID);
__sJT_st.registerOutParameter(2, 2003, "INIS_PROD.T_PREDLOGA");
__sJT_st.executeUpdate();
P_PREDLOGA[0] = (TPredloga) __sJT_st.getORAData(2, TPredloga.getORADataFactory());
try { __sJT_st.close(); } catch (Exception e) {}
}Edited by: Peterv6i on Jan 28, 2011 1:59 PM -
Alignment problem in Smartform table
Hi,
I have a table having four columns no rows. In the first column I have text and in the second, third and fourth I have to display Amounts. The text in the first column changes.
I am facing the problem when the table goes to second page here the alignment to a particular Text of the first column and the amount in corresponding columns are not aligned properly. In the second, third and fourth columns the amount fields may be or may not be there. The problem comes only when the amount field is not there at the page break.
Regards,
Ramu N.Hi,
I have tried printing the borders. The problem comes only when there is no amount field at the page break other wise it is working fine. When there is no amount field at the page break the amount field which is to be printed next is coming down than the actual place where it has to be printed.
Here I have only 1 row but the number of lines in that row are many.
Regards,
Ramu N. -
Error when writing to interface table for HR
We recently did a client copy from Production to our User Testing client. User was trying to enter time via transaction CAT2 but received the following message when attempting to save the timesheet:
"Error when writing to interface table for HR"
Does anyone have advice on how to resolve this issue?
Thanks as always!Hi,
We have the same problem.
We tried to add many records to HR via a job but it result with en error message LR036 (Error when writing to interface table for HR)
Did you find a solution since your problem appear ? -
Bex analyzer - internal error problem with table c_t_variable
HI All,
When ever I try to refresh a query in Bex-Analyzer ,Iam getting "internal error problem with table c_t_variable".
Please advise
Edited by: Aparna Duvvuri on Jan 13, 2010 10:53 AMHi Aparna,
try to open the query in RSRT and debug the query.the error is due to some customer exit variable so try to debug the code for the variable and rectify it.
Thanks,
Ashok -
ORA-00600 problem when create XMLType table with registerd schema
Hi,
I am using Oracle9i Enterprise Edition Release 9.2.0.4.0 on RedHat Linux 7.2
I found a problem when I create table with registered schema with follow content:
<xs:element name="body">
<xs:complexType>
<xs:sequence>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="class" type="xs:NMTOKENS"/>
<xs:attribute name="style" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="body.content">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p"/>
<xs:element ref="hl2"/>
<xs:element ref="nitf-table"/>
<xs:element ref="ol"/>
</xs:choice>
<xs:attribute name="id" type="xs:ID"/>
</xs:complexType>
</xs:element>
Does Oracle not support element reference to other element with dot?
For instance, body -> body.content
Thanks for your attention.Sorry, amendment on the schema
<xs:element name="body">
<xs:complexType>
<xs:sequence>
<xs:element ref="body.head" minOccurs="0"/>
<xs:element ref="body.content" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="body.end" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="class" type="xs:NMTOKENS"/>
<xs:attribute name="style" type="xs:string"/>
</xs:complexType>
</xs:element> -
Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun + fatha/damma etc. would reverse automatically. Is this a known bug?
Example: عَيْنٌ
would automatically convert to عَيُنْ
Funnily, it doesn't seem to happen here, but it does when entering text in a web interface (using Firefox, font Bayan) and when using Text Edit.
Seems to be a problem of a specific font, as e.g. Arial MS Unicode works fine. Any hints?
Thank you!Musaafir wrote:
I've no idea how i can even start using arabic vowels on Microsoft Word for Apple
You can't do Arabic on MS Word for Mac. This app has never supported RTL scripts, so you need to use something else. Mellel is best, but Pages 5, TextEdit, Nisus Writer, Open/LibreOffice should work OK.
You switch between languages by using the "flag" menu at the top right of the screen or by using the keyboard shortcuts apple/command plus space. Go to system prefs/keyboard/shortcuts to make sure that is activated.
To see which key does what, you use Keyboard Viewer.
http://support.apple.com/kb/PH13746
You place vowels on letters by typing the key for the vowel after the key for the letter. The vowels are on the option/alt keys, option/alt + a gives you َ -
Problem when filling Node and Item tables for the metho add_nodes_and_items
Hi Experts,
I am facing problem when filling Node and Item internal tables for the method add_nodes_and_items.
as i have written the below logic:
LOOP AT gt_partner INTO wa_partner.
CLEAR lvs_tc_root.
l_key = l_key + 1.
lvs_tc_root-node_key = l_key. "wa_partner-sndprn.
* lvs_tc_root-relatkey = lvf_tc_node_key.
* lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-isfolder = 'X'.
lvs_tc_root-n_image = icon_folder.
lvs_tc_root-exp_image = icon_folder.
lvs_tc_root-expander = 'X'.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'A'. "Successfull
lvs_tc_root-relatkey = l_key.
lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_green_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'B'. "Errors
lvs_tc_root-relatkey = l_key .
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_red_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'C'. "Deleted
lvs_tc_root-relatkey = l_key .
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_yellow_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
* LOOP AT gt_partner_item INTO wa_partner_item WHERE sndprn = wa_partner-sndprn
LOOP AT gt_partner INTO wa_partner_item WHERE sndprn = wa_partner-sndprn.
CLEAR lvs_item.
lvs_item-node_key = l_key.
lvs_item-item_name = 'Column1'.
lvs_item-text = wa_partner-sndprn.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'A'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Successful'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'B'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Errors'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'C'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Deleted'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
ENDLOOP.
ENDLOOP.
CALL METHOD go_tree->add_nodes_and_items
EXPORTING
node_table = gvt_tc_node_table
item_table = gvt_tc_item_table
item_table_structure_name = 'MTREEITM'
EXCEPTIONS
failed = 1
cntl_system_error = 3
error_in_tables = 4
dp_error = 5
table_structure_name_not_found = 6.
If the internal table has more than 1 record getting dump...Runtime Errors MESSAGE_TYPE_X
Plase let me know how to overcome the problem..
Thanks,
Rajasekhar
Edited by: RajasekharReddy Nevali on Nov 29, 2010 3:43 PM
Edited by: Neil Gardiner on Nov 30, 2010 12:41 PMHi ,
U can undestand the code and one more thing dynamically display record for automcally here i am using root nodes please look at that one Same requiremtn i done previously.
cLEAR item.
item-node_key = c_nodekey-root. "partner1
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-alignment = cl_gui_column_tree=>align_at_top.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'APPLICATION'.
item-length = 30.
APPEND item TO item_table.
DATA:lv_name TYPE tv_itmname VALUE '1',
lv_nkey TYPE i,
lv_nkey2 TYPE i,
lv_nkey_c TYPE string,
lv_nkey_c2 TYPE string,
lv_nkey_c3 TYPE string,
lv_nkey_c4 TYPE string,
LV_NKEY_C5 TYPE STRING,
lv_itmkey TYPE i,
lv_itmkey_c TYPE string,
LV_INDEX TYPE I.
************************************************LOOP FOR APPLICATION*********
LOOP AT i_otypes INTO wa_otypes.
read table it_appl into wa_appl with key appl = wa_otypes-applic." BINARY SEARCH.
if sy-subrc = 0.
lv_apdes = wa_appl-text1.
endif.
CLEAR:item,lv_nkey_c.
lv_nkey_c = sy-tabix.
LV_INDEX = SY-TABIX.
CONDENSE lv_nkey_c.
CONCATENATE 'N' lv_nkey_c INTO lv_nkey_c.
node-node_key = lv_nkey_c.
node-relatkey = c_nodekey-root.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_otypes-APPLIC.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_apdes.
item-length = 30.
APPEND item TO item_table.
v_acount = v_acount + 1.
v_acount1 = v_acount1 + 1.
clear lv_apdes.
*****************************************LOOP FOR ARCHIV OBJECTS***************************
loop at it_obj into wa_obj where applic = wa_otypes-applic.
CLEAR:item,lv_nkey_c2.
lv_nkey_c2 = SY-TABIX.
CONDENSE lv_nkey_c2.
CONCATENATE 'SN' lv_nkey_c2 INTO lv_nkey_c2.
node-node_key = lv_nkey_c2.
node-relatkey = lv_nkey_c.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c2.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_obj-object.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c2.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_obj-objtext.
item-length = 30.
APPEND item TO item_table.
****count all object for final displaying*******
v_ocount1 = v_ocount1 + 1.
LV_STR = LV_STR + 1.
ENDLOOP.
*********************LOOP FOR ARCH OBJECT ALL PROGRAMS*******************************************
LOOP AT IT_PRG INTO WA_PRG WHERE OBJECT = WA_OBJ-OBJECT.
****************1PRG**********************
IF wa_PRG-REORGA_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-reorga_prg BINARY SEARCH.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item,lv_nkey_c3.
data : v_no type sy-tabix.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'WRIT'."wa_PRG-REORGA_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'WRITE PROGRAM'."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
************************SSSN NODE***********************
CLEAR:item,lv_nkey_c4.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
CONDENSE lv_nkey_c4.
CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
node-node_key = lv_nkey_c4.
node-relatkey = lv_nkey_c3.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_PRG-REORGA_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
*******COUNT TYPE WRITE PROGRAMS****************
V_WCOUNT = V_WCOUNT + 1.
CLEAR item.
V_WCOUNT = V_WCOUNT.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column3.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
CLEAR V_WCOUNT.
ENDIF.
*endif.
*****************2PRG*****************
IF wa_PRG-RETRIE_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-retrie_prg.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item, NODE, lv_nkey_c3.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'successful'."wa_PRG-RETRIE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'sucessful PROGRAM'.
item-length = 60.
APPEND item TO item_table.
*********************************SSSN NODE*******************************
CLEAR:item,lv_nkey_c4,node.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
CONDENSE lv_nkey_c4.
CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
node-node_key = lv_nkey_c4.
node-relatkey = lv_nkey_c3.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_PRG-RETRIE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
**********COUNT THE RELOADPR*******************
V_WCOUNT = V_WCOUNT + 1.
CLEAR item.
V_WCOUNT = V_WCOUNT.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column3.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
CLEAR V_WCOUNT.
ENDIF.
ENDIF.
****************3PRG**********************
IF wa_PRG-DELETE_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-delete_prg.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item, NODE, lv_nkey_c3.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'DELETE'."wa_PRG-DELETE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'NAME OF DELETE PROGRAM'.
item-length = 60.
APPEND item TO item_table.
CLEAR:item,lv_nkey_c4,node.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
endloop.
Maybe you are looking for
-
Hard Drive has Broke on my 30g Video - Can I ugrade to 6og / 8og?
After taking my iPod G5 Video to the Genius Bar in Shefffield, they told me that I would need to replace my hard drive, bad news, but it wont be that bad if I can buy a bigger hard drive to put in it. Is the physical size too big? Can I even fit a Cl
-
What do I have to do, to make this error code go away.
I'm awaiting an ipod classic 120 gb which should be arriving anytime now, and to my surprise, I got a message urging me to upgrade to 8.1 (even though I JUST GOT DONE UPGRADING TO THE PREVIOUS ONE LAST WEEK...*hold anger in*). So now when I open itun
-
"Unknown Object :unexpected AST node" prompt error when translating T-SQL
Hi,All We are using Oracle SQL Developer 2.1 to do a migration from Sybase ASE to Oracle. When we use Scratch Editor to translate one of Sybase T-SQL stored procedures,it failed. In the migration log ,we just get the following error: "Unknown Object
-
Hi, I am getting the following error when I try to do a search on an ldap (AD LDS) database: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031522C9, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=AppPartFE,D
-
Why is this not an option? I'd like to sort by caption or even better subject ID