Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SPOOL orders

Former Member
0 Likes
678

Hi. I have the next problem. My main program call differents smartforms. What I want to do, is capture the spool order of the first smarform (wich I already know), and pass that order to the next smartform, because right now, i can capture the spool order of the first smartforms, but when i check the spool (sp01), only appears the first smartform.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
607

You should Call your all Smartforms FM within the call of FM SSF_OPEN and SSF_CLOSE.

It should be like:

Call FM SSF_OPEN

Call FM Smartform_FM1

Call FM smartform_FM2

..

Call FM Smartform_FMn

Call FM SSF_CLOSE

While calling the SSF_OPEN FM set the control parameters like:


data:  control type ssfctrlop.
  control-no_open   = 'X'.
  control-no_close  = 'X'.

Check Program SF_EXAMPLE_03 for reference.

Regards,

Naimesh Patel

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
608

You should Call your all Smartforms FM within the call of FM SSF_OPEN and SSF_CLOSE.

It should be like:

Call FM SSF_OPEN

Call FM Smartform_FM1

Call FM smartform_FM2

..

Call FM Smartform_FMn

Call FM SSF_CLOSE

While calling the SSF_OPEN FM set the control parameters like:


data:  control type ssfctrlop.
  control-no_open   = 'X'.
  control-no_close  = 'X'.

Check Program SF_EXAMPLE_03 for reference.

Regards,

Naimesh Patel

Read only

0 Likes
607

sorry, where i can find that programm example???

Read only

0 Likes
607

In SE38.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
607

This message was moderated.