cancel
Showing results for 
Search instead for 
Did you mean: 

form font changes to capitol letters while storing in Portal

Former Member
0 Kudos

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[].

Accepted Solutions (0)

Answers (4)

Answers (4)

NoJo
Active Participant
0 Kudos

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???

NoJo
Active Participant
0 Kudos

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....

Former Member
0 Kudos

Norbert,

Do you mean i don't need the pdfsource anymore and also 'SCMS_XSTRING_TO_BINARY?

But how would i create the pdf without binary table ?

I need that to create a pdf on PLM Cfolders colloboration & FM is CFX_API_DOC_DOCUMENT_WRITE.

Rgds

Vara

NoJo
Active Participant
0 Kudos

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

Former Member
0 Kudos

Norbert,

Could you pls throw some more light?

I did not get you.

Rgds

vara

Former Member
0 Kudos

Closing because of no replies:-)..