Skip to Content
0
Former Member
Jan 26, 2009 at 10:49 AM

smartforms- xfs

130 Views

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.