cancel
Showing results for 
Search instead for 
Did you mean: 

Editing A Interactive Form

Former Member
0 Kudos

Hi! I have created a interactive Form through TCode SFP. I am unable to edit the same , as in I cannot enter data into the text fields. Please help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vipul.

You have to fill the parameter when you are calling the function module.

DATA: formname  TYPE fpname VALUE '<Your_Form>',
      funcname  TYPE FUNCNAME,
      docparams TYPE SFPDOCPARAMS.

CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
  EXPORTING
    I_NAME                     = formname
  IMPORTING
    E_FUNCNAME                 = funcname.

* Fill interactive flag here
docparams-fillable = 'X'.

CALL FUNCTION func_name
  EXPORTING
    /1BCDWB/DOCPARAMS        = docparams
   ...
  EXCEPTIONS
    USAGE_ERROR              = 1
    SYSTEM_ERROR             = 2
    INTERNAL_ERROR           = 3
    OTHERS                   = 4
          .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Regards,

Timo.

Former Member
0 Kudos

Hi Vipul.

If you create the PDF with corresponding function module did you fill the field FILLABLE in the import parameter DOCPARAMS?

You should set fill this field with 'X'.

Regards,

Timo.

Former Member
0 Kudos

Hi, Timo Thanks for your reply. Now please can you help me with how do i permanently set the default value as X for fillable field.

Message was edited by:

Vipul Musale