2012 May 02 10:09 AM
Hello Experts,
i have developed an RFC to generate the employee salary slip using smart forms which has to be displayed on the portal as 'PDF', so that employee
can download the salary slip from there. Portal is designed using Java. I have given web service details of RFC to Java Team.
But while calling the service, it throws the following error at Java end.
org.apache.axis2.AxisFault: CX_SY_CONVERSION_CODEPAGE:XSLT exception.An
error occurred during serialization in the simple transformation program
/1BCDWB/WSSC6437C83650943EBA66.Cannot convert character sets for one or
more characters
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
mc_style.functions.soap.sap.document.sap_com.Zsn_salary_slip3Stub.ZhrmsSalarySlip(Zsn_salary_slip3Stub.java:183)
at
com.atl.hrms.payslip.services.sap.PayslipServices.downloadSalarySlip(PayslipServices.java:37)
at
com.atl.hrms.payslip.services.sap.PayslipServices.main(PayslipServices.java:7)
Well i am trying to send PDF raw data to my Java Team so that they generate the PDF file using raw data.
following is the piece of the code
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = w_bin_filesize
* bin_file =
TABLES
otf = it_final
lines = it_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4.
if it_lines[] is not INITIAL.
itsal[] = it_lines[].
endif.
Please help me out in this.
Regards.
Praveen Kumar.
Hello Experts,
i have developed an RFC to generate the employee salary slip using smart forms which has to be displayed on the portal as 'PDF', so that employee
can download the salary slip from there. Portal is designed using Java. I have given web service details of RFC to Java Team.
But while calling the service, it throws the following error at Java end.
org.apache.axis2.AxisFault: CX_SY_CONVERSION_CODEPAGE:XSLT exception.An
error occurred during serialization in the simple transformation program
/1BCDWB/WSSC6437C83650943EBA66.Cannot convert character sets for one or
more characters
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
mc_style.functions.soap.sap.document.sap_com.Zsn_salary_slip3Stub.ZhrmsSalarySlip(Zsn_salary_slip3Stub.java:183)
at
com.atl.hrms.payslip.services.sap.PayslipServices.downloadSalarySlip(PayslipServices.java:37)
at
com.atl.hrms.payslip.services.sap.PayslipServices.main(PayslipServices.java:7)
Well i am trying to send PDF raw data to my Java Team so that they generate the PDF file using raw data.
following is the piece of the code
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = w_bin_filesize
* bin_file =
TABLES
otf = it_final
lines = it_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4.
if it_lines[] is not INITIAL.
itsal[] = it_lines[].
endif.
Please help me out in this.
Regards.
Praveen Kumar.
2014 Oct 14 11:28 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |