cancel
Showing results for 
Search instead for 
Did you mean: 

stopping spool request even smartform is called

Former Member
0 Kudos

hi experts,

i have called one smartform from its driver prg made in se38.To stop that popup screen asking for output type and printer's name, i have explicitly assigned the values ie dotmat etc.....So when i press f8,spool request directly goes to printer without popup.But my problem is when there is no data in smartform i should stop that spool request from being generated.I mean if there is no data in internal table in smartforms how can i terminate the prosess???

Thanks,

Gaurav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check the following piece of code. It might help.

If <tabname>[] IS NOT INITIAL.

output_options-tdimmed = 'X'.

ENDIF.

Regards,

KK

Former Member
0 Kudos

hi,

actually i want to code this stuff in my smartforms,this is not only for internal table condition.But depending on any condition, If i want to stop the spool request from being generated,How can it be done???

Thanks,

Gaurav