cancel
Showing results for 
Search instead for 
Did you mean: 

WAD: How to export results of web-item customer extension to pdf

Former Member
0 Kudos

Hello Forum,

I'm facing some problems trying to export a web template to pdf.

Maybe anyone has any idea on the following problem:

In our web-template, we add some information from z-tables via ABAP.

To do this, we use the web-item customer extension.

We get the required output on our web-template. Unfortunately we don't get any text

of this web-item in our pdf export.

We just return an html-table with some cells with information.

Do you have any idea how to do this?

Many thanks in advance for any idea on this problem.

Regards,

Tobias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tobias,

as mentioned by Nick not all web items are printable. However I do not know your detailled requirement. Is it an option to create text variables of type customer exit and fill these variables with the information which is stored in your z-tables? Using customer exit extension you could use ABAP to read the tables...

This way you could implement the content of the z-table(s) using i.e. text items (which are printable)?!?

Brgds,

Marcel

Former Member
0 Kudos

Hi Marcel,

thanks for your post.

Our target is to display a long-text ( > 60 characters) depending on the given selection-variables.

We already can do this with the customer extension and get the result-list with longtexts from the z-tables

as html-table.

We've thought about using text-items, too. But it seems to be not feasible to do some formatting table like, isn't it?

That's why I'm trying to get some information about the MODIFY_TABLE class.

Is that class still available in 7.0?

There were some information about some modify tags. Does anyone have some slides or how to links for this?

My aim is to build an custom table or replace content by text.


 <bi:ANALYSIS_ITEM name="LANGTEXT_EXIT" designwidth="400" designheight="200" >
    <bi:DATA_PROVIDER_REF value="DP_LANGT" />
    <bi:MODIFICATION type="CHOICE" value="MOD_SINGLE_MODULE" >
         <bi:MOD_SINGLE_MODULE type="COMPOSITE" >
.
.
.


 </bi:ANALYSIS_ITEM>

Many thanks for any information.

Regards,

Tobias

Edited by: Tobias Vogt on Jul 30, 2009 9:49 AM

Thanks for your hints.

Meanwhile this problem has been solved by using customer presentation.

Edited by: Tobias Vogt on Jan 11, 2011 1:47 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tobias,

Not all web items are supported when exporting to PDF.

Please check sap note 1069368 which explains further what web items are supported.

Thanks,

Nick.

Former Member
0 Kudos

Hi Nick,

thanks for your hint.

Do you any way how to get the results/texts from customer extension added to export?

In this extension we get some texts out of a z-table.

We don't see any other possibilities to get this texts into the web-template than this option.

Or is it feasible to get the texts written or appended to an existing table-web-item?

I've found the CL_RSR_WWW_MODIFY_TABLE class.

Can I use this to add text to an analysis-item that can be exported?

Many thanks is advance for any idea.

Regards,

Tobias

Edited by: Tobias Vogt on Jul 28, 2009 7:02 PM