cancel
Showing results for 
Search instead for 
Did you mean: 

I can't generate a New spool using OPEN_FORM

former_member227595
Active Participant
0 Kudos

Hi

When I call the FM OPEN_FORM with the flag setted X in field itcpo-tdnewid. It is not generating a Spool. Does anybody know which could be the problem, Thanks !

This is the code of the FM

itcpo-tdnewid = 'X'.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

archive_index = g_toa_dara_tab

archive_params = g_arc_params_tab

device = dest_device

dialog = 'X'

form = t390-form

language = print_language

OPTIONS = itcpo

EXCEPTIONS

canceled = 1

device = 2

form = 3

OPTIONS = 4

unclosed = 5

mail_options = 6

archive_error = 7

invalid_fax_number = 8

more_params_needed_in_batch = 9

spool_error = 10

codepage = 11

OTHERS = 12.

Accepted Solutions (1)

Accepted Solutions (1)

matias_z
Participant
0 Kudos

Youshould set these fields in order to generate a new spool order:

itcpo-tdnewid = 'X'.

itcpo-tddataset = 'test'.

itcpo-tddelete = space. "'X'.

itcpo-tdpreview = space.

itcpo-tdimmed = space.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Set itcpo-tdnewid = ' ' . as blank instead which would generate a spool request.

Regards,

Kumar