on 07-28-2010 1:49 PM
Hello,
while uploading an interactive form I get a shortdump: CX_FP_RUNTIME_USAGE
Create PDF Object using destination 'ADS' (<-- this is how it is
defined in SM59)
DATA: lo_pdfobj TYPE REF TO if_fp_pdf_object VALUE IS INITIAL.
lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
DATA: pdf_data TYPE xstring.
Set document
lo_pdfobj->set_document( pdfdata = pdf_data ).
method if_fp_pdf_object~set_document.
data: l_errstr type string.
if pdffile is initial and pdfdata is initial.
=====> raise exception type cx_fp_runtime_usage <=====
exporting
textid = cx_fp_runtime_usage=>nothing_to_do.
endif.
Does anybody know why this parameter pdf_data is empty,
although I have uploaded the file before with cl_gui_frontend_services=>gui_upload?
Thanks
G
Problem solved !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The PDF was in wrong format, this was the problem .
Now it works.
Greets
G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Total Posts: 440
Total Questions: 204 (39 unresolved)
Forum Points: 18
By the way: How comes you ask so much and answer very little? Why should people help you when you don´t bother to contribute and use others to do your job?
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.