cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in regenerating the form

naval_bhatt4
Contributor
0 Kudos

Hi all ,

I am using the following code . and for the parameter " 1bcdwb/docxml " I am entering the value of the Xstring value of the XML of the PDF.

But I am not getting the PDF generated please help what am i doing wrong .

CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'

*

*

*

CALL FUNCTION 'FP_JOB_OPEN'

*

*

*

DATA: fp_docparams TYPE sfpdocparams,

fp_result TYPE fpformoutput,

lv_username TYPE bapibname-bapibname.

data test type xstring.

fp_docparams-fillable = 'X'.

fp_docparams-langu = sy-langu.

lv_username = 'rd'.

CALL FUNCTION fm_name

EXPORTING

/1BCDWB/DOCPARAMS = fp_docparams

+*/1bcdwb/docxml = lvtest5*+_

IMPORTING

/1BCDWB/FORMOUTPUT = fp_result

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.

CALL FUNCTION 'FP_JOB_CLOSE'

Accepted Solutions (0)

Answers (2)

Answers (2)

naval_bhatt4
Contributor
0 Kudos

Not necessary any more ..

naval_bhatt4
Contributor
0 Kudos

but if i am not entering the value of the parameter /1bcdwb/docxml I am getting the output .