Essbase Server Hangs Intermittently - Urgent pls Help
Essbase Version - 9.3.3
Shared Services - 9.3.3
Enviroment - Windows Server 2003
We are in the process of migrating the users from Domain A to Domain B
There are around 15000 users across the board, out of which I assume there are around 250 users accessing the Hyperion Application.
Since the Domain Migration was started, We encountered Essbase Server freezes Intermittently.
Essbase Server goes down for about 10-15 Minutes and automatically comes back. No Error Msg in the Essbase Log.
Active Directory Migration was put on Hold because business had to complete their Month end Activities.
While we were working to find the RCA and identified that few users who were migrated from Domain A to Domain B appeared to be on Both the Domain and we figured out that it might be one of the reason for Essbase Server Hangs.
We had a Plan to Run the Update native Directory Utility to clear the Stale Data
Post Performing the Action our system was stable and didn't had system Hangs.
we also changed the shared services Cache refresh Interval to 24 Hrs in CSS.xml File ( Just to Make sure the Refresh happens Overnight)
Since the Active Directory Team had resumed their Migration Activies, we started Experiencing the System Hangs Issues again. server goes down for 5-10 min and comes back up
Please Input your Valuable Thoughts, Would Really Appreciate your Help.
Thanks in Advance.
Hi,
Thanks for your prompt response.
As mentioned, AD team have the filters on place, There is no issues with the User Access and there was no change in password after migrating the Domain.
I have checked the Display Session through Maxl and there is No heavy sessions.
As Stated earlier, we are unable to identify the cause regarding the System Freeze. All users access the application all of sudden essbase server hangs and it doesn't allow user to retrieve the data, nor allow him to access any application within Essbase and Planning.
After 5-10 Min, server automatically comes back.
Can you tell me if there is a way to track the system Hangs through Essbase Log without getting the any inputs from the users.
Assuming if the users sessions are heavy what makes the server hang and automatically resumes without intervention.
Shared Services Security Log display the following Error, Can you tell me if you had come across any such errors before.
com.hyperion.css.spi.impl.msad.MSADCacheUpdater.updateUserCache(Ljavax.naming.directory.DirContext;Lcom.hyperion.css.common.CSSNodeImpl;Ljava.lang.String;Ljava.lang.String;Lcom.hyperion.css.datastructures.ProviderCacheMap;Ljava.util.Map;)V(Unknown Source) - Ignoring User. Error getting User for User Cache:[LDAP: error code 32 - 0000208D: NameErr: DSID-031522C9, problem 2001 (NO_OBJECT), data 0, best match of:
'OU=USMigrate,OU=Add_Audit,OU=Users,OU=Accounts,OU=RAC-IOC,DC=us,DC=ricoh,DC=ds'
Error Code: -1
com.hyperion.css.common.configuration.CSSConfigurationException: Unable to load certificate from keystore or unable to locate keystore: SAP.keystore Error Code: 9
NestedException:
com.hyperion.css.common.configuration.CSSConfigurationException: No certificates present for SAP Authentication to take place Error Code: 9
at com.hyperion.css.SAPSecurity.loadKeyStoreWithSAPCertificate(Ljava.util.ResourceBundle;Ljava.security.KeyStore;Ljava.lang.ClassLoader;)Ljava.security.KeyStore;(Unknown Source)
Please advise.
Thanks in Advance.
Similar Messages
-
My essbase Server hangs when number of users logins remotely-- is there any thing i have do or IT (OS ) side ?
try Stoping Essbase essbase.exe
Modify cfg file contain
AGENTTHREADS 5
AGENTTHREADS 15
AGTSVRCONNECTIONS 1
AGTSVRCONNECTIONS 3 (default * 3)
3. Save the file.
4. Restart Essbase agent (Essbase.exe).
Edited by: KVC on Nov 14, 2011 8:47 PM -
Hello Everyone,
We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
Any IDEA how this works.
Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
Pls help me out, its really urgent as to be implemented in my Project
Thanks In Advance
Sahil ShaikhHello Surtee
I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
Pls see if u canhelp me out ......
Thanks
Sahil Shaikh -
Hi guys (very urgent pls help me out)
i have an doubt that iam using JBoss AS, my scienraio is
inital when start my Application Server it will connects to mysql DB datasource, i will retrieve some values those are DB Names like oracle,sql server,db2 etc in my JSP page iam placed at combo box upto this i am very much successful but now my problem is after gettinh those values in html select box.
if user selects Oracle and in the same screen user can enter connection config details and after submitting the request. At runtime App Server want to connect for that particular Database.
for ex Oracle and its connection parameters then it want to connect that particular Database without restarting the server.
so mysql is internal DB and Oracle is external db. how to manage this scienraio
please anyone knows solution, pls help me out......
regards
Yadavhi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards -
Very URGENT: PLS HELP:canno resolve symbol session.setAttrribute
hi everbody,
i'm new at this and have got a presentation after 1 day!....pls help
when i compile the servlet i get :
cannot resolve symbol
metod: setAttribute (java.lang.String,java.lang.String)
location: interface(javax.servlet.http.HttpSession)
the servlet that gets te error when comiled is:
* Authenticate.java
// this places all user variables in session
//to access use session.getAttribute
//dispatcher stuff
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.sql.*;
import java.io.*;
import java.util.*;
* @author Gudiya
* @version
public class Authenticate extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, java.io.IOException {
HttpSession session = request.getSession(true);
Connection con=null;
String sessionid;
String deptcode;
String desig;
String add1;
String add2;
String contname;
PrintWriter out = response.getWriter();
try
response.setContentType("text/html");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:SACFA","","");
System.out.println("connection established");
catch(ClassNotFoundException e){
System.out.println("database driver not found");
System.out.println(e.toString());
catch(Exception e){System.out.println(e.toString());
// ServletContext context=getServletContext();
String username=request.getParameter("username");
String password=request.getParameter("password");
try{
PreparedStatement stmt=con.prepareStatement("SELECT * FROM AUTHENTICATION,mb_add where AUTHENTICATION.NAME=? AND AUTHENTICATION.PASSWORD=? AND mb_add.DEPT_NAME=?");
stmt.setString(1,username);
stmt.setString(2,password);
stmt.setString(3,username);
ResultSet rs=stmt.executeQuery();
boolean rowfound=false;
rowfound=rs.next();
if (rowfound==true)
sessionid=session.getId();
System.out.println(sessionid);
//context.setAttribute("userid",sessionid);
// session.setAttribute("user",username);
rs.beforeFirst();
while (rs.next())
deptcode=rs.getString("DEPT_CODE");
desig=rs.getString("DESIGNATION");
add1=rs.getString("ADDRESS1");
add2=rs.getString("ADDRESS2");
contname=rs.getString("NAME");
session.setAttribute("dept_code",deptcode);
session.setAttribute("designation",desig);
session.setAttribute("address1",add1);
session.setAttribute("address2",add2);
session.setAttribute("cont_name",contname);
//context.getRequestDispatcher(request.getParameter("dispatcho")).forward(request,response);
} out.println("<html>");
out.println("<head>");
out.println("<title>Successful Login Screen</title>");
out.println("</head>");
out.println("<body bgcolor='ORANGE'>");
out.println("<script language='Javascript'>");
out.println("<!--function send_onclick(mydispatcho) {var dispatcho;if(mydispatcho=='Noc'){ dispatcho='/Noc1';}if(mydispatcho=='Ce'){ dispatcho='/Ce1';} if(mydispatcho=='Bye'){ dispatcho='/Bye1';}}-->");
out.println("</script>");
out.println("WELCOME MEMBERS FROM "+ username);
//print decorative html statements here
out.println(" SELECT NY ONE ACTION:-");
out.println("<form Action="+"\"servlet/noc\""+" method =post>");//call for your noc servlet
//print decorative html statements here
out.println("<INPUT TYPE=submit VALUE='GENERATE NOC' NAME='NOC' language='javascript'>");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/comments\""+" method =post>");//call for your comment servlet
out.println("<INPUT TYPE=submit VALUE='ENTER/ MODIFY COMMENTS' NAME='COMMENTS' language='javascript' >");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/bye\""+" method = post>");
out.println("<INPUT TYPE=submit VALUE=EXIT NAME=EXIT language='javascript' >"); //place javascript fucction for exiting window
out.println("</form>");
out.println("</body>");
out.println("</html>");
con.close();
} catch( SQLException e){ }
out.close();}
NOTE: I'M USING JDK1.3 and jsdk2.0
pls help me....
Thank u all,
ashnaHTTP Status 404 - /mywork/servlet/Authenticate
hi dheeraj,
thank u so much the servlet comiled!!!
now i have a new problem....the Tomcat server cannot find its class file. i have placed the class file in C:\Program Files\Apache Group\Tomcat 4.1\webapps\mywork\WEB-INF\classes.
the error it shows is as follows:
type Status report
message /mywork/servlet/Authenticate
description The requested resource (/mywork/servlet/Authenticate) is not available.
Apache Tomcat/4.1.18-LE-jdk14
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 -
Very Urgent Pls help : Change of payload type to user-defined types
Hello Experts
I was using sys.xml_type as payload type in my queue table creation.
consider xml message
<order>
<id>1</id>
<load rerer="mq" erere='gg" > </load>
</order>
This i inserted into queue table using enqueue process.
this is done.
BUT NOW My manager wants to change the payload type.
he created a type
create or replace type systype as object (msg varchar2(4000));
Now payload type of queue table is changed to
PayloadType==>aq.systype.
Pls help me how can i insert xml messages into this queue table.
This is very urgent. Pls help me
SI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
Sec. Edu Cess not Flowing in MIGO - Urgent Pls help
Dear Friends
We have created a IMPORT PO,
Invoice verification is done with all necessary cess and duties which flown.
with the MIRO document and year, when we do MIGO, i am able to see duty, cess but secondary edu.cess is not flowing.
I tried to enter it manually also, but it is not accepting (field is open).
I have checked the settings.
The similar kind of PO, before it had been done, MIRO done, MIGO also done with proper flow of all values. But for this particular PO only problem existing.
Only difference between the two PO is problematic PO is with account assignment category Q.
Pls treat this urgent and help me in solving the same friends.
regards
PanneerFor Imports, condition type for SECess is <b>J1CV,</b> you have to maintain this condition type in Excise Defaults of CIN Customization.
Note - You cannot use any other condition type for SECess for Imports other than J1CV.
Cheers..
Santosh.D
<i>Reward Points if Helpfull</i> -
Essbase server freeze - reply urgent
Hi All,<BR><BR>We are facing a very serious issue with Essbase 6.5.5 since last couple of months. The problem is whenever we tried to copy database or application, the Essbase server gets freeze after copying. When it happens, every time we need to kill all processes for all essbase applications running on the server and bring down essbase server. When we start up the server everything goes back to normal. The problem was stared occurring once in a month almost before 6-7 months and after that its get increased and now in lat week it happened 4-5 times. We are running essbase on sun Solaris. we have not change any hardware or software environment since last 6 months excepts some OS patches. The essbase database also has the same size. The only thing that keep changing is security file and current size of Essbase security file: 16161697 bytes.<BR><BR>Thanks to all,<BR>
Hi Rashmin,<BR><BR>On our system, when we make the copy (for the backup), we stop the essbase server and it goes well.<BR>I think that maybe because of some forgotten locks or other problems, files may not be accessed correctly.<BR><BR>Is this problem occuring after the copy process completes succesfully?<BR><BR>Hope that helps,<BR>Chris
-
Its urgent pls help me .
how can i call a portal from webdynpro application
my requirment is
i was created webdynpro application.
in that i was created one view . in that i was created one button (go).
if i click that button i want move some other portal.
how can i acchive pls help me.
its urgent.
pls send any example programe
Message was edited by:
madipadiga nagaraju
Message was edited by:
madipadiga nagarajuhi,
there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
after that it automatically generate component controller(it is also a class),
interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click "create navigation" by right clicking the view plugs.
by default windows and view have inbound plugs.this is literally a event of that class.
if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
then create a application .this is simillar of creating an object.
click on this object and test .this will open in browser.
for deploying u have use "sap webdynpro iview". -
SQL server weird connection problem-Pls help
I m using SQL server 2005 express. My default logon mode setting is set to-SQL server authentication and I can logon to using SQL server management studio express always. I enabled TCP/IP from SQL server configuration manager. The sqljdbc.jar (JDBC driver) is set correctly in classpath and 1433 port is allowed in windows firewall. YET, I can�t connect to sql server using the following code-
import java.sql.*; public class testconn { Statement stmt; Connection con = null; String driver = "jdbc:sqlserver://"; String server = "localhost:1433;"; String db = "database=IDLC-Customer;"; String user = "userName=Tanvir;"; String pwd = "password=abcd;"; String connectName = driver + server + db + user + pwd; testconn() { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); con= DriverManager.getConnection(connectName); stmt=con.createStatement(); if(!con.isClosed()) System.out.println("Successfully connected to " + "SQL server using TCP/IP..."); } catch(Exception e) { System.err.println("Exception: " + e); } finally { try { if(con != null) con.close(); } catch(SQLException e) {} } } public static void main(String args[]) { testconn tc=new testconn(); } }
My host name is- Tanvir. So, in management studio express the server name is shown- TANVIR\SQLEXPRESS
When I run the code it says-The TCP/IP connection to the host has failed.
Java.net.connectException:Connection Refused: Connect
One more thing, though 1433 port is allowed in windows firewall, I can�t connect to that port using telnet (e.g. telnet <server_host> 1433).I even disabled firewall and tried but in vain. PLEASE help me brother.masijade. wrote:
Then you, seemingly, have not configured your SQL server properly, or you have not "activated" that configuration.
(don't ask because I don't know how, or even if, you do it that way with SQL Server).
But, not being able to connect with telnet, means that nothing is listening on that port. What does the netstat command tell you?Brother,as u know that sql server use the default port 1433 even if i don't mention it.And I tried disabling my firewall and antivirus but yet I cant connect.I searched the ports using "Advanced port scanner" but the port 1433 is neither in its open ports list nor in closed port list. WHat can I do now.The port 1433 is by default used by sql server.So even if I dont mention it or set it, it should work.Isn't it? I m getting out of my mind, pls help . -
Delete duplicate entriess from the internal table its urgent pls help.
Hi friends,
Hope everybody is doing good,Here is m query on delete duplicate data from the intenal table.
I have an internal table which contain data in the following format.
Doc No Comp Cod Vendor Assignment
1500000009 JM11 00000000
1500000008 JM11 20070212(Repeating)
1500000007 JM11 20070212
1500000006 JM11 00000000
1500000005 JM11 00000000
1500000004 JM11 00000000(Repeating)
1500000003 JM11 00000000 (Repeating)
1500000002 JM11 00000000
1500000001 JM11 20050302
1500000000 JM11 00000000
1500000003 JM11 10000088
1500000001 JM11 10000088
1500000030 JM11 10006260
1500000010 JM11 10006269
1500000008 JM11 10006269
1500000006 JM11 10006269
1500000004 JM11 10006269
if you see the document numbers,there are some document number which are repeating here,there are some document numer which contain vendor number but not the assignments,some of the document numbers contain the assignments but not the vendors.
If my internal table contain this kind of data with repeted document numbers than i want the document number which contains only the vendor number.
Pls help me with the appropriate logic,its urgent.
Thanks a lot
mrutyun^Hi,
<u><b>Deleting Adjacent Duplicate Entries</b></u>
To delete adjacent duplicate entries use the following statement:
DELETE ADJACENT DUPLICATE ENTRIES FROM <itab>
[COMPARING <f1> <f2> ...
|ALL FIELDS].
The system deletes all adjacent duplicate entries from the internal table <itab>. Entries are
duplicate if they fulfill one of the following compare criteria:
Without the COMPARING addition, the contents of the key fields of the table must be
identical in both lines.
If you use the addition COMPARING <f1> <f2> ... the contents of the specified fields <f1>
<f2> ... must be identical in both lines. You can also specify a field <fi> dynamically as
the contents of a field <ni> in the form (<ni>). If <ni> is empty when the statement is
executed, it is ignored. You can restrict the search to partial fields by
specifying offset and length.
If you use the addition COMPARING ALL FIELDS the contents of all fields of both lines
must be identical.
You can use this statement to delete all duplicate entries from an internal table if the table is
sorted by the specified compare criterion.
If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4.
Examples
DATA: BEGIN OF LINE,
COL1 TYPE I,
COL2 TYPE I,
END OF LINE.
DATA ITAB LIKE HASHED TABLE OF LINE WITH UNIQUE KEY COL1.
DO 4 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2.
INSERT LINE INTO TABLE ITAB.
ENDDO.
LINE-COL1 = 1.
DELETE TABLE ITAB: FROM LINE,
WITH TABLE KEY COL1 = 3.
LOOP AT ITAB INTO LINE.
WRITE: / LINE-COL1, LINE-COL2.
ENDLOOP.
The output is:
2 4
4 16
The program fills a hashed table with a list of square numbers. The DELETE
statement delete the lines from the table where the key field COL1 has the contents 1 or 3.
Regards,
Bhaskar -
Download ALV to EXcel- Urgent pls help me
Please help me in this...
I have an ALV report around 120 column. The report is displayed perfectly on screen. But when I use the Export option to download as an excel file, some data is missing in SAP No field
For example
My report output is like this
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
00022 BBB clerk1 FI
00023 CCC clerk1 FI
00024 DDD clerk1 FI
00025 EEE clerk1 FI
00026 FFF clerk1 FI
Excel output is
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
Blank BBB clerk1 FI
Blank CCC clerk1 FI
Blank DDD clerk1 FI
00025 EEE clerk1 FI
Blank FFF clerk1 FI
Pls help meHi Kumar,
Pls try the below Function Modules to download the data to excel.
ALSM_EXCEL_TO_INTERNAL_TABLE
KCD_EXCEL_OLE_TO_INT_CONVERT Uploads data directly from Excel sheet
RH_START_EXCEL_WITH_DATA Starts Excel with contents of an internal table
or the below links also might help you.
For uploading Excel to Internal Table??????
Data from Excel sheet to my internal table
Check the following link:
http://www.sap-img.com/abap/upload-direct-excel.htm
or even the below code might be helpful.
Multiple excel sheets generation in a workbook
CREATE OBJECT EXCEL 'EXCEL.SHEET'.
GET PROPERTY OF EXCEL 'Application' = APPLICATION.
SET PROPERTY OF APPLICATION 'Visible' = 1.
CALL METHOD OF APPLICATION 'Workbooks' = BOOKS.
CALL METHOD OF BOOKS 'Add' = BOOK.
CALL METHOD OF BOOK 'WORKSHEETS' = SHEET.
CALL METHOD OF SHEET 'ADD'.
Fill all the sheets with relavant data
PERFORM SHEET1 TABLES ITAB1.
PERFORM SHEET2 TABLES ITAB2.
PERFORM SHEET3 TABLES ITAB3.
PERFORM SHEET4 TABLES ITAB4.
Quit the excel after use
CALL METHOD OF EXCEL 'QUIT'.
FREE OBJECT: COLUMN,SHEET,BOOK,BOOKS,APPLICATION,EXCEL. "NO FLUSH.
CLEAR V_SHEET.
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF SHEET 'cells' = CELL NO FLUSH
EXPORTING #1 = ROW #2 = COL.
SET PROPERTY OF CELL 'value' = VAL.
FREE OBJECT CELL NO FLUSH.
ENDFORM. " FILL_CELL
FORM SHEET1 TABLES ITAB1 STRUCTURE ITAB1.
V_SHEET = Sheet Name.
V_NO = V_NO + 1.
CALL METHOD OF BOOK 'worksheets' = SHEET NO FLUSH EXPORTING #1 = V_NO.
SET PROPERTY OF SHEET 'Name' = V_SHEET NO FLUSH.
PERFORM FILL_SHEET1 TABLES ITAB1 USING V_NO V_SHEET.
CALL METHOD OF SHEET 'Columns' = COLUMN.
FREE OBJECT SHEET.
CALL METHOD OF COLUMN 'Autofit'.
FREE OBJECT COLUMN.
ENDFORM.
Repeat above procedure for all sheets you want to add
FORM FILL_SHEET1
TABLES ITAB1 STRUCTURE ITAB1
USING V_NO V_SHEET.
ROW = 1.
PERFORM FILL_CELL USING ROW 1 'Column1 Name'.
PERFORM FILL_CELL USING ROW 2 'Column2 Name'.
PERFORM FILL_CELL USING ROW 3 'Column3 Name'.
ROW = ROW + 1.
LOOP AT ITAB1.
PERFORM FILL_CELL USING ROW 1 ITAB1-Column1.
PERFORM FILL_CELL USING ROW 2 ITAB1-Column2.
PERFORM FILL_CELL USING ROW 3 ITAB1-Column3.
ROW = ROW + 1.
ENDLOOP.
ENDFORM.
Repeat above procedure for all sheets you want to add
Try this also
TYPE-POOLS: truxs.
DATA: it_raw TYPE truxs_t_text_data.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Upload Excel file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw
i_filename = p_file
TABLES
i_tab_converted_data = i_XCEL[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Pls reward if useful.
THanks,
Sirisha -
I am using the reports 6i and running it on web in excel format and pdf format.
I want to highlight a particular row with some color based on some condition on of the column
how do i do this, pls help me
VinodBear in mind that your 'Excel' format is really just delimited data and a pure ASCII file, which doesn't support the type of highlighting that you're requesting.
In 9i you can use jsp technology to embed reports data directly into an Excel spreadsheet. In this case you could probably also include either an Excel macro, or execute some java code that highlighted the appropriate row/values.
There's an example of this jsp approach available on the demos page available at http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
Hope this helps,
Danny -
Download data to Excel- very urgent pls help
Hi Experts
Following is my coding. i need to download and save the it_material table as Excel file.
pls help me out
REPORT zvio1001 LINE-SIZE 190
LINE-COUNT 55
MESSAGE-ID zz
NO STANDARD PAGE HEADING.
TABLES: mara,marce,makt,marc,mvke,zmpkg,t005t,cdhdr.
DATA : BEGIN OF it_mara OCCURS 0,
mandt LIKE mara-mandt, "Client
matnr LIKE mara-matnr,
meins LIKE mara-meins,
laeda LIKE mara-laeda,
aenam LIKE mara-aenam,
END OF it_mara.
DATA : BEGIN OF it_marc OCCURS 0,
matnr LIKE marc-matnr,
werks LIKE marc-werks,
END OF it_marc.
DATA : BEGIN OF it_makt OCCURS 0,
matnr LIKE makt-matnr,
maktx LIKE makt-maktx,
END OF it_makt.
DATA : BEGIN OF it_zmpkg OCCURS 0,
matnr LIKE makt-matnr,
zppqt LIKE zmpkg-zppqt,
zspqt LIKE zmpkg-zspqt,
zpmqt_3 LIKE zmpkg-zpmqt_3,
END OF it_zmpkg .
DATA : BEGIN OF it_material OCCURS 0,
mandt LIKE mara-mandt, "Client
werks LIKE marc-werks,
matnr LIKE marc-matnr,
maktx LIKE makt-maktx,
meins LIKE mara-meins,
zppqt LIKE zmpkg-zppqt,
zspqt LIKE zmpkg-zspqt,
zpmqt_3 LIKE zmpkg-zpmqt_3,
laeda LIKE mara-laeda,
aenam LIKE mara-aenam,
date LIKE sy-datum,
time LIKE sy-uzeit,
user LIKE sy-uname,
END OF it_material.
P a r a m e t e r s *
Start of tabbed screens
SELECTION-SCREEN BEGIN OF TABBED BLOCK list FOR 20 LINES.
SELECTION-SCREEN TAB (30) gc_gen USER-COMMAND gen_tab
DEFAULT SCREEN 1001.
SELECTION-SCREEN TAB (30) gc_view USER-COMMAND view_tab
DEFAULT SCREEN 1002.
SELECTION-SCREEN TAB (30) gc_outp USER-COMMAND outp_tab
DEFAULT SCREEN 1003.
SELECTION-SCREEN END OF BLOCK list.
SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK box01 WITH FRAME TITLE text-401.
PARAMETERS : p_werks LIKE marc-werks OBLIGATORY.
PARAMETERS : p_vkorg LIKE mvke-vkorg OBLIGATORY.
SELECT-OPTIONS : s_matnr FOR mara-matnr.
SELECT-OPTIONS : s_mtart FOR mara-mtart.
SELECT-OPTIONS : s_mmsta FOR marc-mmsta. "A01
SELECT-OPTIONS : s_dispo FOR marc-dispo.
SELECT-OPTIONS : s_beskz FOR marc-beskz.
SELECT-OPTIONS : s_lgpro FOR marc-lgpro.
SELECT-OPTIONS : s_lgfsb FOR marc-lgfsb.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-014.
PARAMETERS : p_repall RADIOBUTTON GROUP sel2 DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-011.
PARAMETERS : p_change RADIOBUTTON GROUP sel2.
SELECTION-SCREEN COMMENT 36(1) text-013.
PARAMETERS : p_chgdat LIKE sy-datum DEFAULT sy-datum.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-010.
PARAMETERS : p_excdel AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box01.
SELECTION-SCREEN END OF SCREEN 1001.
View Selection Screen
SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK box05 WITH FRAME TITLE text-403.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(77) text-109.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-021.
PARAMETERS: p_sales AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-022.
PARAMETERS: p_mrp AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-023.
PARAMETERS: p_store AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-024.
PARAMETERS: p_accnt AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-025.
PARAMETERS: p_cost AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-026.
PARAMETERS: p_purch AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box05.
SELECTION-SCREEN END OF SCREEN 1002.
SELECTION-SCREEN BEGIN OF SCREEN 1003 AS SUBSCREEN.
extract format selection
SELECTION-SCREEN BEGIN OF BLOCK box04 WITH FRAME TITLE text-402.
PARAMETERS : p_vari LIKE ltdxt-variant OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-009.
PARAMETERS: p_report RADIOBUTTON GROUP sel1 DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-016.
PARAMETERS : p_repcoo RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-017.
PARAMETERS : p_reppak RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-008.
PARAMETERS: p_extun RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-007.
PARAMETERS: p_extpc RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
PARAMETERS: p_pcfile LIKE rlgrap-filename
DEFAULT 'c:\#ups\CLIENTIDCCYYMMDDHHMMSS.ITM'.
DEFAULT 'd:\P0121205MMM_YYYYMMDD HHMMSS.XLS'.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(40) text-015.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box04.
SELECTION-SCREEN END OF SCREEN 1003.
F i e l d S y m b o l s *
FIELD-SYMBOLS: <f>.
D a t a *
common include for file layouts
INCLUDE zvin1010.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'P_PCFILE'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
I N I T I A L I Z A T I O N *
INITIALIZATION.
gc_gen = text-401.
gc_outp = text-402.
gc_view = text-403.
SET up the file directory depending on the system id.
GET PARAMETER ID 'WRK' FIELD p_werks.
GET PARAMETER ID 'VKO' FIELD p_vkorg.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'ROH'.
s_mtart-high = ''.
APPEND s_mtart.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'MFPK'.
s_mtart-high = ''.
APPEND s_mtart.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'VERP'.
s_mtart-high = ''.
APPEND s_mtart.
START-OF-SELECTION.
check that the download is active
PERFORM get_data.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT mandt matnr meins laeda aenam
FROM mara
INTO TABLE it_mara
WHERE matnr IN s_matnr.
IF NOT it_mara[] IS INITIAL.
SELECT matnr werks
FROM marc
INTO TABLE it_marc
FOR ALL ENTRIES IN it_mara
WHERE matnr = it_mara-matnr
AND werks = p_werks.
SELECT matnr maktx
FROM makt
INTO TABLE it_makt
FOR ALL ENTRIES IN it_marc
WHERE matnr = it_marc-matnr
AND spras = 'E'.
SELECT matnr zppqt zspqt zpmqt_3
INTO TABLE it_zmpkg
FROM zmpkg
FOR ALL ENTRIES IN it_marc
WHERE matnr = it_marc-matnr
AND werks = p_werks.
ENDIF.
LOOP AT it_mara.
READ TABLE it_marc WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
READ TABLE it_makt WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
READ TABLE it_zmpkg WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
it_material-mandt = it_mara-mandt.
it_material-matnr = it_mara-matnr.
it_material-maktx = it_makt-maktx.
it_material-meins = it_mara-meins.
it_material-laeda = it_mara-laeda.
it_material-aenam = it_mara-aenam.
it_material-werks = it_marc-werks.
it_material-zppqt = it_zmpkg-zppqt.
it_material-zspqt = it_zmpkg-zspqt.
it_material-zpmqt_3 = it_zmpkg-zpmqt_3.
it_material-date = sy-datum.
it_material-time = sy-uzeit.
it_material-user = sy-uname.
APPEND it_material.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " GET_DATAHi Kumar,
After building your it_material internal table, try using GUIO_DOWNLOAD to load the data into an excel sheet.
check this sample code.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = SELECT_FILE " Filename
FILETYPE = 'ASC'
APPEND = ' '
TABLES
DATA_TAB = ITAB_STR_1
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ENDIF.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T -
Select statement- very urgent pls help
hi
i want to extract following fields into one internal table.
anyone pls help me to do this?
mara-mandt, mara-matnr, mara-meins, mara-laeda, mara-aenam, marc-werks, makt-maktx, sy-datum, sy-uzeit, sy-uname
Thanks
KumarHi Kumar K,
TABLES: MARA, MARC, MAKT.
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
PARAMETERS : P_WERKS LIKE MARC-WERKS OBLIGATORY.
DATA : BEGIN OF WA_FINAL,
MANDT LIKE MARA-MANDT,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
LAEDA LIKE MARA-LAEDA,
AENAM LIKE MARA-AENAM,
WERKS LIKE MARC-WERKS,
MAKTX LIKE MAKT-MAKTX,
DATE TYPE SY-DATUM,
TIME TYPE SY-UZEIT,
UNAME TYPE SY-UNAME,
END OF WA_FINAL,
BEGIN OF WA_MARA,
MANDT LIKE MARA-MANDT,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
LAEDA LIKE MARA-LAEDA,
AENAM LIKE MARA-AENAM,
END OF WA_MARA,
BEGIN OF WA_MAKT,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF WA_MAKT,
BEGIN OF WA_MARC,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
END OF WA_MARC.
DATA : IT_MARA LIKE STANDARD TABLE OF WA_MARA WITH HEADER LINE,
IT_FINAL LIKE STANDARD TABLE OF WA_FINAL WITH HEADER LINE,
IT_MAKT LIKE STANDARD TABLE OF WA_MAKT WITH HEADER LINE,
IT_MARC LIKE STANDARD TABLE OF WA_MARC WITH HEADER LINE.
SELECT MANDT
MATNR
MEINS
LAEDA
AENAM
FROM MARA
INTO TABLE IT_MARA
WHERE MATNR IN S_MATNR.
IF IT_MARA[] IS NOT INITIAL.
SELECT MATNR
WERKS
FROM MARC
INTO TABLE IT_MARC
FOR ALL ENTRIES IN IT_MARA
WHERE MATNR = IT_MARA-MATNR
AND WERKS = P_WERKS.
ENDIF.
IF IT_MARA[] IS NOT INITIAL.
SELECT MATNR
MAKTX
FROM MAKT
INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_MARA
WHERE MATNR = IT_MARA-MATNR.
ENDIF.
LOOP AT IT_MARA.
IT_FINAL-MANDT = IT_MARA-MANDT.
IT_FINAL-MATNR = IT_MARA-MATNR.
IT_FINAL-MEINS = IT_MARA-MEINS.
IT_FINAL-LAEDA = IT_MARA-LAEDA.
IT_FINAL-AENAM = IT_MARA-AENAM.
READ TABLE IT_MARC WITH KEY MATNR = IT_MARA-MATNR.
IF SY-SUBRC = 0.
IT_FINAL-WERKS = IT_MARC-WERKS.
ENDIF.
READ TABLE IT_MAKT WITH KEY MATNR = IT_MARA-MATNR.
IF SY-SUBRC = 0.
IT_FINAL-MAKTX = IT_MAKT-MAKTX.
ENDIF.
IT_FINAL-DATE = SY-DATUM.
IT_FINAL-TIME = SY-UZEIT.
IT_FINAL-UNAME = SY-UNAME.
APPEND IT_FINAL.
CLEAR : IT_FINAL, IT_MARA , IT_MAKT, IT_MARC.
ENDLOOP.
now IT_FINAL table contains the final data which you want...
Hope it will solve your problem
Reward points if useful...
Thanks & Regards
ilesh 24x7
Maybe you are looking for
-
Freezing at startup - weird message when starting up in verbose mode
My macbook pro, only about 2 months old, freezes a lot while its starting up. i have to keep turning it off and on for it to work. It gets stuck at the grey screen with the apple and the loading icon. I decided to start up in verbose mode and maybe i
-
Hi Folks I am new to garageband and will use it mainly to repalce my portastudion etc. I currrently use an alesis sr16 drum machine and wanted some bluse and jazz swing and shuffle style loops to use for working out stuff for live arrangements. I ha
-
Problem with Datastore Tier Rate Factors
Hi all, I have problem with Chargeback Datastore Tiers. I have three different datastore types and I want to charge them seperately. To do this, I created three datastore tiers and moved that datastores to them. For all three datastore tiers, I assig
-
ASA NAT Problem - I think?
Hi Guys, I have an ASA5520 with an interface to the internet on a /28 public network and an interface to a /24 public network - I will connect other interfaces to other networks in time, but I just want to get the thing working for now. Anyway, I hav
-
Creating a custom 404 page.
# Removed do to email appearing on Google search. # Last edited by MindTooth (2011-01-01 21:57:05)