cancel
Showing results for 
Search instead for 
Did you mean: 

How to read Spool

Former Member
0 Kudos

Hi All,

I want to read the spool data and convert it in to OTF format.Please suggest the way to acieve this.

Thanks

Saurabh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

th

former_member181995
Active Contributor
0 Kudos

...anks.

Former Member
0 Kudos

in case of smarfforms

c_par-no_dialog = 'X'.

c_par-preview = space.

c_par-getotf = 'X'.----


>(pass this parameter to get otf format of s.f)

out_opt-tddest = 'EPSON-COMMON'.

CALL FUNCTION fm_name

EXPORTING

control_parameters = c_par<------

output_options = out_opt

user_settings = space

vbeln = it_vbeln-vbeln

pdf = r2

rbiclear = c3

IMPORTING

job_output_info = opt------>here u can get the otf format o/p

einv = einv.

i_otf = opt-otfdata.

Former Member
0 Kudos

hi,

You can try this Fm

CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'

EXPORTING

rqident = spool_id

first_line = 1

last_line = 9999999

TABLES

buffer = spool_list

EXCEPTIONS

no_such_job = 1

not_abap_list = 2

job_contains_no_data = 3

no_permission = 4

OTHERS = 8.

If you are checking for Smartform to PDF..check this link..