Generating PDF file using FOP API in Web Dynpro
Hi experts,
I would like to generate PDF files from a WebDynpro application without using Adobe Interactive forms.
I think that I can export context data to XML stream and then apply XSLT transformation to produce XSLFO format and then pass it to xlfo processor i.e FOP to generate the PDF file.
Has someone already try this way of generating PDF files?
Is it a good way of processing ?
Thanks in advance.
Thomas.
hi Thomas,
You can make use of the iText API to create pdf documents through webdynpro.
For this you'll have to download the Itext api jar file.
Right click your webdynpro project include this jar file using the 'add external jar files'.Now you'll be able to make use of this api in your webdynpro project.
http://javaboutique.internet.com/tutorials/iText/ .
The above link will help you in using iText API.
hope this one helps you.
Regards,
Rahul.
Similar Messages
-
How do I open to a specific page or destination in a pdf file using Buddy API Xtra?
Hello,
I'm working with a CD ROM catalog that utilizes the Buddy API Xtra to open PDF files when a link is clicked. The client would like to be able to open to a specific page within a pdf file.
I can open a pdf file using the Buddy API baOpenfile() function but I'm having trouble opening to a specific page when I add #page=4:
baOpenfile("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf#page=4","normal")
I've also tried working with the code below which seems to me like it should work... I didn't realize that the "open..." part of it was a function in Director.
on mouseUp me
pageNum = 4
theApp = baShortFileName(baFindApp("pdf"))
theDoc = baShortFileName("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf")
theArgs = "/s /A page=" & string(pageNum) & "&pagemode=bookmarks"
-- (translates to "/A page=4" in this example)
open theApp && theArgs && theDoc
end
Thoughts?
Thank you in advance!Thank you Dee! This works perfect!
It would be cool to know how to use bashell() for this.
The help files give the following examples:
Result = baShell( Operation, Filename, Args, WorkDir, State )
ok = baShell( "open", "c:\windows\notepad.exe", "myfile.txt" , "", "normal" )
ok = baShell( "edit", "myfile.htm" , "", "", "normal" )
So I tried:
on mouseUp me
-- Close the program group
tWindowList = baWindowList( "" , "pdf" , false )
if tWindowList <> [] and count(tWindowList) > 0 then baCloseWindow(tWindowList[1])
pageNum = 4
theApp = baFindApp("pdf")
theDoc = _movie.path & "pdfs\Powder Cores\Magentics Powder Core Catalog.pdf"
theArgs = "/A ""E&"page="&string(pageNum)&"=OpenActions""E
baShell( "open", theApp, theDoc , theArgs, "normal" )
end
It opens the pdf file without going to a specific page. Any thoughts as to why it wouldn't accept theArgs?
Thanks again! -
Performance problems to generate PDF files using CR
Hi,
I develop an application that read TXT files and uses this information to generate PDF files, but I'm having problems with performance to generate this PDF, each files are taking at least 1 minute to create the file. I realized that some TMP and RPT files are generated and deleted in the temp folder of the machine which is running the application, but after some time creating the PDF's the RPT files aren't deleted and I have an exception on my app:
Memory full.
Failed to export the report.
Not enough memory for operation. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
The server who is running this application is a Dual Core AMD Opteron 2.61 ghz, 7 GB RAM
The framework version is 2.0 and the Crystal Reports dll version is 10.5.3700.0
Thanks.Hi,
If you are using IIS5 the give aspnet full permission to the Temp folders. For IIS6 give IIS_wpg permission.
For this you need to right click on the folder,
go to properties,
security tab,
click on Add,
Type aspnet/iis_wpg,
select top note in Location and click on check on check names.
Give full control and
click ok.
Also try using GC.Collect(), reportDocObject.Close() and reportDocObject.Dispose() as clean up code.
Regards,
AG. -
Help - Generate pdf files using creator - plz
Hello im trying to dynamically generate pdf file and show it on screen but im stuck, i've used itext, but i can make it work, anyone can share his own experience about generating pdf files and viewing on browser at same time using Creator?
TNKS in advance!Hi there,
Im not sure but the link in this thread might help
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=106715
K -
Generate PDF file using form parameters
how to generate output file like PDF while parameters pass thru form builder. i dont want output on screen.
i just want to pass parameters thru form builder and report builder will automatically generate output file like PDF onto my hard drive.Dear all,am new to oracle report and oracle forms and i know the
basics how to generate the report and to create the form, Now my doubt is, like generating report
from oracle report how to generate the report from oracle from,should i add any command button? and where
to add the coding and what coding ? when i click that command button the report should be generated like oracle
report,what should i do?Please help me to learn.
my table name is 'student' and it has the following columns,
sid,sname,grade,result.
Am using oracle from 10.1.2.0.2 version and
oracle report version is 10.1.2.0.2.
Please give step by step procss.
Thank you. -
Problems in using EP API in web dynpro
Hi all,
I am using of the UME API of EP in my web dynpro application. I have inlcuded the 'com.sap.security.jar' file in my build path and did a local build and deployed the application on my development system, it works well. But while moving the same to the quality system, while activating it is throwing syntax errors saying the classes that i have used are undefined. The same erros come even when i do a DC level build.
I have tried including the jar file in the 'lib' folder of the DC, even then, i dont get any errors when i build it locally, where as there are errors while doing a DC level build.
Please tell me if there is any way of including this jar file some where so that it does not throw any erros in DC level build and also while activating.
Regards,
NarahariHi Ravi,
Sorry for the late reply.
I inlcuded the security.jar file. but still i get the following errors,Please advice :-+
Enumeration enum = store.aliases();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:392: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
while(enum.hasMoreElements()) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:393: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
alias = (String)enum.nextElement();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:31: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public IUser forceLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:31: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public IUser forceLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:42: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public IUser getLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:42: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public IUser getLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:51: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public void logout(HttpServletRequest req,HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:51: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public void logout(HttpServletRequest req,HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:68: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public void forceLogoffUser(HttpServletRequest req, HttpServletResponse resp, String url);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:68: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public void forceLogoffUser(HttpServletRequest req, HttpServletResponse resp, String url);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSEObject.java:3: package iaik.asn1 does not exist
import iaik.asn1.ASN1Object;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSEObject.java:8: cannot find symbol
symbol : class ASN1Object
location: interface com.sap.security.api.keystore.secudePSEObject
public ASN1Object getObject ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:3: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:4: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:16: cannot find symbol
symbol : class Name
location: interface com.sap.security.api.keystore.PKList
public void removeCertificate (Name subject);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:21: cannot find symbol
symbol : class X509Certificate
location: interface com.sap.security.api.keystore.PKList
public void addCertificate (X509Certificate cert);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:10: package iaik.asn1 does not exist
import iaik.asn1.SEQUENCE;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:11: package iaik.asn1 does not exist
import iaik.asn1.ASN1Object;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:12: package iaik.asn1 does not exist
import iaik.asn1.DerCoder;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:13: package iaik.asn1 does not exist
import iaik.asn1.SET;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:14: package iaik.asn1 does not exist
import iaik.asn1.INTEGER;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:15: package iaik.asn1 does not exist
import iaik.asn1.OCTET_STRING;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:16: package iaik.asn1 does not exist
import iaik.asn1.ObjectID;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:17: package iaik.asn1 does not exist
import iaik.asn1.PrintableString;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:18: package iaik.asn1 does not exist
import iaik.asn1.UTCTime;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:19: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:20: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:42: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer = new INTEGER (2);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:43: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.secudePSE
static ObjectID oid = new ObjectID ("1.2.840.113549.3.7", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:44: cannot find symbol
symbol : class OCTET_STRING
location: class com.sap.security.api.keystore.secudePSE
static OCTET_STRING os = new OCTET_STRING (new byte [] { 0x00, 0x00,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:48: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.secudePSE
static PrintableString user = new PrintableString ("SYSTEM");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:49: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer2 = new INTEGER (1);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:50: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
static SEQUENCE oidseq = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:198: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.PKListImpl
private static ObjectID pkloid = new ObjectID ("1.3.36.2.6.1", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:201: cannot find symbol
symbol : class ASN1Object
location: class com.sap.security.api.keystore.PKListImpl
private ASN1Object asn = null;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:213: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.PKListImpl
public void addCertificate (X509Certificate cert)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:223: cannot find symbol
symbol : class ASN1Object
location: class com.sap.security.api.keystore.PKListImpl
public synchronized ASN1Object getObject ()
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:261: cannot find symbol
symbol : class Name
location: class com.sap.security.api.keystore.PKListImpl
public void removeCertificate (Name subject)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:261: removeCertificate(java.lang.String) is already defined in com.sap.security.api.keystore.PKListImpl
public void removeCertificate (Name subject)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:44: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.logon.ILogonAuthentication
public javax.security.auth.Subject logon (HttpServletRequest req, HttpServletResponse resp, String authscheme)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:44: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.logon.ILogonAuthentication
public javax.security.auth.Subject logon (HttpServletRequest req, HttpServletResponse resp, String authscheme)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:8: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:9: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:20: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
private HttpServletRequest request;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:21: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
private HttpServletResponse response;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:45: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
public void setRequest(HttpServletRequest request) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:54: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
public HttpServletRequest getRequest() {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:90: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
public HttpServletResponse getResponse() {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:99: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
public void setResponse(HttpServletResponse response) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\permissions\ValuePermission.java:6: package com.sap.engine.lib.logging does not exist
import com.sap.engine.lib.logging.LoggingHelper;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\ISSOSession.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\ISSOSession.java:24: cannot find symbol
symbol: class HttpSession
public interface ISSOSession extends HttpSession
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:6: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:7: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:68: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.session.SessionFactory
public abstract ISSOSession getSSOSession (HttpServletRequest req,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:69: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.session.SessionFactory
HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:29: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:30: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:31: package iaik.asn1 does not exist
import iaik.asn1.ObjectID;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:32: package iaik.pkcs does not exist
import iaik.pkcs.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:376: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public abstract X509Certificate getSignerCertificate()
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:453: cannot find symbol
symbol : class PKCSParsingException
location: class com.sap.security.api.ticket.TicketVerifier
PKCSParsingException,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class Name
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:510: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static boolean verifyCertificate (X509Certificate[] certs, X509Certificate test, boolean verifyChain)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:510: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static boolean verifyCertificate (X509Certificate[] certs, X509Certificate test, boolean verifyChain)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:570: cannot find symbol
symbol : class Name
location: class com.sap.security.api.ticket.TicketVerifier
public static Name newName(String country, String loc, String org, String orgUnit, String commonName) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:8: package javax.xml.soap does not exist
import javax.xml.soap.SOAPMessage;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:82: cannot find symbol
symbol : class SOAPMessage
location: interface com.sap.security.api.umap.IUserMappingData
public void enrich (SOAPMessage msg)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:82: enrich(java.util.Properties) is already defined in com.sap.security.api.umap.IUserMappingData
public void enrich (SOAPMessage msg)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\UMFactory.java:26: package com.sap.engine.lib.logging does not exist
import com.sap.engine.lib.logging.LoggingHelper;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:42: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer = new INTEGER (2);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:43: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.secudePSE
static ObjectID oid = new ObjectID ("1.2.840.113549.3.7", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:44: cannot find symbol
symbol : class OCTET_STRING
location: class com.sap.security.api.keystore.secudePSE
static OCTET_STRING os = new OCTET_STRING (new byte [] { 0x00, 0x00,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:48: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.secudePSE
static PrintableString user = new PrintableString ("SYSTEM");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:49: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer2 = new INTEGER (1);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:50: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
static SEQUENCE oidseq = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:88: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.secudePSE
SET set= new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:88: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.secudePSE
SET set= new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:89: cannot find symbol
symbol : class UTCTime
location: class com.sap.security.api.keystore.secudePSE
UTCTime utc= new UTCTime ("020101000000Z");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:89: cannot find symbol
symbol : class UTCTime
location: class com.sap.security.api.keystore.secudePSE
UTCTime utc= new UTCTime ("020101000000Z");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:90: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE outerSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:90: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE outerSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:91: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE otherSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:91: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE otherSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:111: cannot find symbol
symbol : variable DerCoder
location: class com.sap.security.api.keystore.secudePSE
DerCoder.encodeTo (outerSequence, os);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:171: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.secudePSE
pklist.addCertificate (new X509Certificate (new FileInputStream (args[1])));
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:198: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.PKListImpl
private static ObjectID pkloid = new ObjectID ("1.3.36.2.6.1", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:230: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE s = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:230: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE s = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:231: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.PKListImpl
PrintableString str = new PrintableString (name);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:231: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.PKListImpl
PrintableString str = new PrintableString (name);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:232: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.PKListImpl
SET ss = new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:232: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.PKListImpl
SET ss = new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:240: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE cert = (SEQUENCE)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:240: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE cert = (SEQUENCE)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:241: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.PKListImpl
((X509Certificate)certs.get (keys.nextElement())).toASN1Object();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:258: cannot find symbol
symbol : variable DerCoder
location: class com.sap.security.api.keystore.PKListImpl
return DerCoder.encode (asn);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\permissions\ValuePermission.java:28: cannot find symbol
symbol : variable LoggingHelper
location: class com.sap.security.api.permissions.ValuePermission
private static Category cat = Category.getCategory(LoggingHelper.SYS_SECURITY, "Usermanagement");
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Regards,
Narahari -
Specific SC Dependency for using KM API in Web Dynpro DC
Hi,
I want to use KM API in my Web Dynpro DC.
Currently, I have created it as Local DC and I am using External Lib DC to make use of JARs required for KM APIs.
So my question->
While doing it in NWDI track, is there any special KM specific SC dependency I should include in my track?
Or just standard dependecies (SAP-JEE, SAP_BUILDT, SAP_JTECHS) would be sufficient?
Thanks and regards,
Amey MogareHi Amey,
Since you have created an external library DC for the jars, Just add all this jars to public part and use this public part in the required DC.
You have to add the following sharing referece to ur project (which is used at runtime).
Go to webdynpro refernces>sharing references in properties of webdynpro project
Add PORTAL:sap.com/com.sap.km.application
No need to add any SC dependency, the standard dependecies would be sufficient
For more information pls go through this blog
/people/rohit.radhakrishnan/blog/2005/05/27/uploading-files-to-km-repository-using-webdynpro-apis
Hope this helps you..
Regards,
Saleem -
Set Security Question & Answer using UME API in Web dynpro Java
Hi Experts,
I;ve developed a Web Dynpro java application to create a user in UME.
I am able to set all the user account related attributes but I am not able to set the security question and answer as I do not see any attribute for the same.
Can anyone please suggest how to set the Security question and answer in UME?
This is required so that if the user wishes to reset his password / forgets password, we can ask him the security question which he selected at the time of registration.
Please let me know if it can be achieved at the code level and whether UME API supports security question and answer or any such attribute.
Also, if no such attribute is present by default in UME at the moment; can we create/configure some custom attributes in UME and store the security question and answer into those attributes. This would serve our purpose.
Kindly assist.
Regards,
AnuragHi,
Thanks a lot for the reply!!!
I have one doubt here:
You've mentioned the below code to fetch the security questions in your reply:
IUser user = WDClientUser.getCurrentUser().getSAPUser();
String CUSTOMER_NAMESPACE = "com.sap.security.core.usermanagement";
String attmotname [] = user.getAttribute(CUSTOMER_NAMESPACE,"MotherName");
String attlucknum [] = user.getAttribute(CUSTOMER_NAMESPACE,"LuckyNumber");
String attmobnum [] = user.getAttribute(CUSTOMER_NAMESPACE,"MobileNumber");.
But this would be only applicable when the user has already logged on to the portal as it uses "WDClientUser.getCurrentUser().getSAPUser();" code.
On the contrary, I want the security questions and answer to be accessed even when the user is not logged on to Portal so that based on the question & answer, the user can reset his password.
Please suggest, how can we achieve this and where and how to set the custom attributes for the same?
Do we have to set the Publicly Viewable Custom Attributes present at location you mentioned in your reply?
Also, if yes; please let me know how to set the custom attributes?
Thanks & Regards,
Anurag -
Using Room API inside Web DynPro
Hello,
I've developed a Web DynPro Application which uses the Room API of the KMC.
Unfortunately I can not set the Service Reference variable "com.sap.netweaver.coll.shared" as mentioned in the guide.
A Deploy Exception will be thrown ("Missing Arguments...")
If i do not set this variable the following Exception will be thrown:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.xy.demo.kmc.room.RoomManagerView. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:487)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:524)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
... 31 more
Caused by: java.lang.NoClassDefFoundError: com/sap/ip/collaboration/room/api/IRooms
at com.xy.demo.kmc.room.wdp.InternalRoomManagerView.<init>(InternalRoomManagerView.java:97)
... 36 more
Greetings
FlorianHi Valery,
thanks for the reply.
I have feared that you say exactly this.
First I have to mention that I of course added the reference variable at the right place (the entry has successfully added to the portalapp.xml)
I looked to the services and do NOT find anything about "com.sap.netweaver.coll.shared" so my next question is:
Where to get it and how to deploy it? -
How to print PDF files using java print API
Hi,
I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.
Thanks in advanceMike,
Can't seem to get hold of the example described in your reply below. If you could let us have the URL to get then it would be great.
My GUI application creates a pdf document which I need to print. I want to achieve this using the standard Java class PrinterJob (no 3rd party APIs I'm afraid, commercial restraints etc ..). I had a stab at it using the following code. When executed I get the pretty printer dialog then when I click ok to print, nothing happens!
boolean showPrintDialog=true;
PrinterJob printJob = PrinterJob.getPrinterJob ();
printJob.setJobName ("Contract.pdf");
try {
if (showPrintDialog) {
if (printJob.printDialog()) {
printJob.print();
else
printJob.print ();
} catch (Exception PrintException) {
PrintException.printStackTrace();
Thank you and a happy new year.
Cheers,
Chris -
Header in pdf overlaping body of pdf doc:using fop
I'm generating PDF file with FOP, but my header contents are not fixed, they keep on changing with each report and with each locale of browser.
Because of this my static width / height setting like
margin-top="0.25in"or
margin-top="0.95in"is failing for some reports, i.e my header is overlapping with body contents.
Is there a generic solution which can fix this?
More details:
Header of pdf is overlapping on the contents of body of pdf, because of which I am not able to see my top contents in my body of pdf document.
I want to way by which ,if header contents are increased then body should start after the layout of header.
But in pdf api it is required to set:
<fo:region-body margin-top="1.25in" margin-bottom="0.50in" />
<fo:region-before extent="1.25in"/>
<fo:region-after extent="0.50in"/>which is causing problem bec. when my text in header increases beyond 1.25in which is specified in
<fo:region-body margin-top="1.25in"then in that case header text overlapps body text.When you distribute a form using the distribute process, Acrobat replaces whatever code you placed in the button with its own. You do not need to use the distribution process to set this up. Instead, Reader-enable the form and your button should work like you want.
-
Problem with number-fields in PDF Output Using FOP
When generating PDF Output using FOP as described in the utilitiy provided in the HTMLDB Studio http://htmldb.oracle.com/pls/otn/f?p=18326:44:12104450162492733947::::P44_ID:1522
formatted numbers over 1,000 are resolved as characters (because of the comma) and are therefore right justified. This results in alignment issues for numeric columns.
Does anyone have any ideas on how to work around this.
Thanks,
DavidHello,
Your probably going to have to edit the xslt to get the result either by stripping out the comma or by setting that column to explicitly align the way you want it.
Carl -
Display pdf file using webdynpro abap
Hi Friends,
My requirement is to display pdf file in the second page with the input text entered in the fisrt page when clicked on action
button( in the first page) using webdynpro abap.
Can anybody explain the step by step procedure as I am new to this area.
Thanks in advance.
Reagrds,
NagarajuHi,
Check this.,
Creating a PDF file in webdynpro abap.
Web Dynpro ABAP display pdf
hope this helps u.,
Thanks & Regards
Kiran -
How to generate PDF file from HTML file using Acrobat API's
Hi,
I want to generate a PDF file from an HTML file on server side(C# .Net).
Their is a COM interop called "AcrobatWeb2PDF" availaible but could not find any document regarding how to use it.
I cant use "Adobe live cycle PDF Generator" as we just have license for Adobe Acrobat 8 Professional.
Please help...
Thanks and Regards,
Anand Mahadik.> It is hard to believe that Adobe doesn't provide a toolkit for generating PDF files, so many web based applications have vector based content that needs to be converted to PDF!!!!
They do, it's just not free (A company in business to make money? I'm sure IBM would never think this way... ;)). As mentioned you have Adobe LiveCycle PDF Generator, which you can customize and extend with Java. You also have the Adobe PDF Library SDK, which is written for use with C/C++ although if you license it from Datalogics (the only company in NA Adobe allows to license the PDF Library) you will also get .NET and Java interfaces (part of the DLE - DataLogics Extensions).
> There must be a way to generate PDF dynamically on a server or from Javascript!
JavaScript? Not really, no. As far as I'm aware JavaScript has no file system access capabilities without some form of intermediary (like sending the data to a webservice that writes it out to file). How would you create a PDF file with JavaScript?
The PDF Standard is also in ISOs hands now (ISO 32000-1:2008), it is no longer owned by Adobe - you can download a copy of the specification from them and write your own library based on that as well. -
Dots are appearing on characters after created PDF through *.dwg file using AutoVue API
Hi,
I created PDF's through *.dwg file using AutoVue API 20.2.2. I observed in more zoom of PDF, every character or line has dots. At the same time on second page of PDF drawing lines are thicker that first page of PDF.
Please kindly help on this, how to remove dots and drawing lines are published same as on first page.
Thanks,
SivaAs with any format that does not support zoomable line thickness, the output is dpi dependent
Imagine the DPI impact on a PDF is similar to the DPI on an image, except you can zoom into the lines, they look smooth (it is vector) but the position for the specific points is not as accurate as it should
So it all boils down to how are you generating the PDF?
Maybe you are looking for
-
I can't update my itunes software. I get an error.
I can't update my
-
Hi, I've been using Elements 9 for some years now, without too many mishaps. However, recently any images that I upload are not being shown in the Organiser as "thumbnails" ; all that I get is the egg-timer going round and round and a message at the
-
Operating system support (standard and enterprise ) in OBIEE 11g
Hi Can any one help me in whether OBIEE 11g installation will be possible in both standard & enterprise edition operating system of windows server 2003 and windows server 2008 or not. Thanks in advance.
-
Fiscal Calendar in Report Variant Dynamic Date Calculation
We are switching from the standard calendar to a 4/4/5 calendar for our fiscal calendar. We have a number of batch reports that use dynamic date calculation in the variant to get Month-To-Date or Previous Month date ranges. Is there a way to convert
-
Had some difficulty updating to 4.0. In the process popped up on my desktop were multiple icons and update buttons. How do I confirm I have succeeded in installing 4.0? Firefox continues to remind me to update to 4.0? Can't Firefox "see" I have updat