‎2008 Aug 06 11:49 AM
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
‎2008 Aug 06 12:37 PM
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
‎2008 Aug 06 12:30 PM
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
‎2008 Aug 06 12:37 PM
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
‎2008 Aug 06 12:38 PM
Hi,
Use
NEW-PAGE PRINT ON.
Write : <Message>.
sy-spono will contain spool request number
NEW-PAGE PRINT OFF
Regards,
Mohaiyuddin