Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus
Hi BSP experts,
Any Experts have solutions for below.
We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
The scenario is like this: The PDF is getting called the via URL:
The code is like this
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE runtime->application_url '/' guid '.pdf' INTO URL.
<u><b>This URL is called in the front end LAYOUT.</b></u>
<iframe src="<%= URL %>" width="100%" height="600px">
</iframe>
you missed one question of mine <b>Do you create the PDF after creating the GUID ?</b>
try giving a fixed URL just to test.
Aman
Similar Messages
-
Getting the error while calling the report from oaf page
Dear all
when i am calling the report from oaf page
if (pageContext.getParameter("PrintPDF") != null)
DataObject sessionDictionary =
(DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response =
(HttpServletResponse)sessionDictionary.selectValue("HttpServletResponse");
try
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition", contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream =
new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
//Generate the PDF Report.
TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
"XXCRM", "XXCRM_EMP",
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF, null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
} catch (Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(false);
i am getting the error java.classcastexception at this line
DataObject sessionDictionary =
(DataObject)pageContext.getNamedDataObject("_SessionParameters");
regards
Sreekanthcheck if you have import oracle.cabo.ui.data.DataObject; in your import statement.
--Prasanna -
Error while calling the Mapping function module for BW Extraction
Hi
iam getting runtime error while calling the BW mapping function
The error description is as shown below.
Runtime Errors CALL_FUNCTION_UC_STRUCT
Except. CX_SY_DYN_CALL_ILLEGAL_TYPE
<b>Short text</b>
Type conflict during structure parameter transfer at CALL FUNCTION.
<b>What happened?</b>
Error in the ABAP Application Program
The current ABAP program "GP466CV1Y7W2VML1PJ3VB80KDOP" had to be terminated
because it has
come across a statement that unfortunately cannot be executed.
<b>Error analysis</b>
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "CALL_MAPPING_FUNCTION" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the function "CMS_CB_BW_MAP", the STRUCTURE parameter "EXTRACT_DATA" is
typed in such a way
that only actual parameters are allowed, which are compatible in Unicode
with respect to the fragment view. However, the specified actual
parameter " " has an incompatible fragment view.
I am passing the EXTRACT_DATA parameter as specification LIKE with the associated type - corresponding structure
Please let me know how can i resolve this issue
Regards
LeonDear benarji ,
I'm having the same problem help me to correct . I have mentioned below as what error i got.
Runtime Errors CALL_FUNCTION_UC_STRUCT
Except. CX_SY_DYN_CALL_ILLEGAL_TYPE
Short text
Type conflict during structure parameter transfer at CALL FUNCTION.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZDLROUTSTANDING_COPY" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "PDF" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the function "/1BCDWB/SF00000080", the STRUCTURE parameter "IT_WORKS_SF" is
typed in such a way
that only actual parameters are allowed, which are compatible in Unicode
with respect to the fragment view. However, the specified actual
parameter "SFTWORKS" has an incompatible fragment view.
Missing RAISING Clause in Interface
Program ZDLROUTSTANDING_COPY
Include ZDLROUTSTANDING_COPY
Row 876
Module type (FORM)
Module Name PDF
Trigger Location of Exception
Program ZDLROUTSTANDING_COPY
Include ZDLROUTSTANDING_COPY
Row 894
Module type (FORM)
Module Name PDF
Source Code Extract
Line SourceCde
864 ** i_logo = 'ENJOYSAP_LOGO'
865 * IT_LIST_COMMENTARY = I_LIST_COMMENTS1.
866
867 ENDFORM. "alv_top_of_page1
868 *&---------------------------------------------------------------------*
869 *& Form PDF
870 *&---------------------------------------------------------------------*
871 * text
872 *----------------------------------------------------------------------*
873 * --> p1 text
874 * <-- p2 text
875 *----------------------------------------------------------------------*
876 FORM pdf .
877
878 * *** Smartforms & PDF ***
879
880 ssfctrlop-no_dialog = 'X'.
881 ssfctrlop-preview = 'X'.
882 ssfctrlop-getotf = 'X'.
883 ssfcompop-tddest = 'ERP7'.
884 DATA : mcheck LIKE sy-subrc.
885 CLEAR : fm_name.
886
887 "Get Function module name for given smartform
888 CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
889 EXPORTING
890 formname = 'ZSFDLOS1'
891 IMPORTING
892 fm_name = fm_name.
893
>>>> CALL FUNCTION fm_name
895 EXPORTING
896 control_parameters = ssfctrlop
897 output_options = ssfcompop
898 mrefno = mrefno
899 * P_TITLE = MTITLE
900 IMPORTING
901 document_output_info = st_document_output_info
902 job_output_info = st_job_output_info " IT_OTF_DATA
903 job_output_options = st_job_output_options
904 TABLES
905 it_works_sf = sftworks
906 EXCEPTIONS
907 formatting_error = 1
908 internal_error = 2
909 send_error = 3
910 user_canceled = 4
911 OTHERS = 5.
912
913 IF sy-subrc NE 0.
Advance Thanks -
Error while calling the EAI Viewer
Dear all,
I am working on Document Management System ECC 6.00
I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when i try to open the same in the next PC it is opening. the work station application which i have defined is EAIWeb.webviewer2D.1 %SAP-CONTROL% for the application .pdf.
Kindly suggest what will be the problem as it is not opening in my PC but opening in an different PC with the same user name.
Kindly suggest.Hi Kishuz ,
ECL Viewer comes with SAP
It is Engineering client viewer, which works for files like *.jt(jupiter technology), *.pdf(acrobat), *.dwg(autocad), *.step, *.iges
with ECL viewer you can view files like dwg without having Autocad Installed on your machine.
Alos it gives redlining feature...
thus layers help in indicating the modifications needed or commenting on the drawings...
Now the procedure for installation,
1. Install the latest SUN JAVA version. The path could be <b>c:\program files\java\</b>
2. While installing SAP GUI, ensure that the ECL component is not selected from R/3 Add On.
4. Install ECL Viewer 5.1.2 on local machine.
5. Ensure the path is as follows :(C:\Program Files\Common Files\SAP Shared\System or C:\Program Files\Common Files\SAP Shared\System\Java )
6. Ensure that the following files are in the <b>c:\program files\java\1.5.0_08\lib\ext</b>
folder:
- VisWebS.jar,
- VisWeb.jar,
- eaisupport.jar,
- eaisupportS.jar
- version.ini
- vctk.ini
In case, please copy the mentioned files from <ECL Install DIR>\java.
(C:\Program Files\Common Files\SAP Shared\System or
C:\Program Files\Common Files\SAP Shared\System\Java )
Reward points if useful...
regards
Niranjan -
ERROR WHILE GENERATING THE PDF
HI gurus,
We are trying to publish BI reports in the Portal server as Iviews.
In the portal system, when I am clicking the PRINT VERSION button for the
CO cost center (area): Plan/actual: Quarterly iview, its giving the PDF file,
thats well and good.
<b>But when if I am doing the same thing for other iviews, for example: say the iview (COcost center range: Transaction Drill-down).
I am getting the ERROR WHILE GENERATING THE PDF</b>
The question is : <i>its working for some standard iviews and giving error message to other std. iviews.</i>
Please suggest how to resolve this issue.
Regards,
PrasadDear Prasad,
Did you resolve your problem, I have the similar one:
I need to print report made in BEx Report Designer and executed on Portal, but when I press Print Version button I am getting next message:
Error while generating PDF
Any information is much appreciated
Thanks in advance and best regards
Vladimir -
Insufficient privileges error while calling the seeded page on button click
hi all
I am working on Customers Online module.
I have added a normal button on a standard page through personalization .
The destination for the button is set to call the seeded Create organization page
destination="OA.jsp?OAFunc=XXIIMC_NG_ORG_CREATE&OAHP=IMC_NG_MAIN_MENU&OASF=IMC_NG_ORG_CREATE"
System Admin --> functions --> XXIIMC_NG_ORG_CREATE is a copy of standard function IMC_NG_ORG_CREATE.
It calls the page "OA.jsp?page=/oracle/apps/imc/ocong/party/organization/webui/ImcCreateOrg&HzPuiAddressEvent=CREATE"
When i click on the button i get the error *"You have insufficient privileges for the current operation. Please contact your System Administrator"*
1. The profiles *"FND Function Validation Level"* and *"FND Validation Level"* are set to NONE
2. Bounced apache also.
3. The responsibility Customers Online Superuser is assigned to my user.
We are doing R12 upgrade. The similar functionality is working fine in 11i.
Please let me know what could be the reason of this error and how to correct it.Hi,
Grant is not given to the create organization page. Ask your DBA for this issue.
Thanks,
Kumar -
Error while calling RFC when using BSP Web Interface
Hi,
we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
R_AREA
R_METHOD
R_PACKAGE
R_PARAM
R_PLEVEL
R_PM_NAME
R_PROFILE
R_STS_PT
R_STS_SUP
R_WEBITF
S_RS_ADMWB
S_RS_AUTH
S_RS_COMP
S_RS_COMP1
S_RS_DAS
S_RS_ICUBE
but we still get the error message: "Error while calling RFC".
When using a user with SAP_ALL, it works.
What can we do?
Thx for your time.
JoergActually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded. -
Oracle JBDC error while calling the store procedure
HI All,
I am get one strange error while calling a store procedure which has two parameter in and out.
I am pass the correct XML file which reaches the RDB and then PI receives a exception error message saying:
oracle.rdb.jdbc.common.RdbException: Closed Resultset
where as no error log is availble in RBD for the same.
Can anybody tell me what can be the cause of the error.
Let me know if you requires more information on this.
-adiHi Kiran,
Thanks..
But I am not able to understand you. I am calling a store procedure not a table. and we not doing anything in the store procedure except return one constant value in Out parameter.
-Adi -
Error while opening the Pdf Attachment at the time sending mail ..
Hi Frn's ,
i am sending a mail with pdf attachment ... but the pdf is not opening ...it is giving error "There was and error opening this document . This file can not be open because it has no page ."
Please resolve the problem ...below is the code pasted ..
REPORT ZPRI_TEST_LDB.
DATA: it_pdf LIKE tline OCCURS 0 WITH HEADER LINE .
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
DATA: w_recsize TYPE i.
DATA: gd_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
data: gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT 'abc,
p_sender LIKE somlreci1-receiver
DEFAULT 'abc'.
perform write_output .
perform create_pdf .
PERFORM process_email .
FORM WRITE_OUTPUT .
write:'Listed below are the employees in your area who are due a Performance Appraisal'.
write:'during the month of May 2009 .A performance appraisal form can be found on-line'.
write: 'in the MUD template section .The Performance Appraisal is to be completed and' .
write:'discussed with the employee by the immediate supervisor .Signed forms should be '.
write: 'returned to the Human Resource Department by May 31,2009 .'.
skip 2 .
write: 'employee name' .
write: 'Job Date' .
write: 'Date of last appraisal' .
ENDFORM. " WRITE_OUTPUT
FORM CREATE_PDF .
DATA: spoolno LIKE tsp01-rqident.
DATA : p_repid LIKE sy-repid .
DATA: v_len TYPE i , v_len1 TYPE i .
DATA: v_temp(8) TYPE c .
DATA: p_uname LIKE sy-uname .
DATA: it_tsp01 TYPE STANDARD TABLE OF tsp01 WITH HEADER LINE .
DATA: it_pdf LIKE tline OCCURS 0 WITH HEADER LINE .
TABLES: tsp01.
data: var type c .
*-- STRUCTURES
DATA:
lc_rq2name LIKE tsp01-rq2name.
DATA:
mstr_print_parms LIKE pri_params,
mc_valid(1) TYPE c,
mi_bytecount TYPE i,
mi_length TYPE i,
mi_rqident LIKE tsp01-rqident.
*-- INTERNAL TABLES
DATA:
mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
mc_filename LIKE rlgrap-filename.
*-- SELECTION SCREEN
DATA:
p_linsz LIKE sy-linsz VALUE 132, " Line size
p_paart LIKE sy-paart VALUE 'X_65_132'. " Paper Format
*-- Setup the Print Parmaters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
copies = '1'
cover_page = space
data_set = space
department = space
destination = space
expiration = '1'
immediately = space
new_list_id = 'X'
no_dialog = 'X'
user = sy-uname
IMPORTING
out_parameters = mstr_print_parms
valid = mc_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
*-- Explicitly set line width, and output format so that
*-- the PDF conversion comes out OK
mstr_print_parms-linsz = p_linsz.
mstr_print_parms-paart = p_paart.
importing variable value set at first time to restrict the infinite loop .
IMPORT var FROM MEMORY ID 'abc' .
var = var + 1 .
p_uname = sy-uname .
p_repid = sy-repid .
*checking variable to restricted scecond time exction of this block of code
IF var = 1 .
v_memid = 1 .
EXPORT var TO MEMORY ID 'abc' .
start ----p3d(02/13/2009)
EXPORT it_pernr it_pernr_quali v_memid it_pernr_status
p_file p_file1 rb_pres rb_app rb2 TO MEMORY ID 'bcd' .
EXPORT it_pernr it_pernr_quali v_memid it_pernr_status it_notqualified
p_file p_file1 rb_pres rb_app rb1 rb2 rb3 rb4 TO MEMORY ID 'bcd' .
EXPORT it_pernr it_pernr_quali v_memid it_pernr_status it_notqualified
p_file p_file1 rb_pres rb_app rb3 rb4 TO MEMORY ID 'bcd' .
end ----p3d(02/13/2009)
submitting the spool request
SUBMIT (p_repid) TO SAP-SPOOL
SPOOL PARAMETERS mstr_print_parms
WITHOUT SPOOL DYNPRO
AND RETURN.
ENDIF.
FREE MEMORY ID 'abc'.
FREE MEMORY ID 'bcd'.
*Calculating the lenth of report name
v_len = STRLEN( p_repid ) .
*consutrucing the database variable rq2name to search the spool request
IF v_len >= 9 .
CONCATENATE p_repid+0(9)
p_uname+0(3) INTO lc_rq2name .
ELSE.
v_len1 = 9 - v_len .
DO v_len1 TIMES .
CONCATENATE v_temp '_' INTO v_temp .
ENDDO.
CONCATENATE p_repid v_temp
p_uname INTO lc_rq2name .
ENDIF.
*selecting the spool request using the above consructed varibale
SELECT * FROM tsp01 INTO TABLE it_tsp01
WHERE rq2name = lc_rq2name .
*sorting the interbla table
SORT it_tsp01 BY rqcretime DESCENDING .
*reading the first spool request
READ TABLE it_tsp01 INDEX 1.
*converting the spool request into pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = it_tsp01-rqident
dst_device = 'LP01'
TABLES
pdf = it_pdf
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.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf.
TRANSLATE it_pdf USING ' ~'.
CONCATENATE gd_buffer it_pdf INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM. " CREATE_PDF
FORM SEND_eMAIL using p_email .
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM. " SEND_MAIL
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email using p_email1 . .
perform send_email using p_email2.
ENDFORM.
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Thanks and Regards ..
Priyankhi this is the part of code ...
PERFORM process_email .
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf.
TRANSLATE it_pdf USING ' ~'.
CONCATENATE gd_buffer it_pdf INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM. " CREATE_PDF
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email using p_email1 . .
perform send_email using p_email2.
ENDFORM.
FORM SEND_eMAIL using p_email .
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM. " SEND_MAIL
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. -
Error while calling xml report from oaf page
hi all
i am calling xml(pdf) report from oaf page the back end jdeveloper console this error message is coming
when i am caling report empty out put is coming
any one help me regarding this issue
123109_073025194][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
[123109_073025194][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
[123109_073025194][][EXCEPTION] [DEBUG] [ICX_COOKIE_NAME]:[DEV]
[123109_073025194][][EXCEPTION] [DEBUG] [JDBC:processEscapes]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
[123109_073025194][][EXCEPTION] [DEBUG] [APPL_SERVER_ID]:[07910A4CBEF04DE395C782218C44D60710897045366671209174079915214149]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[100]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
[123109_073025194][][EXCEPTION] [DEBUG] [ICX_SESSION_COOKIE_VALUE]:[iDQBc8141owULp9woYLCe7wm:S]
[123109_073025194][][EXCEPTION] [DEBUG] [ICX_TRANSACTION_ID]:[-1]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RRRR]
[123109_073025194][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[20023]
[123109_073025194][][EXCEPTION] [DEBUG] [LOGIN_ID]:[113493]
[123109_073025194][][EXCEPTION] [DEBUG] [DB_PORT]:[1521]
[123109_073025194][][EXCEPTION] [DEBUG] [USER_ID]:[1251]
[123109_073025194][][EXCEPTION] [DEBUG] [DISPLAY_LANGUAGE]:[US]
[123109_073025194][][EXCEPTION] [DEBUG] [APPLICATION_ID]:[crm.oracle.apps.xxcrm.crmmgmt.quotationmgmt.server.xxcrmquotationmgmtAM]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
[123109_073025194][][EXCEPTION] [DEBUG] [GUEST_USER_PWD]:[GUEST/ORACLE]
[123109_073025194][][EXCEPTION] [DEBUG] [RESP_ID]:[50722]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_PROFILE_VALIDATION_ENABLED]:[null]
[123109_073025194][][EXCEPTION] [DEBUG] [FUNCTION_ID]:[-1]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
[123109_073025194][][EXCEPTION] [DEBUG] [ICX_PV_SESSION_MODE]:[115P]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_LANG]:[null]
[123109_073025194][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=data02.utsco.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DEV)))]
[123109_073025194][][EXCEPTION] [DEBUG] [FNDNAM]:[APPS]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_PROXY_USER]:[null]
[123109_073025194][][EXCEPTION] [DEBUG] [TWO_TASK]:[DEV]
[123109_073025194][][EXCEPTION] [DEBUG] [APPS_JDBC_DRIVER_TYPE]:[THIN]
[123109_073025194][][EXCEPTION] [DEBUG] [DB_HOST]:[data02.utsco.com]
[123109_073025194][][EXCEPTION] [DEBUG] [DBC_FILE_PATH]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
[123109_073025194][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
[123109_073025194][][EXCEPTION] [DEBUG] [LANG_CODE]:[US]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
[123109_073025194][][EXCEPTION] [DEBUG] [USER_NAME]:[CRMUSER]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[5]
[123109_073025194][][EXCEPTION] [DEBUG] [DB_NAME]:[DEV]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[AL32UTF8]
[123109_073025194][][EXCEPTION] [DEBUG] [ORG_ID]:[82]
[123109_073025194][][EXCEPTION] [DEBUG] [DB_ID]:[DEV]
[123109_073025194][][EXCEPTION] [DEBUG] [GWYUID]:[APPLSYSPUB/PUB]
[123109_073025194][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[UNITED ARAB EMIRATES]
[123109_073025194][][EXCEPTION] [DEBUG] [ICX_SESSION_ID]:[848565270]
[123109_073025194][][EXCEPTION] [DEBUG] [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
[123109_073025194][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
[123109_073025194][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
[123109_073025194][][EXCEPTION] [DEBUG] [ajp.connection.listener.state]:[down]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Client Compiler]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.container.version]:[10.1.3.3.0]
[123109_073025194][][EXCEPTION] [DEBUG] [os.name]:[Windows XP]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[C:\OAF\jdevbin\jdk\jre\lib\rt.jar;C:\OAF\jdevbin\jdk\jre\lib\i18n.jar;C:\OAF\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\OAF\jdevbin\jdk\jre\lib\jsse.jar;C:\OAF\jdevbin\jdk\jre\lib\jce.jar;C:\OAF\jdevbin\jdk\jre\lib\charsets.jar;C:\OAF\jdevbin\jdk\jre\classes]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.desktop]:[windows]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
[123109_073025194][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.5.0_05-b05]
[123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.trusted.clients]:[*]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.security.jazn.config]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
[123109_073025194][][EXCEPTION] [DEBUG] [user.name]:[utsguest]
[123109_073025194][][EXCEPTION] [DEBUG] [user.language]:[en]
[123109_073025194][][EXCEPTION] [DEBUG] [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[C:\OAF\jdevbin\jdk\jre\bin]
[123109_073025194][][EXCEPTION] [DEBUG] [oc4j.jms.usePersistenceLockFiles]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [java.version]:[1.5.0_05]
[123109_073025194][][EXCEPTION] [DEBUG] [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
[123109_073025194][][EXCEPTION] [DEBUG] [user.timezone]:[GMT+04:00]
[123109_073025194][][EXCEPTION] [DEBUG] [java.net.preferIPv4Stack]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
[123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
[123109_073025194][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[C:\OAF\jdevbin\jdk\jre\lib\endorsed]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[Cp1252]
[123109_073025194][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
[123109_073025194][][EXCEPTION] [DEBUG] [DBCFILE]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
[123109_073025194][][EXCEPTION] [DEBUG] [file.separator]:[\]
[123109_073025194][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
[123109_073025194][][EXCEPTION] [DEBUG] [java.class.version]:[49.0]
[123109_073025194][][EXCEPTION] [DEBUG] [user.country]:[US]
[123109_073025194][][EXCEPTION] [DEBUG] [java.home]:[C:\OAF\jdevbin\jdk\jre]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
[123109_073025194][][EXCEPTION] [DEBUG] [os.version]:[5.1]
[123109_073025194][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
[123109_073025194][][EXCEPTION] [DEBUG] [path.separator]:[;]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.version]:[1.5.0_05-b05]
[123109_073025194][][EXCEPTION] [DEBUG] [user.variant]:[]
[123109_073025194][][EXCEPTION] [DEBUG] [java.protocol.handler.pkgs]:[oracle.apps.xdo.common.net.protocol|com.evermind.protocol]
[123109_073025194][][EXCEPTION] [DEBUG] [checkForUpdates]:[adminClientOnly]
[123109_073025194][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
[123109_073025194][][EXCEPTION] [DEBUG] [RUN_FROM_JDEV]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
[123109_073025194][][EXCEPTION] [DEBUG] [com.sun.jts.pi.INTEROP_MODE]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [awt.toolkit]:[sun.awt.windows.WToolkit]
[123109_073025194][][EXCEPTION] [DEBUG] [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_TOP]:[C:\OAF\jdevhome\jdev\dbc_files\]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.http.socket.timeout]:[500]
[123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.port]:[5656]
[123109_073025194][][EXCEPTION] [DEBUG] [JRAD_ELEMENT_LIST_PATH]:[C:\OAF\jdevhome\jdev\myhtml\OA_HTML\jrad\]
[123109_073025194][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
[123109_073025194][][EXCEPTION] [DEBUG] [com.sun.CORBA.POA.ORBServerId]:[1000000]
[123109_073025194][][EXCEPTION] [DEBUG] [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
[123109_073025194][][EXCEPTION] [DEBUG] [user.home]:[C:\Documents and Settings\utsguest]
[123109_073025194][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.home]:[C:\OAF\jdevbin]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.dms.sensors]:[5]
[123109_073025194][][EXCEPTION] [DEBUG] [java.library.path]:[C:\OAF\jdevbin\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\DevSuiteHome_1\jdk\jre\bin\classic;C:\DevSuiteHome_1\jdk\jre\bin;C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\apps\product\11.1.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
[123109_073025194][][EXCEPTION] [DEBUG] [XDO_TOP]:[E:\oracle\apps\apps_st\appl\xdo\12.0.0]
[123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.dont.use.memory.archive]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
[123109_073025194][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
[123109_073025194][][EXCEPTION] [DEBUG] [java.class.path]:[C:\OAF\jdevbin\jdk\jre\lib\rt.jar;C:\OAF\jdevbin\jdk\jre\lib\jsse.jar;C:\OAF\jdevbin\jdk\jre\lib\jce.jar;C:\OAF\jdevbin\jdk\jre\lib\charsets.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\OAF\jdevbin\j2ee\home\oc4j-api.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\OAF\jdevbin\j2ee\home\lib\activation.jar;C:\OAF\jdevbin\j2ee\home\lib\mail.jar;C:\OAF\jdevbin\j2ee\home\lib\persistence.jar;C:\OAF\jdevbin\j2ee\home\lib\ejb30.jar;C:\OAF\jdevbin\j2ee\home\lib\ejb.jar;C:\OAF\jdevbin\j2ee\home\lib\javax77.jar;C:\OAF\jdevbin\j2ee\home\lib\javax88.jar;C:\OAF\jdevbin\j2ee\home\lib\servlet.jar;C:\OAF\jdevbin\j2ee\home\lib\jms.jar;C:\OAF\jdevbin\j2ee\home\lib\jta.jar;C:\OAF\jdevbin\j2ee\home\lib\jacc-api.jar;C:\OAF\jdevbin\j2ee\home\lib\connector.jar;C:\OAF\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\OAF\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\OAF\jdevbin\webservices\lib\jaxr-api.jar;C:\OAF\jdevbin\webservices\lib\jaxrpc-api.jar;C:\OAF\jdevbin\webservices\lib\saaj-api.jar;C:\OAF\jdevbin\webservices\lib\jws-api.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\OAF\jdevbin\j2ee\home\lib\ojsp.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\OAF\jdevbin\j2ee\home\lib\iiop_support.jar;C:\OAF\jdevbin\j2ee\home\lib\orbbase.jar;C:\OAF\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\OAF\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\OAF\jdevbin\j2ee\home\jaccprovider.jar;C:\OAF\jdevbin\javavm\lib\jasper.zip;C:\OAF\jdevbin\j2ee\home\lib\adminclient.jar;C:\OAF\jdevbin\opmn\lib\optic.jar;C:\OAF\jdevbin\j2ee\home\jacc-spi.jar;C:\OAF\jdevbin\j2ee\home\jazncore.jar;C:\OAF\jdevbin\j2ee\home\jazn.jar;C:\OAF\jdevbin\jlib\ospnego.jar;C:\OAF\jdevbin\jlib\ldapjclnt10.jar;C:\OAF\jdevbin\webservices\lib\wsserver.jar;C:\OAF\jdevbin\webservices\lib\wsif.jar;C:\OAF\jdevbin\webservices\lib\orawsmetadata.jar;C:\OAF\jdevbin\webservices\lib\orajaxr.jar;C:\OAF\jdevbin\jlib\jssl-1_1.jar;C:\OAF\jdevbin\jlib\ojmisc.jar;C:\OAF\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\OAF\jdevbin\diagnostics\lib\ojdl2.jar;C:\OAF\jdevbin\xqs\lib\xqs-api.jar;C:\OAF\jdevbin\xqs\lib\xds.jar;C:\OAF\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\OAF\jdevbin\j2ee\home\lib\pcl.jar;C:\OAF\jdevbin\j2ee\home\lib\ext;C:\OAF\jdevbin\lib\dmsapp.jar;C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\OAF\jdevbin\jlib\jsp-el-api.jar;C:\OAF\jdevbin\jlib\commons-el.jar;C:\OAF\jdevbin\jlib\oracle-el.jar;C:\OAF\jdevbin\jlib\jewt4.jar;C:\OAF\jdevbin\jdev\appslibrt\regexp.jar;C:\OAF\jdevbin\jdev\appslibrt\share.jar;C:\OAF\jdevbin\jdev\appslibrt\uix2.jar;C:\OAF\jdevbin\oaext\mds\lib\mdsrt.jar;C:\OAF\jdevbin\oaext\lib\mdsdt.jar;C:\OAF\jdevbin\oaext\lib\oamdsdt.jar;C:\OAF\jdevbin\javacache\lib\cache.jar;C:\OAF\jdevbin\lib\xschema.jar;C:\OAF\jdevbin\BC4J\lib;C:\OAF\jdevbin\BC4J\lib\adfbinding.jar;C:\OAF\jdevbin\BC4J\lib\adfcm.jar;C:\OAF\jdevbin\BC4J\lib\adfm.jar;C:\OAF\jdevbin\BC4J\lib\adfmweb.jar;C:\OAF\jdevbin\BC4J\lib\adfs-jazn.jar;C:\OAF\jdevbin\BC4J\lib\adfs.jar;C:\OAF\jdevbin\BC4J\lib\adfshare.jar;C:\OAF\jdevbin\BC4J\lib\bc4jct.jar;C:\OAF\jdevbin\BC4J\lib\bc4jctejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\OAF\jdevbin\BC4J\lib\bc4jmt.jar;C:\OAF\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\OAF\jdevbin\BC4J\lib\collections.jar;C:\OAF\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\OAF\jdevbin\jdev\appslibrt\fwk.zip;C:\OAF\jdevbin\jdev\appslibrt\atg.zip;C:\OAF\jdevbin\jdev\appslibrt\collections.zip;C:\OAF\jdevbin\jdev\appslibrt\iasjoc.zip;C:\OAF\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\OAF\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\OAF\jdevbin\jdev\appslibrt\svc.zip;C:\OAF\jdevbin\jdev\appslibrt\pat.zip;C:\OAF\jdevbin\jdev\appslibrt\concurrent.zip;C:\OAF\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\OAF\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\OAF\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\OAF\jdevbin\jdev\appslibrt\pdkjava.jar;C:\OAF\jdevbin\jdev\appslibrt\ptlshare.jar;C:\OAF\jdevbin\jdev\appslibrt\xml.jar;C:\OAF\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\OAF\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\OAF\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\OAF\jdevbin\jdev\appslibrt\jazn.jar;C:\OAF\jdevbin\jdev\appslibrt\jazncore.jar;C:\OAF\jdevbin\bibeans\lib\biamlocal.jar;C:\OAF\jdevbin\bibeans\lib\bipres.jar;C:\OAF\jdevbin\bibeans\lib\bicmn.jar;C:\OAF\jdevbin\bibeans\lib\bidatasvr.jar;C:\OAF\jdevbin\bibeans\lib\bidataclt.jar;C:\OAF\jdevbin\bibeans\lib\bidatacmn.jar;C:\OAF\jdevbin\bibeans\lib\biext.jar;C:\OAF\jdevbin\bibeans\lib\bicmn-nls.zip;C:\OAF\jdevbin\bibeans\lib\bipres-nls.zip;C:\OAF\jdevbin\bibeans\lib\bidata-nls.zip;C:\OAF\jdevbin\oaext\config\oac\oacfilter.jar;C:\OAF\jdevbin\j2ee\home\lib\scheduler.jar;C:\OAF\jdevbin\jdev\lib\jdev-rt.jar;C:\OAF\jdevbin\jdev\lib\ojc.jar;C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\OAF\jdevbin\diagnostics\lib\ojdl.jar;C:\OAF\jdevbin\lib\dms.jar;C:\OAF\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\OAF\jdevbin\opmn\lib\ons.jar;C:\OAF\jdevbin\jdbc\lib\ocrs12.jar;C:\OAF\jdevbin\rdbms\jlib\aqapi.jar;C:\OAF\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\OAF\jdevbin\jdbc\lib\orai18n.jar;C:\OAF\jdevbin\lib\xmlparserv2.jar;C:\OAF\jdevbin\lib\xml.jar;C:\OAF\jdevbin\lib\xmlmesg.jar;C:\OAF\jdevbin\lib\xsu12.jar;C:\OAF\jdevbin\lib\xquery.jar;C:\OAF\jdevbin\jlib\osdt_core.jar;C:\OAF\jdevbin\jlib\osdt_cert.jar;C:\OAF\jdevbin\jlib\osdt_xmlsec.jar;C:\OAF\jdevbin\jlib\osdt_wss.jar;C:\OAF\jdevbin\jlib\osdt_saml.jar;C:\OAF\jdevbin\jlib\ojpse.jar;C:\OAF\jdevbin\jlib\oraclepki.jar;C:\OAF\jdevbin\toplink\jlib\toplink.jar;C:\OAF\jdevbin\toplink\jlib\antlr.jar;C:\OAF\jdevbin\toplink\jlib\toplink-essentials.jar;C:\OAF\jdevbin\webservices\lib\wsclient.jar;C:\OAF\jdevbin\webservices\lib\orasaaj.jar;C:\OAF\jdevbin\webservices\lib\xsdlib.jar;C:\OAF\jdevbin\webservices\lib\mdds.jar;C:\OAF\jdevbin\webservices\lib\relaxngDatatype.jar;C:\OAF\jdevbin\webservices\lib\soap.jar;C:\OAF\jdevbin\sqlj\lib\runtime12.jar;C:\OAF\jdevbin\sqlj\lib\translator.jar;C:\OAF\jdevbin\webservices\lib\orawsdl.jar;C:\OAF\jdevbin\j2ee\home\applib;C:\OAF\jdevbin\j2ee\home\jsp\lib\taglib;C:\OAF\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\OAF\jdevbin\lib\dsv2.jar;C:\OAF\jdevbin\j2ee\home\lib\http_client.jar;C:\OAF\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\OAF\jdevhome\jdev\myhtml\OA_HTML;C:\OAF\jdevhome\jdev\myclasses;C:\OAF\jdevbin\jlib\jdev-cm.jar;C:\OAF\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\OAF\jdevbin\BC4J\jlib\datatags.jar;C:\OAF\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\OAF\jdevbin\BC4J\jlib\graphtags.jar;C:\OAF\jdevbin\jdev\appslibrt\wsp.zip;C:\OAF\jdevbin\jdev\appslibrt\diagnostics.jar;C:\OAF\jdevbin\jdev\appslibrt\svctester.jar]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.home]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.application.environment]:[development]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
[123109_073025194][][EXCEPTION] [DEBUG] [JRAD_XML_PATH]:[C:\OAF\jdevhome\jdev\myclasses\JRADXML;C:\OAF\jdevhome\jdev\myprojects;C:\OAF\jdevbin\jdev\oamdsxml\fwk]
[123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
[123109_073025194][][EXCEPTION] [DEBUG] [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
[123109_073025194][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[Service Pack 3]
[123109_073025194][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[C:\DOCUME~1\utsguest\LOCALS~1\Temp\]
[123109_073025194][][EXCEPTION] [DEBUG] [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
[123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
[123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[200]
[123109_073025194][][EXCEPTION] [DEBUG] [os.arch]:[x86]
[123109_073025194][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
[123109_073025194][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\OAF\jdevbin\jdk\jre\lib\ext]
[123109_073025194][][EXCEPTION] [DEBUG] [user.dir]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
[123109_073025194][][EXCEPTION] [DEBUG] [CACHENODBINIT]:[true]
[123109_073025194][][EXCEPTION] [DEBUG] [line.separator]:[
[123109_073025194][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
[123109_073025194][][EXCEPTION] [DEBUG] [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
[123109_073025194][][EXCEPTION] [DEBUG] [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
[123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.use.ssl]:[false]
[123109_073025194][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
[123109_073025194][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
[123109_073025194][][EXCEPTION] [DEBUG] [oracle.oc4j.http.socket.sendbuffersize]:[16384]
[123109_073025194][][EXCEPTION] [DEBUG] [java.specification.version]:[1.5]
regard
sreekanthHi Sreekanth;
Change your output type from PDF to HTML. Then it will give you clear error message in HTML page after fixing it if you able to see/run report fine in HTML then change your output type back to PDF.
GsrC -
I am getting a error while executing the Web Dynpro Application Page.
Hi All,
I am getting a Error while executing a web dynpro application :::
: Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component: Z_WEP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
I have checked this error description in ST22 :
What happened?
The exception 'CX_WDR_RT_EXCEPTION' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CLIENT_APPLICATION=====CP' has to be
terminated.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION', was not caught
and
therefore caused a runtime error.
The reason for the exception is:
Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component:
Z_XXP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
Can u plz help me regarding this error.
Thanks,
Deepika>Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered
Looks to me like you are trying to fire a navigation plug within WDDOMODIFYVIEW. According to the rules of the WD Phase Model this is not allowed. -
Facing the Error while opening the PDF Document generated by Adobe Forms
Hi,
I have created an Custom Adobe Form and calling this form through a Custom Program and generating the PDF and could able to download on to my desktop but when i am tyring to open it i m facing the below Error.
"There was an error opening this document. The file is damaged and could not be repaired" .
Please help me in this regard ASAP.
Please do find the attached error screen shot.
Thanks
SushilHi Naveen ,
Have done as per the link but still not opening
same error.
I have created a print program and from there want to generate pdf. But it is not working.
please find the below code : In this i am passing some tables to function module and output is formoutput of type fpformoutput.
Where do i need to do any changes if required.
data: lst_opparam type sfpoutputparams.
data: lst_docparam type sfpdocparams.
data: lfd_fname type funcname.
data: lrf_cx_root type ref to cx_root.
clear: lst_opparam, lst_docparam.
lst_opparam-getpdf = 'X'.
lst_opparam-preview = 'X'.
* lst_opparam-nodialog = 'X'.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = lst_opparam
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5
if sy-subrc <> 0.
* Implement suitable error handling here
endif.
try.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = 'ZAFGLERC001'
importing
e_funcname = lfd_fname.
* E_INTERFACE_TYPE =
* EV_FUNCNAME_INBOUND =
catch cx_root into lrf_cx_root.
endtry.
lst_docparam-langu = 'EN'.
lst_docparam-country = 'IN'.
call function lfd_fname " '/1BCDWB/SM00000213'
exporting
/1bcdwb/docparams = lst_docparam
appl = 'EREC_ONBRD'
wa_ztbglerc049 = wa_ztbglerc049
wa_ztbglerc050 = wa_ztbglerc050
it_51 = it_51
wa_41 = wa_41
it_42 = it_42
wa_43 = wa_43
it_44 = it_44
it_45 = it_45
it_46 = it_46
it_47 = it_47
it_48 = it_48
importing
/1bcdwb/formoutput = formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4
if sy-subrc <> 0.
* Implement suitable error handling here
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.
* Implement suitable error handling here
endif. -
Getting error in Portal "Error while generating the PDF" for BI Report
Hi Experts,
we are gettign the error while trying to generate the PDF file from the Reports.
Earlier it was working fine Adobe Reader 8 , currently we have upgrated Adobe Reader 9 in our system.
After this upggradation browser "*Failed to open PDF in Browser"*
Could you please suggest me how to diagnostic the error. Do we need to configre something in the Portal or in the Backend BI system for this.
Please suggest me the needful on this?
thanks
NarpalHello,
i am facing the same problem and found help by 925741:
"Error while generating PDF"
There is no more information available when clicking on the error.
Used Software:
Adobe 8
SAP_ABA 700 0018 SAPKA70018 Cross-Application Component
SAP_BASIS 700 0018 SAPKB70018 SAP Basis Component
SAP_BW 700 0020 SAPKW70020 SAP NetWeaver BI 7.0
PI_BASIS 2005_1_70 0018 SAPKIPYJ7I PI_BASIS 2005_1_700
BI_CONT 703 0013 SAPKIBIIQ3 Business Intelligence Content
Any other ideas?
Thanks,
Rainer
Edited by: Rainer SIGG on Mar 9, 2009 4:41 PM
Edited by: Rainer SIGG on Mar 9, 2009 5:27 PM
Edited by: Rainer SIGG on Mar 9, 2009 5:42 PM -
Error while Adding the PlaceHolder to Home Page using Jdev,UCM
Hi,
I am Using UCM and Jdev 11g.
I was creating a website using Oracle® Fusion Middleware Developer's Guide for Site Studio for External Applications
11g Release 1 (11.1.1).
I worked fine till creating the place Holder Definition , I was trying to add place holder to Home Page.
In this step I did not get the property 'Switch Placeholder Definition Role' in the List when exploring the node WebSite.
Plaese help me resolve this.Hi chris,
Thank you for your response.
I am using oracle db. It seems that it is trying to insert record into L10_Locale table while portlet is added into home page. Does the record go to L10_LOCALE while adding portlet.
As per my knowledge, records goes to desktop,page and placement related tables while portlet is added.
When i see the L10_LOCALE existing records, it has two 2 records.
Encoding Language Country
UTF-8 en US
UTF-8 en
you said that Locale for the title or description is too long... Is it for Portlet's title of locale ...?
Then, what is the relation of title and this error ...
Please clarify this ...?
Regards,
Senthil -
WebInterface Server - Error while opening the PDF file
Hello,
We are using webinterface to display the MSDS genearated.
Our customers use the link provided to them for displaying the msds.
We imported a few MSDS ( CG36 ), which are in PDF format & displayed successfully on the webinterface server.
However the newly generated MSDS ( Create Report ) from SAP EH&S system are not getting displayed on the webinterface server. We are getting following error message:
Error reading resulitng document from filesystem. Class:
COM.td.ehswww.results.EhsDocument.
Method:getResolvedDocument().This error could have been caused by a misconfigured filter.ini.
We checked and found that the filter.ini file is same on both quality & production system.
We are able to generate & display the report successfully on quality webinterface server.
Problem only appears on the production webinterface server.
We also tried to search for the SAP notes on this issue.
But we could not find out any relevant note for our issue.
Any help in this regarding is highly appreciated.
Thanks & Regards,
AarohiHello Sebastian,
Thank you very much for your help.
We checked on both quality & production webinterface server.
The Tomcat service is not executed with any specific user.
The system is working fine on quality , we are getting errors only on the production.
We also identified a strange behavior on the production web interface server.
We are able to see files under following menu path:
There are error files getting generated.
I guess these error files are getting generated while converting the rtf file to pdf file.
The resultant PDF file is not getting generated and hence system is giving the error on the webpage.
Can you guide us as to why these error files are getting generated .? What can be the root cause of this issue.? and How to prevent this.?
Again thanks a lot for your help.
Best Regards,
Aarohi
Maybe you are looking for
-
Difference Between Business Object And Class Object
Hi all, Can any one tel me the difference between business object and class Object.... Thanks... ..Ashish
-
How to view Outlook 2010 Calendar on iPad 3?
I have published my Outlook 2010 Calendar to the internet (URL ending .ics). How do I view it on my iPad3?
-
Infotype not getting created using FM HR_INFOTYPE_OPERATION
I am trying to create infotype 210 from user exit ZXPADU02 using below code. DATA : v_return TYPE bapireturn1, v_return1 TYPE bapireturn1, v_return2 TYPE bapireturn1, v_key TYPE bapipakey, v_return3 TYPE b
-
I've run into problems when I try to use the search within Address Book - once I start typing some text to search for, Address Book pauses a second or so, and then quits completely on me(!). I have deleted my AB file and re-imported (from Palm Deskto
-
How to import photo from laptop to iphone? is it possible?
how to import photo from laptop to iphone? is it possible to do so?