cancel
Showing results for 
Search instead for 
Did you mean: 

Text visibility only in Print Preview Mode & Should not come in Hard copy !

Former Member
0 Kudos

Hi All,

Is it possible to have a text which is visible only in Preview but should not come in Printed hard copy ?

Regards

Ajay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

In the FM OPEN_FORM of your print program you will be passing whether it's print preview or not in the Options parameter

i.e.


CALL FUNCTION 'OPEN_FORM'
  EXPORTING
    FORM       = 'Z_SAMPLE'
    OPTIONS    = itcpo

Just have an if statement in the SAPScript to only print this when that value = 'X' (i.e. IF &itcpo-tdpreview& eq 'X').

Regards,

Michael

Answers (1)

Answers (1)

Former Member
0 Kudos

Any hint guys ????