Hi Varun,
Please find the below code.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSF_INVOICE'
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
Add the tables in tables under table and add the same tables in form as well.
CALL FUNCTION fm_name "'/1BCDWB/SF00000295'
EXPORTING
im_fs_kna1 = fs_kna1
tables
im_t_vbrk = t_vbrk
im_t_vbrp = t_vbrp
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
Thanks & Regards,
Sree