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 generation missing

Former Member
0 Likes
1,093

Dear Experts,

I have a program which generates smartform in output. Once user executes the program the smartform will be written to spool which will be printer from SP01 Tcode by users.

I am facing a strange problem. I have a user id for which spool is generated correctly whereas for another user id the spool remains empty after executing the program.

Points Checked:

1) Both users have SAP_ALL & SAP_NEW auth

2) In defaults tab of SU01 Output Immediately Checkbox is disable as below,

Kindly share your valuable inputs for the same.

AWF.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
959

Hi Aspire,

Is the smart form being called for both the users? Any difference in data passed or data returned? 

Regards,

Shravan

5 REPLIES 5
Read only

Former Member
0 Likes
960

Hi Aspire,

Is the smart form being called for both the users? Any difference in data passed or data returned? 

Regards,

Shravan

Read only

0 Likes
959

Dear Shravan,

Thanks a lot for your instant reply. Yes the report will generate a internal table which has data to be printed in smartform. Both users call the same report which in turn writes the smartform to spool.

I am testing the report with same variant for both users. So the data picked, passed & returned are exactly the same.

AWF

Read only

0 Likes
959

Any difference in default parameters? Does the order of run for user 1 and user 2 matter? 

So the data picked, passed & returned are exactly the same.

Sorry for repeating this but did you check this in debugging? Sometimes for various reasons program flow may change for same input data as well and you may get different data fetched.  

Regards,

Shravan

Read only

Clemenss
Active Contributor
0 Likes
959

Hi Aspire,

in such cases it is a good idea to create a checkpoint-group using transaction SAAB. In the program, set specific log-points, i.e. before calling smartform. Use timestamp as subkey for logpoint.

This helps especially if forms are processed in background or you can't control when forms are started.

Regards,

Clemens

Read only

Former Member
0 Likes
959

Dear Shravan & Clemens,

Thanks a lot for your valuable replies. The issue was with the printer type. In SU01 Tcode I changed the printer from LP01 to LOCG and now the SPOOL is generated perfectly.

AWF