cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When will the SPOOLID be retrieved/filled in ITCPP?

thomas_mueller8
Participant
0 Likes
701

Hello,

I'm writing a program which creates a nice sapscript form with some data on it. For each form I want to start a new spool request with a new number . So I'm filling the following parameters:

ITCPO-TDCOPIES

ITCPO-TDDEST

ITCPO-TDPREVIEW

ITCPO-TDNEWID

ITCPO-TDIMMED

ITCPO-TDGETOTF

in function OPEN_FORM. The result is passed back accordingly. Now I'm wondering, when will I receive the SPOOLID which should have been created because of parameter ITCPO-TDNEWID = X? What is missing or when will the SPOOLID be created?

Could somebody help?

Kind regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_mueller8
Participant
0 Likes

The SpoolID is passed back, function CLOSE_FORM, in structure ITCPP. This happens only is when print out is not started in preview mode.

Former Member
0 Likes

Hi,

Pass the same ITCPO structureinto the RESULT parameter of "CLOSE_FORM". it should work.

Edited by: Lokesh Tarey on May 31, 2011 12:49 PM