on 10-01-2009 11:47 PM
Hi,
I am trying to save the pdf form after users inputs & clicks on a interactive form via PDFSOURCE .I am writing this to colloboration folders via following code.
I am able to save it but all contents are turining to capital letters..and some truncation is happening.
Is there any parameter where I can restrict so that input remains the same?
CLEAR: p_image_len.
REFRESH p_image[].
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_pdfsource - this is PDF source parameter
* APPEND_TO_TABLE = ' '
IMPORTING
output_length = p_image_len
TABLES
binary_tab = p_image[].
* Attach the file as the first version of the document.
CLEAR: fault, vname, key_version.
WRITE p_image_len TO fsizec NO-GROUPING NO-SIGN LEFT-JUSTIFIED.
fsize = fsizec.
CONCATENATE sy-datum '-' sy-uzeit '.pdf' INTO fna me.
.
CALL FUNCTION 'CFX_API_DOC_DOCUMENT_WRITE' - I use this to write p_image
DESTINATION rfcdest
TABLES
it_content = p_image[].
get the binary string --> create a pdf object, send the the string with the object to the ads --> ads can give you a xml of your data back --> deserialize this xml into your variables
or what is your way???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you use in a web dynpro (abap?) your context and build out of it an adobe form you have an XML interface and every change in the form-variables will change your context IF you do a http roundtrip(for example press a submit button) --> then you just can have a look at the context variables and don't need to extract the form....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are using online scenario with web dynpro, why don't you use context binding an then just after submitting the form read the variables?
norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Closing because of no replies:-)..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.