cancel
Showing results for 
Search instead for 
Did you mean: 

Printing from Internet TransactionServer(ITS)

0 Kudos

Printing from Internet TransactionServer(ITS)

Posted: Sep 12, 2005 7:23 AM Reply E-mail this post

Hi All,

I have a list for example.

Write "hello World".

I would like top print this list on the local printer on the press of the push button 'PRINT'.

I have done this in the R/3 but when i am trying to print the same list over the ITS , i dont see any output.

I have used GET_PRINT_PARAMETER form to print this list.

Is it possible to print this list using ITS also?

Please help. Its urgent.

Thank you

Best Regards

Ankush

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Yes . It's much possible .

In your program , just use

W_OPT-TDDEST = 'LOCL'. "default to local printer

W_OPT-TDIMMED = 'X'. "print immediately

W_OPT-TDDELETE = ' '. "delete after print

W_OPT-TDNEWID = ' '. "new spool request

W_OPT-TDPRINTER = 'X' .

W_OPT shd be of the type ITCPO.

CALL FUNCTION 'OPEN_FORM' "open layout set

EXPORTING

DEVICE = 'PRINTER'

DIALOG = ' '

FORM = W_LAYOUT_SET

LANGUAGE = SY-LANGU

OPTIONS = W_OPT.

  • OPTIONS = USER_PRINT_PARAMS.

  • IMPORTING

  • LANGUAGE =

  • NEW_ARCHIVE_PARAMS =

  • RESULT =

  • EXCEPTIONS

  • CANCELED = 01

  • DEVICE = 02

  • FORM = 03

  • OPTIONS = 04

  • UNCLOSED = 05.

*

-


I suggest you to go for SAPSCRIPT / smartform .

i have done this before . If u hav any Query ,revert back to me .

Rgds,

J

Do Awrd Points by Clicking options at the Left hand side of this info .

Former Member
0 Kudos

If this function is generic function?? i meant a standard function which will be called on trying print option, so we have to to define a call for this function also..

How we can handle this..

regards,

Former Member
0 Kudos

Hi Jothy,

I am also facing the same Print Problem in ITS , how would you achieved this ? I am trying to get default printer in ITS but i dont find. It finds in SAP GUI .

I know that some issue is with ITS for finding LOCAL printer.

Could you tell me how did you solved this issue.

I appreciate your response

Thanks

Pradeep Reddy

Former Member
0 Kudos

Hi Ankush,

Local print is a known problem (see note 314568). You don't indicate the version SAP you are connecting to but note 351230 has a solution for 46 or better that sends the output to Adobe Acrobat.

Regards,

Russ