cancel
Showing results for 
Search instead for 
Did you mean: 

Use two different printer services in one web template?

Former Member
0 Kudos

Hi!

Is it possible to use two different help services for printing in the same web template (for the same table item)?

Print1:

<param name="HELP_SERVICE" value="HELP_SERVICE_PRINT"/>
<param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>

Print 2:


<param name="HELP_SERVICE" value="ZPRINTING"/>
<param name="HELP_SERVICE_CLASS" value="ZBW_PRINT_HELP_SERVICE"/>

I was thinking that you maybe could change the param name values for the "Help_service" and the "help_service_class" at runtime using the properties for the table item, so that you could choose which one to use, but I havne't been able to do that so far.

Does anyone have an idea?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This is not a problem. Just put the print service for the print to excel on an object other than the table web item. As long as these print services exist on any web item, you should be able to invoke them. I've tested this with putting the "Print with Excel" service on the Navigation Block Web Item and the other print service on the table web item. Hope that helps!

Prakash

Former Member
0 Kudos

Thanks Prakash,

I now use two table items (one for each print service) like you propose. I also set one of them to always be hidden in the web template (so that I won't have duplicate tables). The print functionality seems to work despite that.

Cheers,

Olof