on 01-30-2019 6:46 PM
Hello All,
We have created a custom Invoice form with Adobe form object, Driver program and ENTRY routine and configured the same in (SPRO -> Assign form template) for Billing Document in Output management. Also maintained the FORM name object in BRF+.
First thing, Can I go with traditional approach (SPRO -> Assign form template) in S4 HANA?
Because here everything works fine if I go with this approach in t-codes VF01/02/03. Invoice form preview appearing correctly.
But when we execute the Billing Doc. output run for Invoice in t-code VF31F, we are facing a following error - "Error(s) occurred when rendering the output item".
In our case Spool is also created successfully.
Please help me to figure out this error.
Regards,
Keyur Pawar
Solved by myself..
First of all it is not mandatory to have ODATA based fragmented Adobe form only in S/4 HANA, we can go with ABAP based adobe form also with BRF+ and SPRO config.
Above error solved by passing following parameters to FM: FP_JOB_OPEN -
ls_fp_outputparams-nodialog = abap_true.
ls_fp_outputparams-dest = 'LP01'.
ls_fp_outputparams-reqnew = abap_true.
ls_fp_outputparams-reqimm = abap_true.
IF sy-tcode = lc_vf31f.
ls_fp_outputparams-nopreview = abap_true.
ls_fp_outputparams-covtitle = NAST-tdcovtitle. "Most important - Spool Description
ELSE.
ls_fp_outputparams-preview = abap_true.
ENDIF.
And pass following parameters when you call dynamic function module of Form for spool generation:
lv_docparams-langu = sy-langu.
lv_docparams-country = lc_us.
Regards,
Keyur Pawar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.