2014 Aug 06 7:51 AM
Hi All,
In my smartform , i have certain global fields . If the value of these fields is initial then the form should not be printed at all and
an error message should populate instead.
How can I acheive this,
Thanks,
Faiz
Hi All,
In my smartform , i have certain global fields . If the value of these fields is initial then the form should not be printed at all and
an error message should populate instead.
How can I acheive this,
Thanks,
Faiz
2014 Aug 06 8:08 AM
Hi Faiz,
There are two way to restrict smart form.
1st : before the calling smartform check value if value is empty then dont call smartform and populate Error message.
2nd : create code in smartforms and check the value if value is empty then then use message statement with Type of E.
Regards,
Nadim
2014 Aug 06 9:05 AM
Hi Nadim,
The 1st method u suggested involves change in the driver program which i dont want, the second option is to control at the form level which suits my requirement but my question is that if we write an error message it will still display the form .isnt it ??
2014 Aug 06 9:08 AM
2014 Aug 06 11:59 AM
hi faizur,
you can disable your printing button using ssfcompop-tdnoprint = 'X'.
use this your if initial condition, hope you can solve your problem.
Regards.
Jaydeep
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |