Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Smartform spool appending for Pay1/Pay2

$
0
0

Hi Experts,

 

My development of Payslips smartform is done, its all working fine and form has been generated.

 

Here is some issues for spool generation:

 

First time I run the program (batchjob) for 2 employees, I get 2 pages one for each employee, as expected.

 

S1.jpg.

 

When I again run the same program for 3 employees, 3 pages are added (appending) to the same spool request.

 

s2.jpg

 

My requirement is to create a new spool when the program is executed for the next time.

 

I have tried setting NO_OPEN and NO_CLOSE in control parameters and also

I have tried with several output option settings. I have also tried using FMs SSF_OPEN and SSF_CLOSE. But no luck so far.

 

Please guide me any experts how to avoid appending the spool files thru program or any standard settings.

 

I found some references also:

 

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4e/a6d1cb507e25cfe10000000a421937/content.htm

 

Thanks in advance.

 

Viji.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>