on 11-18-2008 8:35 AM
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'
Not necessary any more ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but if i am not entering the value of the parameter /1bcdwb/docxml I am getting the output .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.