cancel
Showing results for 
Search instead for 
Did you mean: 

Printing of standrad text only for Print and fax mediums not for other med

Former Member
0 Kudos

Hi All

We are using a Script for Purchase orders(Out put type NEU) .

This Script is assignd for print(1) , fax(2) and external send(5) medium .

Issue :

I am including a standrad text in main window of the script to print at footer part of the program .How to Restrict This Text printing only for Printing and Fax Mediums but not for External send medium ?. It should not appear for other mediums apart form print and fax. Is it feasible ?

Thanks,

Dharma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you tried looking at NAST-NACHA?

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dharma,

We can check form the Print Program itself what we have selected suppose you select as 'External Send' we will assign a variable <b>ws_medium = 'X'</b>.

In the script we can put the check.

/:   IF &ws_medium& NE ' '.
     Print the code for footer
/:   ENDIF.

Regards,

Tushar

Former Member
0 Kudos

HI Dharma,

If NAST-NACHA = 1 or NAST-NACHA = 2.

print the Standard text in the Form.

endif.

these will not print the Standard text for the other mediums = 5.

Thanks,

Nelson