Error while converting OTF to PDF
Hi All,
I am getting an error when i am trying to convert smartform to PDF.
the error is :
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_
not caught in
procedure "USER_COMMAND" "(FORM)", nor was it propagated b
Since the caller of the procedure could not have anticipat
exception would occur, the current program is terminated.
The reason for the exception is:
The call to the function module "/1BCDWB/SF00001293" is in
The function module interface allows you to specify only
fields of a particular type under "JOB_OUTPUT_OPTIONS".
The field "T_OTFDATA" specified here is a different
field type
please tell me how to solve this?
Hi,
I will tell you the steps to follow. Check if you have done it in the same way.
1. Call the FM for smartforms. The imoirting parameters should contain t_otf_from_fm of the TYPE ssfcrescl ( you have used a diff declaration i guess).
2. Move this work are into an internal table say IT_1 of type itcoo .
3. Call the FM " CONVERT_OTF ", by passing the parameters as
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = w_bin_filesize
TABLES
otf = t_otf
lines = t_pdf_tab
4. You could then call the method CALL METHOD cl_gui_frontend_services=>file_save_dialog to save this PDF to your desktop
Let me know if you have followed this.
Cheers
Similar Messages
-
Error while converting Image -to- PDF and then to PDF/A
Hi,
I'm trying to convert a Image format(JPEG,bmp,tiff) to PDF and then to PDF/A. I could able to convert Image to PDF successfully.
I'm getting the below error while converting the PDF(that was generated) to PDF/A.
Caused by: com.adobe.livecycle.output.exception.OutputException: Input Document is a already flat PDF Document
at com.adobe.printSubmitter.PrintServer.transformPDF(PrintServer.java:307)
at com.adobe.printSubmitter.service.OutputServiceImpl.transformPDFInTxn(OutputServiceImpl.ja va:518)
at com.adobe.printSubmitter.service.OutputServiceImpl$4.doInTransaction(OutputServiceImpl.ja va:481)
... 106 more
Error OCCURRED: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.
Please give me the solution to convert PDF to PDF/A?I've just read a footnote in the API documentation which indicates that the transformPDF function cannot be used for this purpose:
"GS_Enterprise said on Nov 24, 2007 at 12:03 PM :
Please note that the parameter "inPdfDoc" for transformPDF assumes that the stream content is an XFA-based PDF, and that it's not an XFA-based PDF with a PDF background (also known as "XFA foreground"). In other words, this function does not convert any input PDF to PDF/A, but only those PDFs generated from an XFA template which does not include any static PDF content as a background." -
Error - While converting Smartform to PDF and send in Email
HI all,
I am getting error while opening the PDF file. i searched in SDN but I am not able to figure out what is the correct issues.
Please find the piece of code.
* Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = ls_jobout_info-otfdata[].
* Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
** max_linewidth = 134
max_linewidth = 132
IMPORTING
** bin_file = ts_file
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
* Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
DATA:
* gv_bin_filesize TYPE i, " Store the file size
gv_pos TYPE i,
gv_len TYPE i,
gv_tab_lines TYPE i.
CLEAR : gs_objbin, gs_pdf_tab.
LOOP AT gt_pdf_tab INTO gs_pdf_tab.
gv_pos = 255 - gv_len.
IF gv_pos > 134. "length of pdf_table
gv_pos = 134.
ENDIF.
gs_objbin+gv_len = gs_pdf_tab(gv_pos).
gv_len = gv_len + gv_pos.
IF gv_len = 255. "length of out (contents_bin)
APPEND gs_objbin TO gt_objbin.
CLEAR: gs_objbin, gv_len.
IF gv_pos < 134.
gs_objbin = gs_pdf_tab+gv_pos.
gv_len = 134 - gv_pos.
ENDIF.
ENDIF.
ENDLOOP.
IF gv_len > 0.
APPEND gs_objbin TO gt_objbin.
ENDIF.
* Filling the details in SAPoffice: Description of Imported Object Components table
DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
CLEAR gs_objbin.
READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
IF sy-subrc = 0.
gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
gs_objpack-transf_bin = 'X'.
gs_objpack-head_start = 1.
gs_objpack-head_num = 0.
gs_objpack-body_start = 1.
gs_objpack-body_num = gv_tab_lines.
gs_objpack-doc_type = 'PDF'.
gs_objpack-obj_name = l_title.
gs_objpack-obj_descr = w_output-tdtitle.
APPEND gs_objpack TO gt_objpack.
ENDIF.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = p_doc_chng
put_in_outbox = 'X'
sender_address = p_w_sender
sender_address_type = 'INT'
TABLES
packing_list = p_objpack
** object_header = p_objhead
contents_bin = p_objbin
** contents_txt = p_objtxt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = p_reclist
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
kindly help...email is coming but when i tried to open the PDF file, error saying, " There is error opening a file. thie file is damages and cannot be opened'
thanksHI all,
I am getting error while opening the PDF file. i searched in SDN but I am not able to figure out what is the correct issues.
Please find the piece of code.
* Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = ls_jobout_info-otfdata[].
* Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
** max_linewidth = 134
max_linewidth = 132
IMPORTING
** bin_file = ts_file
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
* Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
DATA:
* gv_bin_filesize TYPE i, " Store the file size
gv_pos TYPE i,
gv_len TYPE i,
gv_tab_lines TYPE i.
CLEAR : gs_objbin, gs_pdf_tab.
LOOP AT gt_pdf_tab INTO gs_pdf_tab.
gv_pos = 255 - gv_len.
IF gv_pos > 134. "length of pdf_table
gv_pos = 134.
ENDIF.
gs_objbin+gv_len = gs_pdf_tab(gv_pos).
gv_len = gv_len + gv_pos.
IF gv_len = 255. "length of out (contents_bin)
APPEND gs_objbin TO gt_objbin.
CLEAR: gs_objbin, gv_len.
IF gv_pos < 134.
gs_objbin = gs_pdf_tab+gv_pos.
gv_len = 134 - gv_pos.
ENDIF.
ENDIF.
ENDLOOP.
IF gv_len > 0.
APPEND gs_objbin TO gt_objbin.
ENDIF.
* Filling the details in SAPoffice: Description of Imported Object Components table
DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
CLEAR gs_objbin.
READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
IF sy-subrc = 0.
gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
gs_objpack-transf_bin = 'X'.
gs_objpack-head_start = 1.
gs_objpack-head_num = 0.
gs_objpack-body_start = 1.
gs_objpack-body_num = gv_tab_lines.
gs_objpack-doc_type = 'PDF'.
gs_objpack-obj_name = l_title.
gs_objpack-obj_descr = w_output-tdtitle.
APPEND gs_objpack TO gt_objpack.
ENDIF.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = p_doc_chng
put_in_outbox = 'X'
sender_address = p_w_sender
sender_address_type = 'INT'
TABLES
packing_list = p_objpack
** object_header = p_objhead
contents_bin = p_objbin
** contents_txt = p_objtxt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = p_reclist
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
kindly help...email is coming but when i tried to open the PDF file, error saying, " There is error opening a file. thie file is damages and cannot be opened'
thanks -
Error while converting RTF to PDF
Hi,
I have got a requirement to convert .rtf file to .pdf file while downloading. The .rtf file is in application server. I have used the FM CONVERT_RTF_TO_ITF to convert to ITF format. After this I am using the FM CONVERT_OTF to convert it to pdf format. But in this step I m not getting the pdf format file. I am getting an exception 'ERR_BAD_OTF'. Is there any other step in between after converting to .itf format and convert_otf. Can any one please help me on this.
Thanks & Regards,
Rama.Hi,
Use the FM's in the following order :
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lc_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION v_fm_name
EXPORTING
IMPORTING
job_output_info = gt_job_output
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = v_bin_filesize
TABLES
otf = gt_job_output-otfdata -
Fatal error while converting doc to pdf
While Adobe Acrobat 7.09 converted a rather simple (albeit long) Word 2003 document, I received the following fatal error message during the "Processing for Tag Information" stage of Acrobat PDFMaker.
MS Visual C++ Debug Library
Program: WINWORD.EXE
Module:Reader For RTF.smrd
File: <blank>
Run-Time Check Failure #3 - The variable bNewRowExpectedBeforeFootNote is being used without being defined
Abort Retry Ignore
"Retry" dumps both applications.
"Ignore" re-displays the error, each time with other variables; "iTableLeftBeforeFootNote",
"iTableGapBeforeFootNote",
"bFirstElementSentBeforeFootNote",
"bRowHeightBeforeFootNote"
and then continues processing, until this same cycle repeats itself several more times before the "Processing for Tag Information" finally completes.
If the error is "IGNORED" enough, the conversion will complete. However I have not assessed the resulting pdf for usability.From what I understand of tagging, it just provides markup in the PDF to indicate where WORD put a paragraph or other format aspect. Thus the saving back to a WORD file is easier. Other than that, I do not think that tags are used for much, except possibly accessibility. I usually just print to the Adobe PDF printer for my needs, but I do not have links and such that are critical for transfer to the PDF. The thing to remember is that tags really bloat the PDF, and you just do not have the memory to deal with that. Unless tagging or other PDF Maker features are important to your need, then it may be best to turn them off. One thing I would suggest leaving in is the embedding of all fonts as subsets.
Don't know that I helped much or even got it all correct, but maybe that is what you wanted to know. Bill -
The below Error occurs while converting Word to PDF using GeneratePDFService(Webservices)
Message
"ALC-DSC-801-000: com.adobe.idp.dsc.pool.service.impl.ServicePoolDoesNotExistException: Pool for service id GeneratePdfService, major version 1 and minor version 1 does not exist"
When I am debugging, i can debug till convertPDF2() and it jumps to catch after there.How to overcome this?
Any help is highly appreciated.
Thanks,
Praveen.Looks like a configuration issue. Please re run the configuration manager. Also test the PDFG conversion in adminui.
-Wasil -
Problem while Converting TiFF to PDF using OCR
Hi,
We have installed Adobe LiveCycle8.2 PDF Generator ES trail version, Acrobat Pro Extended 9.0.
OS: Windows XP Service Pack3,
App Server: WebSphere 6.1.0.19
DB: SQL Server 2005 SP2.
We are getting following error while converting TIFF images to PDF Using OCR.
Error message on AdminUI screen:
"Error Code:1000
Error Message: ALC-PDG-001-000-Conversion failed because of an exception. Connection to failed service."
Error messages in server log file:
[10/10/08 18:16:50:015 IST] 00000043 ProcessResour W com.adobe.service.ProcessResource$ErrorReaderThread run BMC024: Service Native2PDFSvc: Process ProcessResource(name=pdfgen.exe,pid=0) terminated abnormally with error code {3}
[10/10/08 18:16:50:218 IST] 00000035 ProcessResour A com.adobe.service.ProcessResource startProcess BMC505: Service Native2PDFSvc: Starting native process with command line "C:\\Program Files\\ibm\\WebSphere\\AppServer1\\profiles\\AppSrv01\\installedApps\\HDDLGSDMNK8897Node0 1Cell\\adobe\\server1\\Native2PDFSvc\\bin\\dll\\pdfgen.exe" PDF-NAf6c310002 -beginExecutable "C:\\Program Files\\IBM\\WebSphere\\AppServer1\\java\\jre\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-appmon.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-appmondata.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-bslj.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-csa.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-generatepdf-client.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-common-jaxb.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-common.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-commonbmc.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-idl-bmc-websphere.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-idl-bmc.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-utilities.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/avalon-framework-4.1.5.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/comfyj-2.4.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jacorb.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-api.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-impl.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-libs.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jniw2.9.5_acrobat1.1.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01CeError message continuation:
[10/10/08 18:16:50:296 IST] 00000044 SystemOut O Command line '"C:\Program Files\IBM\WebSphere\AppServer1\java\jre\bin\javaw.exe"'
[10/10/08 18:16:50:437 IST] 00000035 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "doRequiresNew" on bean "BeanId(LiveCycle8#adobe-dscf.jar#EjbTransactionBMTAdapter, null)". Exception data: java.lang.IllegalStateException: Connection to failed service.
at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:87)
at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFa ctoryManagerPeer.java:79)
at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactor yManagerPeerImpl.java:84)
at com.adobe.service.ConnectionFactoryRmiAdapter.getConnection(ConnectionFactoryRmiAdapter.j ava:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1123)
at $Proxy80.getConnection(Unknown Source)
at com.adobe.service._ConnectionFactoryRemote_Stub.getConnection(_ConnectionFactoryRemote_St ub.java:58)
at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.convertToPdf(NativeToPDFTransacti onCallback.java:185)
at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.doInTransaction(NativeToPDFTransa ctionCallback.java:163)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
at com.adobe.pdfg.BMCCaller.invokeInSMT(BMCCaller.java:769)
at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:779)
at com.adobe.pdfg.Native2PdfCaller.createPDF(Native2PdfCaller.java:298)
at com.adobe.pdfg.GeneratePDFImpl.createPDFCommon(GeneratePDFImpl.java:342)
at com.adobe.pdfg.GeneratePDFImpl.createPDF(GeneratePDFImpl.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:102)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.aes.web.create.CreatePDFAct.createPDF(CreatePDFAct.java:383)
at com.adobe.aes.web.create.CreatePDFAct.createPDF2(CreatePDFAct.java:402)
at com.adobe.aes.web.create.CreatePDFAct.execute(CreatePDFAct.java:174)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.adobe.aes.web.AesActionServlet.service(AesActionServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.adobe.idp.um.auth.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:154)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214) -
Error while converting class file to exp and jca file
error while converting *.class file to *.exp and *.jca file
=====================================================================================================================
linux-y60u:/home/admin/java_card_kit-2_2_1/samples/src # converter -exportpath "/home/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/HelloWorld 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
Java Card 2.2.1 Class File Converter, Version 1.3
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/HelloWorld.class
parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/Identity.class
error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file format of version 50.0.
error: com.sun.javacard.samples.HelloWorld.Identity: unsupported class file format of version 50.0.
conversion completed with 2 errors and 0 warnings.
=====================================================================================================================i compile a file javacard use this command:
===
javac -source 1.3 -target 1.1 -g -classpath ./classes:../lib/api.jar:../lib/installer.jar src/com/sun/javacard/samples/Identity/Identity.java
===
and try to convert this class use this command
===
/home/xnuxerx/admin/java_card_kit-2_2_1/bin/converter -exportpath "/home/xnuxerx/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/Identity 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
===
result convert:
===
Java Card 2.2.1 Class File Converter, Version 1.3
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
parsing /home/xnuxerx/admin/java_card_kit-2_2_1/samples/classes/com/sun/javacard/samples/Identity/Identity.class
converting com.sun.javacard.samples.Identity.Identity
error: export file framework.exp of package javacard.framework not found.
conversion completed with 1 errors and 0 warnings.
===
why ??
please your comment for this problem.
thank 4 all. -
Error while converting jad and jar to alx and cod files
hi all,
i am getting an error while converting jad and jar files into cod and alx files for balckberry.. here is the error i am getting.. can anyone help me this regard...
Parsing classfile: txtCanvas.class
I/O Error: Import file not found: d:\Research In Motion\BlackBerry JDE4.6.0\lib\
net_rim_api.jar
thanks in advacne
pallavithank you very much for your responses. can i send my cod and alx files to check. if you are interested only.
here is the command which i used to convert my jad and jar files
D:\Research In Motion\BlackBerry JDE 4.6.0\bin>rapc import="d:\Research In Motio
n\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" codename=MoBilalMIDlet -midlet jad=M
oBilalEnglish.jad MoBilalEnglish.jar -
Error while converting document to html
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
I use the procedure to convert the documents if it is not already converted before using procedure as follows
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
doccount number;
errorcode number;
errormessage varchar2(200);
BEGIN -- executable part starts here
SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
--dbms_output.put_line(doccount);
if doccount=0 then
dbms_output.put_line('Document Not Found: Converting '||docid);
--If document is not found run document coversion routine
ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
COMMIT;
elsif doccount=1 then
--return;
dbms_output.put_line('Document Found');
--if document id found then return the document content
null;
else
--dbms_output.put_line('Error occured');
--need to deal with duplicate documents
null;
end if;
dbms_lob.freetemporary(mklob);
EXCEPTION
--rollback when an exception occurs
WHEN OTHERS THEN
errorcode:=SQLCODE;
errormessage:=SQLERRM;
dbms_output.put_line(sqlcode || ':' ||sqlerrm);
ROLLBACK;
LOGERROR(errorcode,errormessage);
END "HTMLOUTPUT";
i get the error when i convert large documents
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
Also if there are any converion errors while converting documents to html. how to find them is there a log o fany sort.
what is wrong. please help!
Message was edited by:
connect2sandeepYou free your temporary lob, but never create it.
-
Error while converting schema from oracle to SQL server
Hello,
I am getting following error while converting schema from oracle to SQL server using SSMA.
I get Errors 1-3 while migrating procedures and error 4 while migrating a table.
1- O2SS0050: Conversion of identifier 'SYSDATE' is not supported.
2- O2SS0050: Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.
3- O2SS0050: Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported.
4- O2SS0486: <Primary key name> constraint is disabled in Oracle and cannot be converted because SQL Server does not support disabling of primary or unique constraint.
Please suggest.
Thanks.The exact statement in oracle side which causing this error (O2SS0050:
Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
dStartDate:= to_date(sStartDate,'MON-YYYY');
Statement causing error O2SS0050:
Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
nCount2:= length(regexp_replace(sDataRow,'[^,]'));
So there is no statement which is using to_date(VARCHAR2,
CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY' and '[^,]'
are CHAR values hence SSMA is unable to convert it from varchar2 to char.
Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
dDate date := sysdate;
Thanks. -
What are methods for converting otf to pdf format in sap script
Hi,
I have a requirement in script i have to convert that that otf file to pdf format,when i use function modules its corrupting that pdf file,So i want convert otf to pdf using class method any one can help me for that.If any sample coding for class method.
Thanks.ok
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
* max_linewidth = 255
IMPORTING
bin_filesize = lv_bin_filesize
* bin_file = pdf_xstring
TABLES
otf = lt_otf
lines = lt_pdf_table
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = lv_bin_filesize
filename = c_name
filetype = 'BIN'
* APPEND = ' '
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* VIRUS_SCAN_PROFILE = '/SCET/GUI_DOWNLOAD'
* IMPORTING
* FILELENGTH =
TABLES
data_tab = lt_pdf_table
* FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
TRY.
GET PARAMETER ID 'RECEIPTENT' FIELD lvs_recipient1.
send_request = cl_bcs=>create_persistent( ).
* lt_attach_bin = cl_document_bcs=>xstring_to_solix( ip_xstring = lt_solix ).
APPEND 'Test message' TO lt_text.
l_sub_50 = lc_test1.
document = cl_document_bcs=>create_document( i_type = 'RAW'
i_text = lt_text
i_subject = l_sub_50 ).
document->add_attachment( i_attachment_type = 'PDF'
i_attachment_subject = 'script.pdf'
i_att_content_hex = lt_attach_bin ).
l_sub_line = lc_test1.
TRY.
* Build subject line for email.
CALL METHOD send_request->set_message_subject
EXPORTING
ip_subject = l_sub_line.
CATCH cx_send_req_bcs INTO loref_obj_error.
PERFORM sub_catch_error1 USING loref_obj_error.
ENDTRY.
send_request->set_document( document ).
* sender = cl_cam_address_bcs=>create_internet_address( '[email protected]' ).
recipient1 = lvs_recipient1-objkey.
recipient = cl_cam_address_bcs=>create_internet_address( '[email protected]' ).
* send_request->set_sender( sender ).
send_request->add_recipient( i_recipient = recipient
i_express = 'X' ).
sent_to_all = send_request->send( i_with_error_screen = 'X' ).
COMMIT WORK.
CATCH cx_bcs INTO bcs_exception.
MESSAGE 'eee' TYPE 'S'.
EXIT.
ENDTRY. -
While converting spool to PDF marathi character shown as symbolic in PDF
Hi guys,
I have requirement to send payslip via mail.i have developed program everything working well.get payslip,create spool and convert spool to pdf is working well.But issue is while converting spool into PDF then marathi character display like special symbols in PDF (in payslip emp.name , emp location,designation,department are in Marathi).
code as follow,
CALL FUNCTION 'GET_PAYSLIP'
EXPORTING
EMPLOYEE_NUMBER = WA-PERNR
SEQUENCE_NUMBER = WA_PC261-SEQNR
PAYSLIP_VARIANT = FORMULAR " 'ZN01'
IMPORTING
RETURN = RETURN
P_INFO = PINFO
TABLES
P_FORM = PFORM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_ESS_PAYSLIP_TO_PDF'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = FNAME.
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SF_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
SF_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
SF_OUTPUT_OPTIONS-TDNEWID = 'X'.
SF_CONTROL_PARAMETERS-LANGU = SY-LANGU.
SF_OUTPUT_OPTIONS-TDDEST = 'LP01'.
* SF_OUTPUT_OPTIONS-tdprinter = 'PDFUC'.
CALL FUNCTION FNAME "'/1BCDWB/SF00000499'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = SF_CONTROL_PARAMETERS
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = SF_OUTPUT_OPTIONS
USER_SETTINGS = ''
PINFO = PINFO
PFORM = PFORM
IMPORTING
* DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = JOB_OUTPUT_INFO
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 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.
IF JOB_OUTPUT_INFO-SPOOLIDS IS NOT INITIAL.
LOOP AT JOB_OUTPUT_INFO-SPOOLIDS INTO LV_SPOOL.
EXIT.
ENDLOOP.
REFRESH IT_TY_TAB_PDF.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = LV_SPOOL
NO_DIALOG = ' '
TABLES
PDF = IT_TY_TAB_PDF
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
APPEND LINES OF IT_TY_TAB_PDF TO IT_TY_TAB_PDF1..
Please guys help on this issue.its urgent.i am doing this...
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = l_spool_nr1
no_dialog = 'X'
dst_device = 'LOCL'
IMPORTING
pdf_bytecount = l_bytecount
LIST_PAGECOUNT = l_page1
TABLES
pdf = itab_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
now l_bytecount stores the total number of bytes in the internal table itab_pdf_output. The value of this differs when i run in foreground nad background seperately -
Error while converting Ship-to-party to Sold-to-party
Hi,
I need to covert a Ship-to-party to Sold-to-party using transaction XD07. While converting the above i m getting the following error
The planned change is not allowed as the following field
groups would be masked by the new account group
Group Modif group 1
V D315 Shipping 017 Order combination
When i checked the difference between account groups Sold-to and Ship-to, it was the Order combination field in Shipping tab which was suppressed in Sold-to party and an optional entry in Ship-to-party. because of which i was getting the error while converting a ship-to party to sold to party.
Please help me in transforming the Ship-to-party to Sold-to-party without changing the account groups in OBD2.
Thank you,
Arun.SHi
I am not able to convert any partner functions. the system displays the below error for all combinations (SP --> SH, SP --> PY, SH --> SP etc). Below is the error message i got whe i tried to change SP to SH.
The planned change is not allowed as the following field
groups would be masked by the new account group
Group Modif group 1
A D120 Control 017 Vendor
018 Corporate group
023 Industry
029 Authorization
036 Trading partner
A D130 Payment transactions 030 Bank details
032 Alternative payer account
F D215 Payment transactions 010 Payment methods
011 Alternative payer account
Is there any way to avoid this error and go ahead with the conversion.
Thank you,
Arun.S -
Error while converting smartform output to pdf
hi
while converting smartform output to pdf error occured otf data not founr.
regarding code is as follows:
otfitab = i_job_output_info-otfdata.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
bin_filesize = l_pdf_len
TABLES
otf = otfitab
doctab_archive = t_docs_tab
lines = pdfitab
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
rest all declarations are up to date.
thanks in advance..........Hi Mayank,
I am not sure if u know this already, we can convert the spool ouput to PDF
by using the program RSTXPDFT4.
Regards,
Vivek
Maybe you are looking for
-
I have typed in email addresses into Contacts, but when I try to do an email, most of them have an exclamation mark and won't let me send! Where am I going wrong ? It is really sapping my confidence!
-
Just updated to IOS 7 on iPhone 5 and no longer have iTunes
I downloaded and installed IOS 7 (sorry I did) and now I no longer have an Icon for Itunes. I have one for the store, but not one for the app that should reside on my phone.
-
Scanner does not show up in PSE 9
I've used Photoshop Elements 5 for several years and my Microtek Scanner always appeared as a choice under the "import" menu. Now I spent money on this supposedly improved version of PSE, version 9, and there's NO TWAIN SCANNER. I have to scan throug
-
Java null pointer exception in Executing interface
I am using MS Access as source table. I am populating this data into oracle target table. when i execute the interface I get the following error in in the LKM. java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDri
-
Messages not processed from IP_OUT_QUEUE
Hi all, I have enqueued the message to IP_OUT_QUEUE and consumer as B2BUSER. Still the message are not getting processed from the Queue. From the b2b.log, I see the following statements "***B2BListen turned off, will not listen on IP_OUT_QUEUE for me