Help required with login form using applet
this is the code I'm working on. it does not show any errors but it does not successfully authenticate the login either.
please help
public class Loginex extends JApplet implements ActionListener
public JPanel p;
public JLabel l1,l2;
public JTextField t1;
public JPasswordField pw1;
public JButton signin;
public String uname,upwd,dname,dpwd;
public void init()
JPanel p=new JPanel();
JLabel l1=new JLabel("Username");
JLabel l2=new JLabel("Password");
JTextField t1=new JTextField(20);
JPasswordField pw1=new JPasswordField(20);
JButton signin=new JButton("Sign in");
p.add(l1);
p.add(t1);
p.add(l2);
p.add(pw1);
p.add(signin);
signin.addActionListener(this);
add(p);
uname=t1.getText();
upwd=pw1.getText();
public void actionPerformed(ActionEvent ae)
if(ae.getSource()==signin)
System.out.println("You are trying to login as : "+uname);
try
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection
con=DriverManager.getConnection("jdbc:sqlserver://localhost;"+"user=sa;password=sysdba;"+"database=job_app");
Statement stm = con.createStatement();
String query = "SELECT emp_id, emp_pwd FROM Employee where emp_id= "+uname +";";
ResultSet rs = stm.executeQuery(query);
while(rs.next())
dname=rs.getString("emp_id");
dpwd=rs.getString("emp_pwd");
if((dname.equals(uname))&&(dpwd.equals(upwd)))
System.out.println("You are logged in as : "+uname);
else
System.out.println("Login failed");
rs.close();
stm.close();
con.close();
catch(Exception e)
System.out.println("Error occured"+e);
}
njb7ty wrote:
Also, if uname had a single quote such as O'Conner, the originial sql statement would fail unless you properly escape the single quote. With preparedStatements, you dont have to escape it. I also believe preparedStatements are less suseptable to sql injection attacks.You are correct, prepared statements are the best thing since sliced bread. They are:
- easier to read and write
- easier to debug
- run faster if used more than once
- and are not susceptible to SQL injection attacks, this is especially important if the data being used in the parameter came in over the internet.
I always use them, even when they might be slightly less efficient, eg. where I build the SQL right before I prepare it and then never use it again.
Similar Messages
-
Help required with Pattern (Regex use)
Hello everybody !!
I'd like to use the Regex Package to find the following Pattern in the following expression:
PATTERN = prim*bbb
INPUT = xxx prim yyy xxx prim aaa bbb ddd
and I would like to obtain two results in the same matching:
1=> prim yyy xxx prim aaa bbb
2=> prim aaa bbb
When I try I obtain just the first one as you can see below:
Current REGEX is: prim.*bbb
Current INPUT is: xxx prim yyy xxx prim aaa bbb ddd
Nombre de groupe =0
I found the text "prim yyy xxx prim aaa bbb" starting at index 4 and ending at i
ndex 29.
Could you help me to cope with regex in order to define such Pattern and obtain these results.
Thanks a lot !!Ok here is something that I wrote up.
Keep in mind I do not have java 1.4 installed so I could not compile nor test this code.
It seems like a crazy way to do it , but I can't think of any other way at this time.
Basically find the String, Trim off the prim and bbb and try to find it again, repeat untill there is not a gap between prim and bbb or maybee a gap of only 1 , was not sure what your exit point would be.
Hopefully maybee this will help , or not confuse. :-)
while(matcher.find()) {
String matchedString = matcher.group();
System.out.println("I found the text \"" + matcher.group()
+ "\" starting at index " + matcher.start()
+ " and ending at index " + matcher.end() + ".");
// call this method to search for inner matches
findInnerMatch(matchedString);
public void findInnerMatch(String matchedString,String regex) {
// get the string between prim and bbb *** check index's etc...
String innerString = matchedString.substring(matchedString.indexOf("prim"),matchedString.lastIndexOf("bbb")-1);
// make a new pattern with same regular expression
Pattern pattern = Pattern.compile(regex);
// make a new matcher with the inner string portion
Matcher matcher = pattern.matcher(innerString);
if (matcher.find()) {
// if it finds a match print it out
System.out.print("Found: " + innerString);
// see if there is a gap between prim and bbb *** check index's etc..
while (innerString.indexOf("prim") < innerString.lastIndexOf("bbb")) {
// if more check again another occurance
findInnerMatch(innerString);
} -
To create login form using swing with sqlserver as backend
hi.
can anybody send me code to create login form using swings .
thnaks in advance..
sjYou do realise that you can't create Swing on a JSP page?
You have to use HTML.
If you want to use Swing, the java must be running at the client end, which means you need an Applet, and a completely different forum. -
can any one help me with correcting the code or can any one give me another code for using it in the login form.
this is my problem:-
i had make a login form using in oracle 9i form builder >>>in this form i have three text boxes one for intering user name and the second one for entering the password and the third text box is not visible and it is used for counting the tries.
In addition i have a three buttons , one is for login and the two others are not visible and they are a show main menu button and a exit button. For login button i had put a WHEN-BUTTON-PRESSED trigger in the login button and it must check if the user name and the password match what it is on the login table so it allow the user to see the show main menu button otherwise if the user name or the password are wrong and has been putted wrong for 3 times of trying then it will show the exit button.
and this is a picture of the login form in the design view.
http://www.al7loh.com/uploader/uploads/login.JPG
and this is the code for theWHEN-BUTTON-PRESSED trigger on the login button
declare
alertNum number;
dummy1 tbl_login.USER_NAME%type;
dummy2 tbl_login.PASS%type;
begin
select tbl_login.USER_NAME, tbl_login.PASS into dummy1, dummy2 from tbl_login where tbl_login.USER_NAME = :LOGIN.USER_NAME and
tbl_login.PASS = :LOGIN.PASS;
if :LOGIN.TRIES<3 then
if sql%found
then
set_item_property('LOGIN.SHOW_MENU', visible, property_true);
set_item_property('LOGIN.SHOW_MENU', enabled, property_true);
else
message ('Invalid password....try again');
:LOGIN.TRIES := :LOGIN.TRIES+1;
:LOGIN.USER_NAME := null;
:LOGIN.PASS := null;
end if;
else
message ('Exceeded Number of tries..press exit button');
set_item_property('LOGIN.EXIT', visible, property_true);
set_item_property('LOGIN.EXIT', enabled, property_true);
end if;
end;
can any one help me correcting the code of the WHEN-BUTTON-PRESSED trigger on the login form or can any one give me another code for using it in the login form.
i hope to get some help from the experts>>> ??!?!?!?!?!Something like this
declare
alertNum number;
dummy1 tbl_login.USER_NAME%type;
dummy2 tbl_login.PASS%type;
begin
Begin
select tbl_login.USER_NAME, tbl_login.PASS
into dummy1, dummy2
from tbl_login
where tbl_login.USER_NAME = :LOGIN.USER_NAME
and tbl_login.PASS = :LOGIN.PASS;
set_item_property('LOGIN.SHOW_MENU', visible, property_true);
set_item_property('LOGIN.SHOW_MENU', enabled, property_true);
Exception
When no_data_found Then
if :LOGIN.TRIES<3 then
message ('Invalid password....try again');
:LOGIN.TRIES := :LOGIN.TRIES+1;
:LOGIN.USER_NAME := null;
:LOGIN.PASS := null;
Go_Item( 'LOGIN.USER_NAME' ) ;
else
message ('Exceeded Number of tries..press exit button');
set_item_property('LOGIN.EXIT', visible, property_true);
set_item_property('LOGIN.EXIT', enabled, property_true);
end if;
end;
end;Francois -
Help required with (soundcard) connection / settings, thanks in advan
Help required with connection / settings between a Creative Sound Blaster Audigy Platinum EX (soundcard) and a Creative DTT3500 Digital (5. speakers).
The problem
No sound from any of the speakers. (Exception can plug in headphones at front)
Background
My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). However after reconnecting speakers and restoring the original settings I?m getting no sound from any of the speakers. I?ve followed all the available advice/instructions I can find on this website and manuals to no avail.
Set-up
Physical
(Digital DIN) Speakers/decoder amplifier (DTT3500) connected to the (digital out) soundcard (Audigy Platinum EX) using minijack to DIN cable. (As per instruction manual)
Software
Creative Audio Consul ? setting as per instructions, however have tried variations in vain. (Note: above tabs there is a select device box with SB Audigy [A0000] in it ? only option. Just wondering what [A0000] means?)
Your advice please. A simple step by step guide would be appreciated, many thanks in advance, Jon"My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). "
Do you have the original installation disk?
If so, try installing THOSE drivers, ESPECIALLY if it worked before. Be sure to uninstall what is there now, first.
Its natural for most people to want the 'latest' drivers for their hardware. However:
After experiencing some difficulties with some CL 'updates' for certain products, I now avoid them UNLESS I am having a PROBLEM with the existing drivers. -
Help needed with this form in DW
Hi, i have created this form in dreamweaver but ive got this problem.
In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
But the problem is when ill get the messages. Only the text from the large text field is there.
What did i do wrong??
http://www.hureninparamaribo.nl/contact.html
Thank you
Anybody??Thank you for your response. So what do i have to do to fix this?
Date: Sun, 20 Jan 2013 07:57:56 -0700
From: [email protected]
To: [email protected]
Subject: Help needed with this form in DW
Re: Help needed with this form in DW
created by Ken Binney in Dreamweaver General - View the full discussion
You have several duplicate "name" attributes in these rows which also appears in the first row
Telefoon:
Huurperiode:
Aantal personen:
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver General by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart
What is the size of your hard disk? PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine. Just a thought here.
-
Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
I have successfully installed all of my creative cloud apps with the exception being acrobat.
I cannot print from Indesign to PDF.
I have unistalled, reinstalled and still no Adobe Acrobat.
I now have to go back to Windows 8 and create the PDF's there.
Any one know how to get around this issue?
Thanks in advance
KelvinOSX has effectively killed the ability to print to pdf, (print to pdf eliminates most of the "Rich features" of current pdf).
Export from InDesign, always, excpet for the 1% of the time where you know why print to pdf would produce a better result. -
F4 help in online interactive forms using ABAP
Hi,
Question 1:
I am able to get f4 help in online interactive form using ABAP. but after selecting the value from pop-up the value is not populated in PDF field. Can u help regardiing this.
Question 2:
I am able to get f4 help in online interactive form using value help dropdown, first time if i click the dropdown button it is showing the popup, if i click second time it is not showing the popup.
Thanks & Regards,
KrishnaHi,
1. I you are woking from the Web Dynpro for ABAP then after binding the Context variable in the view, and in the Adobe Layout Designer from the Library goto WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
Var fieldname = "yourfieldname";
Note: dont forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
2. Only the Submit button , the Enumerated Drop-Down List as well as the Value help button from the Web Dynpro Native library of Adobe LiveCycle Designer are supported. Check SAP Note: 1098009
Regards
Pradeep Goli -
Help with Login Form (JSP DB Java Beans Session Tracking)
Hi, I need some help with my login form.
The design of my authetication system is as follows.
1. Login.jsp sends login details to validation.jsp.
2. Validation.jsp queries a DB against the parameters received.
3. If the query result is good, I retrieve some information (login id, name, etc.) from the DB and store it into a Java Bean.
4. The bean itself is referenced with the current session.
5. Once all that's done, validation.jsp forwards to main.jsp.
6. As a means to maintain state, I prefer to use url encoding instead of cookies for obvious reasons.I need some help from step 3 onwards please! Some code snippets will do as well!
If you think this approach is not a good practice, pls let me know and advice on better practices!
Thanks a lot!Alright,here is an example for you.
Assume a case where you don't want to give access to any JSP View/HTML Page/Servlet/Backing Bean unless user logging system and let assume you are creating a View Object with the name.
checkout an example (Assuming the filter is being applied to a pattern * which means when a resource is been accessed by webapplication using APP_URL the filter would be called)
public doFilter(ServletRequest req,ServletResponse res,FilterChain chain){
if(req instanceof HttpServletRequest){
HttpServletRequest request = (HttpServletRequest) req;
HttpSession session = request.getSession();
String username = request.getParameter("username");
String password = request.getParameter("password");
String method = request.getMethod();
String auth_type = request.getAuthType();
if(session.getAttribute("useInfoBean") != null)
request.getRequestDispatcher("/dashBoard").forward(req,res);
else{
if(username != null && password != null && method.equaIsgnoreCase("POST") && (auth_type.equalsIgnoreCase("FORM_AUTH") || auth_type.equalsIgnoreCase("CLIENT_CERT_AUTH")) )
chain.doFilter(req,res);
else
request.getRequestDispatcher("/Login.jsp").forward(req,res);
}If carefully look at the code the autherization is given only if either user is already logged in or making an attempt to login in secured way.
to know more insights about where these can used and how these can be used and how ?? the below links might help you.
http://javaboutique.internet.com/tutorials/Servlet_Filters/
http://e-docs.bea.com/wls/docs92/dvspisec/servlet.html
http://livedocs.adobe.com/jrun/4/Programmers_Guide/filters3.htm
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
http://www.servlets.com/soapbox/filters.html
http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html
and coming back to DAO Pattern hope the below link might help you.
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
http://java.sun.com/blueprints/patterns/DAO.html
http://www.javapractices.com/Topic66.cjp
http://www.ibm.com/developerworks/java/library/j-dao/
http://www.javaworld.com/javaworld/jw-03-2002/jw-0301-dao.html
On the whole(:D) it is always a good practice to get back to Core Java/J2EE Patterns.and know answers to the question Why are they used & How do i implement them and where do i use it ??
http://www.fluffycat.com/java-design-patterns/
http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html
http://www.cmcrossroads.com/bradapp/javapats.html
Hope that might help :)
REGARDS,
RaHuL -
Problem with interactive forms using ABAP
Hi all,
I am trying to create an interactive adobe form using ABAP in ECC 6.0. But while execute the form, it is creating an error saying that
Exception SYSTEM_ERROR
Message ID: FPRUNX Message number: 001
Message:
ADS: The render error log file has been written to D:\u(200101)
But i was able to create adobe interactive form using WebDynpro and its working perfectly. But the problem is while using ABAP method.
Do anyone have an idea why its happening?
Thanks and Regards,
Raja SekharHi
Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
It is impossible to make a blanket statement on what needs to be done in each of the applications using a form for output. Despite the same underlying technology, forms handling has always been a decision for each SAP application: Some do it through customizing, some through coding, some in yet anither way.
What I CAN say from a technology pespective is that all applications are in the process of creating their forms based on Interactive Forms so that by 2007 pretty much all SAP forms will be PDF-based. Obviously, each application does it within the framework of their application - but they all use Interactive Forms.
By the way, be aware that in ERP 2004 this forms solution is subject to a limitation for high-volume printing scenarios as we cannot ensure that ALL customers will be content with the performance in ALL scenarios with this release. (see SAP Note 863893).
To get an overview idea about Adobe forms ,
Using SFP , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
Create the context and layout in the form.
The layout generated can be previewed and saved as PDF output.
Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
On activating and executing the form you will get a function module name just similar to smartforms.
The driver program needs to call this FM.
Refer to the below sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
/people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
/people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
/people/franklin.herbas/blog/2005/12/13/2d-barcode-pdf-forms-with-sap-netweaver
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
http://help.sap.com/saphelp_nw04s/helpdata/en/43/849b3482206353e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/82538c0c4458bbe10000000a422035/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/6d/bd2d828aa04eeb9451aad0d02ae9a0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d4fe7fca-0b01-0010-569a-9a9c1ddf4132
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/company/press/press.epx?pressID=2785
http://www.adobe.com/enterprise/partners/sap.html
http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
look at the Adobe page here in SDN:
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
Check these links on Adobe forms
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
Use the Tcode : SFP
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
Check these links on Adobe forms
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
Very useful
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/00f4f594-7306-2a10-8483-b45bec157093 [original link is broken]
for PDF forms
http://help.sap.com/saphelp_nw04/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/content.htm
See the links for debugging
Refer to this thread
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
Debugging
Check these documents.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
ABAP Debugging
http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
Look at the SAP help link below
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
For online PDF form creation...........
https://createpdf.adobe.com/index.pl?BP=IE&LOC=en_US
for Other information use these Links
C:Documents and Settingsvuser01DesktopSANKET SPersonalVikalpsap netweaver ABAP and adobe Formspdf form webpdf based print forms.htm
C:Documents and Settingsvuser01DesktopSANKET SPersonalVikalpsap netweaver ABAP and adobe Formspdf form webSAP Interactive Forms by Adobe.htm
http://searchsap.techtarget.com/generic/0,295582,sid21_gci1079310,00.html?Offer=SAPwn927nw
http://www.thespot4sap.com/articles/SAP_Netweaver_Introduction.asp
http://help.sap.com/saphelp_webas630/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c7cbe08d-0c01-0010-8bac-b9ce7348246c?source=gawindev09&kw=sap+netweaver&adgroup=brand_netweaver
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
https://websmp204.sap-ag.de/~sapidp/011000358700004952682004E
/people/venkata.ramisetti/blog/2006/09/21/configuring-output-types-for-pdf-based-print-forms
http://help.sap.com/saphelp_erp2005vp/helpdata/en/96/6ee0d5b39640d68fc0078fc575114a/frameset.htm
D:adobe livecycle designerAdobe_Designer_71BeforeInstall.htm
http://sdn.sap.com/irj/sdn/interactiveforms
very imp ADS configuration guide
http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm
Could anyone provide the complete manual of SAP Query Creation
Tcode is : SFP
chk these links:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d4fe7fca-0b01-0010-569a-9a9c1ddf4132
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
see these links..
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
/people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
/people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
/people/franklin.herbas/blog/2005/12/13/2d-barcode-pdf-forms-with-sap-netweaver
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
http://help.sap.com/saphelp_nw04s/helpdata/en/43/849b3482206353e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/82538c0c4458bbe10000000a422035/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/6d/bd2d828aa04eeb9451aad0d02ae9a0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d4fe7fca-0b01-0010-569a-9a9c1ddf4132
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/company/press/press.epx?pressID=2785
http://www.adobe.com/enterprise/partners/sap.html
http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf -
i'm new to struts...
can anyone help me out...with
Sample code that helps to build a login in form using struts ,that has interaction with data base...
kindly drop mail @ [email protected]i'm new to struts...
can anyone help me out...withYou should look for a Struts forum, or post in the JSP forum here.
Sample code that helps to build a login in form using
struts ,that has interaction with data base...Google search.
kindly drop mail @ [email protected]
It could also mean spam. I advise against posting email addresses in public forums. -
Hi,
I am writing a small webcrawler in java.I am searching the webpage for a particular hyperlink(based ont he text).Can i get the text associated with the hyperlink using the URL class?.I am able to get the url the hyperlink is pointing to , but not the text displayed.
For example..
If there is a hyperlink on the word "Login" in a page. I want to fetch the text "Login".
Any immediate help would be highly appreciated.
Thanks!!do not need all the "hyperlinks" in the page but only the hyperlinks which
match my text.. For ex:only the hyperlink with the word "Login" in my example..
How do i do that?It took you a grand total of 7 minutes from the time I posted the suggestion until you posted your reply. You obviously didn't take any time to think about a possible solution on your own.
If you can parse the link out of an HTML page do you think there might be a way to parse out the text related to that link? I'll let you read the API and try to figure out a solution. You learn by trying and making mistakes.
You don't learn anything by asking people -
Help required with Browser Cookies..
Hi,
How do we default the userlogin of the Login Page using Cookies?? The procedure given below was taken from one the login pages created with HTMLDB Applications... What does "c.vals(1)" stand for and what value will it contain...
declare
v varchar2(255) := null;
c owa_cookie.cookie;
begin
c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
:P101_USERNAME := c.vals(1);
exception when others then null;
end;
Regards
NaveenJudging from the layout of the code I would guess the following.<br><br>
c is a cookie defined by the owa_cookie package.
c is assigned the cookie LOGIN_USERNAME_COOKIE using the get function
so in my mind, c.vals(1) is probably the first value in the cookie. Which intuition would tell me is the username. c.vals(2) would likely be the next value in the cookie.<br><br>
Hope this helps.<br><br>
Joe<br><br>
PS: Random owa_cookie documentation picked up from google owa_cookie doc
Message was edited by:
joe.bauser -
Help required with User exit logic
Hi gurus,
Please help me with the logic I wrote for the user exit for a PP Work Center View extract structure. Here is the details of the add on fields: VGW01, VGW02, VGW03, STEUS(from table PLPO); DataSource: 2LIS_04_P_ARBPL,
data: l_s_pp1 like MC04P_0ARB(extract structure of 2LIS_04_P_ARBPL),
l_tabix like sy-tabix,
lv_VGW01 like PLPO-VGW01.
lv_VGW02 like PLPO-VGW02.
lv_VGW03 like PLPO-VGW03.
lv_STEUS like PLPO-STEUS.
tables : PLPO.
case i_datasource.
when '2LIS_04_P_ARBPL'.
loop at c_t_data into l_s_pp1.
select single vgw01into lv_vgw01
from PLPO
where field = l_s_pp1-field.
if sy-subrc = 0.
l_s_pp-zzvgw01 = lv_vgw01.
l_s_pp-zzvgw02 = lv_vgw02.
l_s_pp-zzvgw03 = lv_vgw03.
l_s_pp-zzsteus = lv_steus.
endif.
modify c_t_data from l_s_pp1 index l_tabix.
endloop.
Any additional comments welcome. Thanks in advance.Hi,
Try coding as per the below code
case i_datasource.
When '2LIS_04_P_ARBPL'.
DATA: lt_data TYPE TABLE OF MC04P_0ARB.
FIELD-SYMBOLS: <ls_data> TYPE MC04P_0ARB.
Internal table for
TYPES:
BEGIN OF ty_tbl1,
lv_VGW01 TYPE PLPO-VGW01,
lv_VGW02 TYPE PLPO-VGW02,
lv_VGW03 TYPE PLPO-VGW03,
l_bmsch TYPE XXXX-XXXX,
l_plnnr TYPE XXXX-XXXX
l_datuv TYPE XXXX-XXXX
l_aennr TYPE XXXX-XXXX
l_plnkn TYPE XXXX-XXXX
l_plnal TYPE XXXX-XXXX
END OF ty_tbl1.
DATA:
lt_tb1 type standard table of ty_tbq,
ls_tb1 type ty_tb1.
lt_data[] = c_t_data[].
Read data into internal memory using jOins
select aVGW01 aVGW02 aVGW02 aVGW02 bbmsch bplnnr bdatuv baennr bplnkn bplnal into into CORRESPONDING FIELDS OF TABLE
lt_tb1 from PLPO as a innerjoin XXXX as b where aXXXX=bXXXX.
use the internal table to get the data to the enhaced fileds
LOOP AT lt_data ASSIGNING <ls_data>.
read table lt_tb1 into ls_tb1
with key XXXXX = <ls_data>-XXXX .
if sy-subrc eq 0.
<ls_data>-lV_VGW01 = ls_tb1-lv_VGW01,
<ls_data>-lV_VGW02 = ls_tb1-lv_VGW02,
<ls_data>-lV_VGW03 = ls_tb1-lv_VGW03,
<ls_data>-bmsch = ls_tb1-bmsch,
<ls_data>-plnnr = ls_tb1-plnnr,
<ls_data>-datuv = ls_tb1-datuv,
<ls_data>-aennr = ls_tb1-aennr,
<ls_data>-plnkn = ls_tb1-plnkn,
<ls_data>-pln1l = ls_tb1-plnal.
MODIFY lt_data FROM <ls_data>.
endif.
ENDLOOP.
REFRESH c_t_data.
c_t_data[] = lt_data[].
Note that the code is not written with the exact fields. Change the fields where necessary(also i have joined only 2 tables if needs to be joind form more than 2 table change the join statement accordingly).
Thanks,
Nagarjuna
Edited by: Nagarjuna Reddy on Oct 20, 2011 3:39 AM
Maybe you are looking for
-
HT1766 I have problem in my 4s I phone no sim
Hi I have problem with my 4S I phone always give me no sim install i did every thing change the sim and clean the port the sim card working in another phones very good without any problems i try to reset the software by recovery and same problem now
-
What are the rules for AUR packages that rely on Alien bins [solved]
Hi, I use ArchLinuxArm and want to create an AUR package that gets binaries from, lets say Fedora ARM, extracts them and modifies the config files in order to make it compatible with the Arch way of Linux. Of course, the PKGBUILD I am going to write
-
Hyperion Shared Services Database error
Hi there! I am trying to install hyperion financial management and for this i already installed the following on windows 2003 server: 1. Installed Oracle application server 2. Oracle Database 3. IIS Web Server 4. Installed Hyperion shared services 5.
-
About the latest version of Mozilla FireFox
Hi there, if I suspect that my Mozilla Firefox is already outdated. How can I check for the latest version of Mozilla Firefox, and how to upgrade to the latest version? Thanks a million in advance for your sincere help.
-
On windows 7 64-bit. Reader XI (11.0.09) sometimes starts the process but does not appear in the applications. This happens however the application is started i.e. start menu, double click pdf, double click AcroRd32.exe. It