cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Pass Internal table to Adobe form.

Former Member
0 Kudos

Hello Experts,

I am not able to pass internal table to Adobe form.

WHen i pass it is showing system error or Usage error .

Thanks and Regards,

Nikhil Kulkarni

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

can you please give more details about your requirement.

Former Member
0 Kudos

Hello Santhosh,

  The "Quote_Details" i am passing it as Table type which has again one table type nested in that.

I have passed some data to this nested table type and mapped the same in Adobe form as Table.

At the below dynamic FM call it is showing Usage error.

  ** Now call the generated function module
       CALL FUNCTION lv_fm_name
         EXPORTING
           /1bcdwb/docparams  = fp_docparams
           quote_details      = lt_pdf_info
         IMPORTING
           /1bcdwb/formoutput = output
         EXCEPTIONS
           usage_error        = 1
           system_error       = 2
           internal_error     = 3
           OTHERS             = 4.

Thanks and Regards,

Nikhil Kulkarni

varun_vadnala3
Active Participant
0 Kudos

Hello Nikhil,

The Usage errors might for various reasons.But to exactly find where the issue is its always better to debug the dynamic FM which is generated when you execute the adobe form from SFP txn.

Place a break point in the FM at the starting and keep on debugging.Then it will help you to figure out the issue.

Note 717568 contains

additional information regarding the analysis of runtime errors.

Former Member
0 Kudos

Hello Varun,

CALL FUNCTION 'FPCOMP_FORM_START'
   EXPORTING
     i_docpar       = %docpar
   EXCEPTIONS
     usage_error    = 1
     system_error   = 2
     internal_error = 3
     OTHERS         = 4.
%fpcomp_error.

inside the dynamic call of Function module, it is giving usage_error. SOme times it gives System error also.is there any problem in the layout ?

Thanks and Regards,

NIkhil Kulkarni

varun_vadnala3
Active Participant
0 Kudos

Check the docparams structure which is being passed to the FM.

Former Member
0 Kudos

Hello Varun,

I am passing the following details.

      fp_docparams-langu   = 'EN'.
       fp_docparams-country = 'US'.
       fp_docparams-fillable = ''.

** Now call the generated function module
       CALL FUNCTION lv_fm_name
         EXPORTING
           /1bcdwb/docparams  = fp_docparams
           quote_details      = lt_pdf_info

         IMPORTING
           /1bcdwb/formoutput = output
         EXCEPTIONS
           usage_error        = 1
           system_error       = 2
           internal_error     = 3
           OTHERS             = 4.

THanks and Regards,

Nikhil Kulkarni