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 problem

Former Member
0 Likes
455

Hi!

In case of a report, if there is any particular condition not fulfilled, we have to show the message in a spool.

How to do that.

regards

Amit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
436

Hi,

If l_condition is not true.

NEW-PAGE PRINT ON.
Write :/ 'Condition is incorrect'.
NEW-PAGE PRINT OFF.

Spool would be created once the condition is satisfied.

Best regards,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
436

Hi,

In bckground job all write statments will create spool.

You can process your program in background.

the below link will hepful for u.

http://help.sap.com/saphelp_40b/helpdata/en/d9/4a98f351ea11d189570000e829fbbd/content.htm

Read only

Former Member
0 Likes
437

Hi,

If l_condition is not true.

NEW-PAGE PRINT ON.
Write :/ 'Condition is incorrect'.
NEW-PAGE PRINT OFF.

Spool would be created once the condition is satisfied.

Best regards,

Prashant

Read only

Former Member
0 Likes
436

Hi,

Use

NEW-PAGE PRINT ON.

Write : <Message>.

  • sy-spono will contain spool request number

NEW-PAGE PRINT OFF

Regards,

Mohaiyuddin