Hiiiiii
hi...
how to create collective search help for a particular field...for one field if i create a elementary search help its working ..but if i use the same search help for other field its not working properly...
Hi,
check this..
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
Regards
vijay
Similar Messages
-
Hiiiiii friends please help me
I have a set of 20 web pages which should be under protected state. But checking the session attribute in every page is a big burden 2 me. Any one can help me in solving my problem. I ahv an idea that it can be reduced using Listeners in Session Tracking..
Waiting 4 ur reply
Mahidhar ChaluvadiCreate a custom jsp tag that does your
authentication. Put that tag at the top of all of
your pages. Implement the backend code to support
the authentication one time in one class, and you're
set.Custom tags aren't a good idea.
You can use basic security and a credential in session? Use a SessionListener to clean out the credential object when the session is closed or times out.
Or you can use an authentication filter that you can configure in the web.xml.
An even better solution would be Spring and aspect-oriented programming, but a filter will do.
% -
hi guru's,
i am applying for sap bw jobs and and i have some queries. my client is asking that have u ever work for sales order.. and he want the following details in my resume pls check these
1. Listing of sales and marketing reports that have been developed
2. Type of sales and marketing reports developed
pls reply me guru'sHi Uday Kiran,
Dont Panic....
When he asks you if you have ever worked on sales order then he is asking you if you have ever generated a report extracting data form Lou2019 s . So you need to prepare with few of the reports on sales and distribution.
Say for SD Cube 0SD_C01 you can say that you have generated reports for Product Profitability Analysis Report, Sales Volume Report, Incoming Order Analysis Report, Incoming Orders, Top Customers Report, Sales Volume, Customer Stastics Report.
Say for SD cube 0SD_C03 you have generated Sales Volume decrease per Business Partner Report, Pre selection of top ten customers Report, Decrease in Sales Report.
Good Luck !!! -
TCode for vendor trial balance (and not profit centerwise vendors list)
Hi
I want vendor's trial balance report.
My requirement is that i want list of vendors with the balances with debits and credits separately.
There should be four columns like:
Vendors, Debit (Amt), Credit (Amt), Net.
I checked SDN websites also. There were many posts but all were suggesting only one report i.e. report which is used for getting profit centerwise vendors.HIiiiii...............
Greeting for the Day...........
Pls check this report S_ALR_87012082 - Vendor Balances in Local Currency
i thing it's help full
Thanks & regard's
Sachin Indulkar -
Can' t connect Java with MySQL
My goal is to connect Java with MySQL. I found many solutions on Internet, but I always get the same mistake:
SQLException: No suitable driver
SQLState: 08001
VendorError: 0MySQL works fine alone or with php.Only thing left me to think is that the installed versions are not compatible for this mysql-connector-java-5.0.4
I don't believe that could be a reason.
Installed versions are:
Apache Tomcat 5.5.20 Server
Apache HTTP Server 2.2.4
PHP 5.2.0
MySQL 5.2
jre 1.5.0_11
jdk1.5.0_11
Apache Tomacat JK2 connector Version: 1.2.20 File Name: mod_jk-apache-2.2.3.so
mysql-connector-java-5.0.4
I also set connector in class path: C:\mysql-connector-java-5.0.4;C:\mysql-connector-java-5.0.4\mysql-connector-java-5.0.4-bin.jar;C:\mysql-connector-java-5.0.4\src\com\mysql\jdbc
For installation I used manulas from:
http://apacheguide.org/jsp.php
http://doc.51windows.net/mysql/?url=/MySQL/ch23s03.html
Here is also a test code in java:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Connect
public static void main (String[] args)
Connection conn = null;
try {
conn =
DriverManager.getConnection("jdbc:mysql://localhost/first_test" +
"user=monty&password=greatsqldb");
// Do something with the Connection
} catch (SQLException ex) {
// handle any errors
System.out.println("SQLException: " + ex.getMessage());
System.out.println("SQLState: " + ex.getSQLState());
System.out.println("VendorError: " + ex.getErrorCode());
}i'm desperate, please help or tell me someone who'll know the answer.
Thank You in advancehey buddy .. it seems yr code is wrong .. in getconnection () method u should also specify the port ,which u r not doing ...
the default port for MySQL is 3306 ... see below i am giving you a sample code ... its working fine .. and dont forget to put the MySQL driver jar path in to classpath and also copy the jar into common/lib folder of your tomcat ....
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class MySQLConnectionTest {
public static void main(String[] args) {
new MySQLConnectionTest().connTest();
public void connTest() {
String tableName = "portfolio"; //change as per setting
String hostName = "10.81.9.39"; // please change for the target database ip or hostname
String dbPort = "3306"; //change if not using the default
String dbName = "tradingsystem"; //change as per the given DB name
String username = "root"; //change as per setting
String password = "password"; //change as per setting
System.out.println("before try");
Double data=0.0;
Double data1=0.0;
try {
Class.forName("org.gjt.mm.mysql.Driver");
System.out.println("before driver manager");
Connection conn = DriverManager.getConnection("jdbc:mysql://"+hostName+":"+dbPort+"/"+dbName, username, password);
String query1 = "select * from "+tableName+" where User_id='trader1' and Stock_Type='Equity'";
System.out.println("quesry1="+query1);
Statement stmt = conn.createStatement();
ResultSet rs1 = stmt.executeQuery(query1);
while(rs1.next())
System.out.println("hiiiiii for rs1");
System.out.println(rs1);
Quantity=(Integer)rs1.getObject(5);
MarketPrice=(Double) rs1.getObject(8);
data=Quantity*MarketPrice;
data1+=data;
System.out.println("data1="+data1);
i=0;
rs1.close();
stmt.close();
conn.close();
} catch (ClassNotFoundException e) {
e.printStackTrace(System.err);
} catch (SQLException e) {
e.printStackTrace(System.err);
i hope it will work for u...
cheers, -
I want to display BLOB image in JSP Using html tags IMG src=
GoodAfternoon Sir/Madom
I Have got the image from oracle database but want to display BLOB image using <IMG src="" > Html tags in JSP page . If it is possible than please give some ideas or
Send me sample codes for display image.
This code is ok and working no problem here Please send me code How to display using html tag from oracle in JSP page.
<%@ page import="java.sql.*" %>
<%@ page import="java.io.*" %>
<%@ page import="javax.swing.ImageIcon;" %>
<%
out.print("hiiiiiii") ;
// declare a connection by using Connection interface
Connection connection = null;
/* Create string of connection url within specified format with machine
name, port number and database name. Here machine name id localhost
and database name is student. */
String connectionURL = "jdbc:oracle:thin:@localhost:1521:orcl";
/*declare a resultSet that works as a table resulted by execute a specified
sql query. */
ResultSet rs = null;
// Declare statement.
PreparedStatement psmnt = null;
// declare InputStream object to store binary stream of given image.
InputStream sImage;
try {
// Load JDBC driver "com.mysql.jdbc.Driver"
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
/* Create a connection by using getConnection() method that takes
parameters of string type connection url, user name and password to
connect to database. */
connection = DriverManager.getConnection(connectionURL, "scott", "root");
/* prepareStatement() is used for create statement object that is
used for sending sql statements to the specified database. */
psmnt = connection.prepareStatement("SELECT image FROM img WHERE id = ?");
psmnt.setString(1, "10");
rs = psmnt.executeQuery();
if(rs.next()) {
byte[] bytearray = new byte[1048576];
int size=0;
sImage = rs.getBinaryStream(1);
//response.reset();
response.setContentType("image/jpeg");
while((size=sImage.read(bytearray))!= -1 ){
response.getOutputStream().write(bytearray,0,size);
catch(Exception ex){
out.println("error :"+ex);
finally {
// close all the connections.
rs.close();
psmnt.close();
connection.close();
%>
ThanksI have done exactly that in one of my applications.
I have extracted the image from the database as a byte array, and displayed it using a servlet.
Here is the method in the servlet which does the displaying:
(since I'm writing one byte at a time, it's probably not terribly efficient but it works)
private void sendImage(byte[] bytes, HttpServletRequest request, HttpServletResponse response) throws IOException {
ServletOutputStream sout = response.getOutputStream();
for(int n = 0; n < bytes.length; n++) {
sout.write(bytes[n]);
sout.flush();
sout.close();
}Then in my JSP, I use this:
<img src="/path-to-servlet/image.jpg"/>
The name of the image to display is in the URL as well as the path to the servlet. The servlet will therefore need to extract the image name from the url and call the database. -
Hiiiiiii Experts,
I have a query.there is one floc and below that equipments attached to it.There are some electrical eqp and some are mech.We have already cost centers created for mech and elec seperatly.Now if i assign respective cost center to elc and mech eqp, it will work for eqp.But cost center will be assigne to floc.Do i need to create a new cost center for that.Or should i leave it blank.If i wont give any cost center to floc then will the accumalated cost of all eqp below it will be summerized at floc level.
One more thing what sap best practice suugest.Shpuld we assign cost center at floc level or eqp level.
Can u help me out to make the cost center allocation clear in sap pm.
Regards
BrijeshHello Brijesh,
There is no issues if you leave blank the Cost center field blank, all the report will work fine and also the cost will be displayed at the below hierarchy.
The problem will arrive when you will create any Order over this function location. At that time you will have to create settlement rule manually.
Regards
Naveen -
How to send the email without using SOST
Hiiiiii Every1,
What i m usiing is SO_NEW_DOCUMENT_SEND_API1 FM to send the email to internet add. as well as SAP User.
The Problem is that i have to go to SOST to send the Pending mails. and send the jobs manually.
Then it works all right.
What i want that i don't wnat to send this jobs/ emails mannually by going to SOST..
Is it possible to do it without using SOST.hi
i am not sure but give this code a try
REPORT YEMAIL.
TABLES: USR02.
DATA: C(15).
DATA: SENT LIKE SONV-FLAG.
DATA: EMAIL_ID LIKE SOFOLENTI1-OBJECT_ID.
DATA: BEGIN OF EMAIL_DATA.
INCLUDE STRUCTURE SODOCCHGI1.
DATA: END OF EMAIL_DATA.
DATA: BEGIN OF EMAIL_SEND OCCURS 10.
INCLUDE STRUCTURE SOMLRECI1.
DATA: END OF EMAIL_SEND.
DATA: BEGIN OF EMAIL_TEXT OCCURS 10.
INCLUDE STRUCTURE SOLISTI1.
DATA: END OF EMAIL_TEXT.
PARAMETERS: ALL__CLI RADIOBUTTON GROUP RADI.
PARAMETERS: THIS_CLI RADIOBUTTON GROUP RADI.
PARAMETERS: SELECT__ RADIOBUTTON GROUP RADI.
SELECT-OPTIONS SEND_TO FOR C NO INTERVALS.
SELECTION-SCREEN SKIP.
PARAMETERS: SUBJECT(30).
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT /1(20) TEXT-999.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L1(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L2(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L3(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L4(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L5(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L6(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L7(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L8(84).
SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: L9(84).
SELECTION-SCREEN END OF LINE.
EMAIL_TEXT-LINE = L1.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L2.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L3.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L4.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L5.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L6.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L7.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L8.
APPEND EMAIL_TEXT.
EMAIL_TEXT-LINE = L9.
APPEND EMAIL_TEXT.
EMAIL_DATA-OBJ_NAME = 'MESSAGE'.
EMAIL_DATA-OBJ_DESCR = SUBJECT.
EMAIL_DATA-OBJ_LANGU = 'E'.
EMAIL_DATA-SENSITIVTY = 'P'.
EMAIL_DATA-OBJ_PRIO = '1'.
EMAIL_DATA-NO_CHANGE = 'X'.
EMAIL_DATA-PRIORITY = '1'.
BREAK-POINT.
IF SELECT__ = 'X'.
LOOP AT SEND_TO.
EMAIL_SEND-RECEIVER = SEND_TO-LOW.
EMAIL_SEND-REC_TYPE = 'U'.
EMAIL_SEND-EXPRESS = 'X'.
APPEND EMAIL_SEND.
ENDLOOP.
ELSEIF THIS_CLI = 'X'.
SELECT * FROM USR02.
IF USR02-USTYP = 'A' AND USR02-BNAME NE 'SAP*'
AND USR02-BNAME NE 'DDIC'.
EMAIL_SEND-RECEIVER = USR02-BNAME.
EMAIL_SEND-REC_TYPE = 'U'.
EMAIL_SEND-EXPRESS = 'X'.
APPEND EMAIL_SEND.
ENDIF.
ENDSELECT.
ELSEIF ALL__CLI = 'X'.
SELECT * FROM USR02 CLIENT SPECIFIED.
IF USR02-USTYP = 'A' AND USR02-BNAME NE 'SAP*'
AND USR02-BNAME NE 'DDIC'.
EMAIL_SEND-RECEIVER = USR02-BNAME.
EMAIL_SEND-REC_TYPE = 'U'.
EMAIL_SEND-EXPRESS = 'X'.
APPEND EMAIL_SEND.
ENDIF.
ENDSELECT.
ENDIF.
BREAK-POINT.
EXIT.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = EMAIL_DATA
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = 'X'
IMPORTING
SENT_TO_ALL = SENT
NEW_OBJECT_ID = EMAIL_ID
TABLES
OBJECT_CONTENT = EMAIL_TEXT
RECEIVERS = EMAIL_SEND
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
regs
Arun -
How To Use ALE using IDOC ..
hiiiiiii Every1
I m new to this forum ans also in SAP. I m doing ALE / Idoc but not getting it. Anybody can help by explaing the steps how to perform an ALE using IDOCs.
Thanks in Advance.
Sachin DhingraRefer this link
http://www.sapgenie.com/ale/index.htm
http://www.sap-img.com/abap/ale-bapi.htm
http://www.thespot4sap.com/Articles/SAP_ALE_Introduction.asp
Reward points if u find it helpful.
Message was edited by: Judith Jessie Selvi -
hiiiiiii i installed oracle 11g for window7 64-bit it works good but today when i start it and entered the user name and password it shows the error message of
ORA-12560: TNS:protocol adapter error
please give me its solution
thanksHi,
See this post
http://arjudba.blogspot.com/2008/08/ora-12560-tnsprotocol-adapter-error-on.html -
hiiiiii
version-Application Express 4.0.2.00.06
Os-microsoft window server 2003
Browser-Mozilla firebox 3.6.17
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64 bit production
i want to create classic report on custmer_image on the basis of custmer_name
how will do that ,customer_image is BLOB type
thanks
shyamSee About BLOB Support in Forms and Reports in the documentation.
There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well.
Read the documentation and search the forum before posting new questions. -
Hi Guys,
I'm hitting error (RFC_ERROR_SYSTEM_FAILTURE) when i access MSS Team Calendar from the Portal. I'm trying to access the log files (defaultTrace.trc in the Log Viewer of the Visual Administrator) to try to find the error but it does not seem to capture it. ANyone has any idea why?hiiiiiii...
try like this::
http://hostname:port/nwa
give ur hostname and port no... it wil open logviewer..
refer the following thread::
<a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=758436#758436">https://www.sdn.sap.com/irj/sdn/thread?messageID=758436#758436</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=387115#387115">https://www.sdn.sap.com/irj/sdn/thread?messageID=387115#387115</a>
hope it may help u..
thanks and regards,
Chinnadurai.R
[points r welcome ] -
Still problem in TOMCAT(server.xml)
hiiiiiii
I tried all suggestion......At end, now when I execute %startTomcat% from DOS prompt......DOS windows opens and closes...... Somebody told me that it was error in my server.xml file in conf......
PLZ tell me how alter this file or add new stuff.....Hi Amar,
It was me who suggested the following steps
Follow these steps:
Download Java SDK 1.3 or 1.4
Download tomcat 4.x or 5.x
set the following variables from dos prompt
set JAVA_HOME = path to your java sdk folder
set CATALINA_HOME = path to tomcat folder
set startTomcat = %CATALINA_HOME%\bin\startup
set stopTomcat =%CATALINA_HOME%\bin\shutdown
now at dos prompt
type %startTomcat% , it should opena nother window which displays the status of tomcat server.
In the browser type http://localhost:8080/ (for tomcat 4.x) or http://localhost:8084 (for tomcat5.x) it should open up the index page of the server.
at your post http://forum.java.sun.com/thread.jsp?forum=33&thread=542123
First I suggest thta you donot repost same question, it wont help and next be clear what is the problem if possible post the error that might to provide you the solution. -
Smart forms po,pr,rfq
hiiiiiii
Can you please provide me a sample smart form of PO,RFQ,PR,Contract
what all things to be covered
Regards
Samin the NACE Trxn
"EA" for Purchasing RFQ
"EF" for Purchase Order
"EV" for Purch.Outline Agr.
Slect EF & Click the Output types..
then Selct "NEU" & Click the processing routines on the left hand side..
there you can see the Form "MEDRUCK" against the "Print output"..
Double Click the form"MEDRUCK" and check Smart form..
Similarly you can check for all other output types..
Remember for PR, there will not be Print output as it is an Internal document -
Hiiiiiii frmdsss...........im n deep trouble and need ur help immediately......im havin this prob with JComboBox....heres d code.....
public void actionPerformed(ActionEvent ae)
JButton source=(JButton)ae.getSource();
//JComboBox source1=(JComboBox)ae.getSource();
if(b1.equals(source))
cb1.setEnabled(true);
try
cb1.removeActionListener(this);
cb1.removeAllItems();
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:MyDataSource","sa","");
stmt=con.createStatement();
rs=stmt.executeQuery("select prod_model from product where prod_type LIKE 'Mobile'");
while(rs.next())
cb1.addItem(String.valueOf(rs.getString(1)));
con.close();
}catch(ClassNotFoundException c)
System.out.println("Error "+c);
catch(SQLException e)
System.out.println("Exception"+e.toString());
cb1.addActionListener(this);
if(ae.getSource() == cb1)
/*try
{ //cb1.removeActionListener(this);
//Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
/*con=DriverManager.getConnection("jdbc:odbc:MyDataSource","sa","");
String selected_id=cb1.getSelectedItem().toString();
stmt=con.createStatement();
rs=stmt.executeQuery("SELECT * FROM PRODUCT WHERE prod_model LIKE 'S%'");
if(rs.next())
JOptionPane.showMessageDialog(fr,"USER NAME IDENTIFIED","CONFIRMATION",JOptionPane.INFORMATION_MESSAGE);
con.close();
/*catch(ClassNotFoundException c)
System.out.println("Error "+c);
catch(SQLException e)
System.out.println("EXception"+e.toString());
It gives me a huge list of errors..........
java.lang.ClassCastException
at Order.actionPerformed(Order.java:86)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.setSelectedItem(Unknown Source)
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$2.processMouseEvent(Unknown So
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)...
PLzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me frnds.......i hve 2 submit this prjkt on ThursdyThe forum is fore heping out othersAnd that is exactly what I did. You won't get much help in the future if you don't change your habbits. In fact I'm surprised you got help this time.
It's your responsibility to make a question easy to read, not to make it difficult to read by (among other things):
a) holding the repeat key down
b) not spelling out words
Heck you can't even post formatted code to make it easy for people to read. Do you write your code with every line left aligned? I doubt it and we don't want to read it either.
So learn how to use the forum properly.
Maybe you are looking for
-
How can I update my iPod on a new laptop?
So, iOS 5 is finally out next week. I would like to upgrade to it, however since my old laptop is broke I use my mums laptop for iTunes. How can I update my system without apps beinf rid of? Last time I did it, my apps remaines intact, but I don't kn
-
Clarifications in pick list output type EK00
Hello , Have any one of you used the pick list output EK00 . I have tried this and I do have some issues with We are using SAP R/3 4.7 x 200 version . Output type EK00 is not available in the application V2 ( Shipping ) . Its available in application
-
Get current page or page of selected item
Hello, I' d like get the current page in Indesign or (if this is not possible) the page of a selected object. How could I implement this? var page = app.selection[0].page; does not work. Thanks and kind regards, mannyk
-
E-recruiting process steps and activities
Dear experts, we are configuring the process templates. We create different activities in the process. Does these activities need to be processed in the same order as created! Regards, Bharat
-
Powerbook G4 unable to load from Airport Extreme...
Hello: I have been wanting to go wireless at home and finally purchased a new Airport Extreme base station at the newly opened Apple store in San Luis Obispo. The unit is connected to Earthlink DSL and is working when connected to the LAN ports. Howe