Skip to Content
author's profile photo Former Member
Former Member

how to create entire adobe form in editable mode ?

Dear All,

how to create entire adobe form in editable mode ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 04, 2013 at 06:53 AM

    Hi,

    how to create entire adobe form in editable mode ?

    What do you mean by entire adobe form? You mean a freely editable adobe form like we edit the Word document? If so, it is not possible.

    However you can have editable fields in adobe form. Check this demo by Thomas: http://scn.sap.com/docs/DOC-10241

    Regards,

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi kiran,

      thank you for replay.

      i have to develop a word document for this i am created a so10 text with html tags(for alignemnt like font size , type , bold etc) . how to convert html tags .

      my code:

      CALL FUNCTION 'READ_TEXT'
      EXPORTING
      * CLIENT = SY-MANDT
      id = 'ST'
      language = sy-langu
      NAME = 'ZNOTE1'
      OBJECT = 'TEXT'
      * ARCHIVE_HANDLE = 0
      * LOCAL_CAT = ' '
      IMPORTING
      HEADER = thead
      TABLES
      lines = lt_lines.


      REPLACE ALL OCCURRENCES OF '&YEAR' IN TABLE lt_lines WITH ls_data-YEAR .

      REPLACE ALL OCCURRENCES OF '&LETTER&' IN TABLE lt_lines WITH ls_data-LETTER .
      REPLACE ALL OCCURRENCES OF '&AMOUNT&' IN TABLE lt_lines WITH ls_data-AMOUNT .


      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
      EXPORTING
      line_width_dst = 255
      TABLES
      content_in = lt_lines
      content_out = it_lines
      EXCEPTIONS
      err_line_width_src_too_long = 1
      err_line_width_dst_too_long = 2
      err_conv_failed = 3
      OTHERS = 4.

      REPLACE ALL OCCURRENCES OF '*' IN TABLE it_lines WITH ' '.
      DATA text1 TYPE STRING .
      CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
      EXPORTING
      i_tabline_length = 132
      IMPORTING
      e_string = text1
      TABLES
      it_table = it_lines .

      data: lines2 TYPE xstring .
      * text2 type xstring .
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
      text = text1
      * MIMETYPE = ' '
      * ENCODING =
      IMPORTING
      buffer = lines2
      EXCEPTIONS
      FAILED = 1
      OTHERS = 2 .

      CALL METHOD cl_wd_runtime_services=>attach_file_to_response
      EXPORTING
      i_filename = 'TEST'
      i_content = lines2
      i_mime_type = 'DOC'
      i_in_new_window = abap_false
      i_inplace = abap_false.




Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.