cancel
Showing results for 
Search instead for 
Did you mean: 

IF TDGETOTF is "on in OPEN_FORM call, does it clobber TDSPOOLID ????

Former Member
0 Kudos

I'm opening a SAPScript form with the usual OPEN_FORM routine.

TDPREVIEW is set to 'X'.

TDNOPREV is initial.

TDGETOTF is set to 'X'.

The open_form returns with a sy-subrc of 0, but itcpp-tdspoolid is 0.

When TDGETOTF is "on", does it prevent a spool id from being returned ?

If not, then why isn't spoolid being returned by OPEN_FORM?

Thanks for any insight anyone can provide.

djh

Accepted Solutions (1)

Accepted Solutions (1)

aidan_black
Active Contributor
0 Kudos

Hi,

if you set TDGETOTF, then the OTF data is returned from function module CLOSE_FORM in table OTFDATA. There is no spool generated. You could use function module PRINT_OTF to create a spool.

Regards,

Aidan

former_member181923
Active Participant
0 Kudos

Thanks AB - that's what I suspected but confirmation is great ...

best

djh

Answers (0)