on 01-26-2009 10:49 AM
Hi expert,
I have a smartforms that run correctly, it's print simply a internal table.
Now i want to make a modify: I want to convert a form in html ---> xfs output.
This is my FM:
DATA output_options TYPE ssfcompop.
DATA control_parameters TYPE ssfctrlop.
DATA job_output_info TYPE ssfcrescl.
output_options-xsfcmode = 'X'.
output_options-xsf = 'X'.
output_options-xsfoutmode = 'X'.
control_parameters-no_dialog = ' '.
CALL FUNCTION wk_fb
EXPORTING
control_parameters = control_parameters
output_options = output_options
user_settings = ' '
IMPORTING
job_output_info = job_output_info
job_output_option = wa_ssfcresop
TABLES
it_tab = it_tab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
LOOP AT job_output_info-xmloutput-xsfdata INTO xsf_line.
l_line = xsf_line.
APPEND l_line TO l_table.
ENDLOOP.
The problem is: in this table there's nothing job_output_info-xmloutput-xsfdata .
Why ??
tks,
bye.
use these.
output_options-xsfcmode = 'X'.
output_options-xsf = 'X'.
output_options-xsfoutmode = 'A'.
XSFOUTMODE
SSFXSFOMOD
CHAR(1)
Use this parameter to specify the output mode:
XSFOUTMODE=u2018Au2018 (Application): You get XSF output using the export parameter JOB_OUTPUT_INFO-XMLOUTPUT-XSFDATA.
XSFOUTMODE=u2018Su2018 (Spool): SAP Smart Forms creates a spool request for XSF output and returns its ID using the export parameter JOB_OUTPUT_INFO-SPOOLIDS
above quote from sap help:
http://help.sap.com/saphelp_nw04/helpdata/en/71/9ccd9f8e0e11d4b608006094192fe3/frameset.htm
кu03B1ятu03B9к
Edited by: kartik tarla on Jan 26, 2009 5:10 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
also include this option
output_options-XDFCMODE = SPACE.
or may be instead of changing these params in orint program try changing this from smartform itself, this option is present in form attributes i think, just check it out , try both the methods and see if u r able to get output or not.
кu03B1ятu03B9к
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.