07-02-2007 7:32 AM
Hi ,
I have an requirement where i have to exit from the smartform without printing the layout.any pointers on this would be helpful. The smart form has few select statements if those statements fail i have to exit from the smartform.
Thanks
Sap Surfer
07-02-2007 7:43 AM
Hi,
Before calling the SMARTFORM with the Function module use the IF condition, Check whether these selects will return some values or not, if this selects will not return any values then do not call this Function module
Regards
Sudheer
07-02-2007 7:43 AM
Hi,
Before calling the SMARTFORM with the Function module use the IF condition, Check whether these selects will return some values or not, if this selects will not return any values then do not call this Function module
Regards
Sudheer
07-02-2007 7:44 AM
You should give value 0 in page selection criteria.
to do this print preview not available and after that u should back from smartform.
If not solved post the problem in detail.
07-02-2007 7:46 AM
07-02-2007 7:47 AM
Hi ,
IF tu have written the select queries in Smartform itself, you won't be able to do it, i.e if selection is not successful than also the layout will be blank but it will be printed. The only way i think to go around this requirement is to write a deriver program and not call smartform when the select query fails or in some if.. else condition.
Thanks and Regads,
Saurabh Chhatre
05-22-2009 8:10 AM