cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink with characteristic value - ZCL_RSR_WWW_MODIFY_TABLE

Former Member
0 Kudos

Hello experts,

I am trying to display characteristic value as a part of a hyperlink in web report.

I've already overloaded CHARACTERISTIC_CELL method and created class ZCL_RSR_WWW_MODIFY_TABLE.

I don't know where to put line <param name=u201CMODIFY_CLASSu201C value=u201DZCL_RSR_WWW_MODIFY_TABLEu201D/> in WAD 7.X.

Tags for table are different in new version. It looks like this:

<bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1" designwidth="400" designheight="300" >

<bi:WIDTH value="400" />

<bi:HEIGHT value="300" />

<bi:DATA_PROVIDER_REF value="VP_GRAF" />

</bi:ANALYSIS_ITEM>

No <object> tags are avaible.

Edited by: Ondrej Vach on Jul 3, 2009 2:24 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The WEB Design API includes Table Interface Classes that You are aware of,but with WAD 7 the Table Interfase Feature has been replaced by other feature.

Using Parameter Modification you can acheive your requirement. The Modification parameter provides modules which can be used to controll the beheviour of Analysis Web Item.

<bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1" designwidth="400" designheight="200" >

<bi:DATA_PROVIDER_REF value="DP_1" />

<bi:MODIFICATION type="CHOICE" value="MOD_SINGLE_MODULE" >

<bi:MOD_SINGLE_MODULE type="COMPOSITE" >

<bi:ACTIVE value="X" />

<bi:MOD_SELECT type="CHOICE" value="MOD_GENERIC_MODULE" >

<bi:MOD_GENERIC_MODULE type="COMPOSITE" >

<bi:MOD_REFERENCE value="com.sap.ip.bi.rig.ColumnWidth" />

<bi:MOD_PARAMETER_LIST type="ORDEREDLIST" >

<bi:MOD_PARAMETER type="COMPOSITE" index="1" >

... (add parameter here, see below for details)

</bi:MOD_PARAMETER>

</bi:MOD_PARAMETER_LIST>

</bi:MOD_GENERIC_MODULE>

</bi:MOD_SELECT>

</bi:MOD_SINGLE_MODULE>

</bi:MODIFICATION>

</bi:ANALYSIS_ITEM>

Refer following Link :

http://help.sap.com/saphelp_nw2004s/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm

Bhavna.

Former Member
0 Kudos

Hello Bhavna,

I still don't see how can I create a hyperlink in a cell with characteristic value. Lets say I have cell with 0COSTCENTER characteristic value, in which tag do I specify that costcenter is used and where can I specify hyperlink pattern?

[http://help.sap.com/saphelp_nw2004s/helpdata/en/47/a061f612753377e10000000a421937/content.htm]

BR

Ondrej

Former Member
0 Kudos

Hi,

Correct me if I m wrong, my understanding about the scenario is that you want some data manipulation for a column to display Characteristics value as a hyperlink. and on click of the characterisitc value some reprot (URL) should get triggered.

Well the Modify_Class tag will not help in WAD 7. Modification Tag is the substitute for the same. Modification Tag uses various parameters such as to change the cell content as is your requirement.

Go through following link.will surely help.

http://help.sap.com/saphelp_nw2004s/helpdata/en/47/a7f99310971503e10000000a42189c/content.htm

Former Member
0 Kudos

Hello Bhavna,

you undestand scenario well, but the link you posted isn't helping.

what should I write instead of this line to create a link?

... (add parameter here, see below for details)

I am using characteristic 0BBP_SC_ID and I want cell to contain

<a href="https://mysite.org/page1.jsp?BBP_SC_ID=100000001">100000001</a>

a href="https://mysite.org/page1.jsp?BBPSC_ID=100000001"_ 100000001_/a_

I wonder if it is even possible to do.

Edited by: Ondrej Vach on Jul 9, 2009 5:51 PM

0 Kudos

Hi,

I don't think it's possible to change the cell content in a analysis item. If you jsut have to pass a characterisic value, you can add entries to the context menu (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/e073a356e32972e10000000a42189b/frameset.htm), or just use the RRI-Interface.

If you have to determine additional information based on the characteristcs value, you can create your own report type based on this:

http://help.sap.com/saphelp_nw70/helpdata/en/45/e5ab04810473b1e10000000a11466f/frameset.htm.

I implemented a solution to read and display PDF-documents from archive this way.

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

normally use WAD7.x the java engine.

modify table is ABAP so I think you can't use these option.

But try this:

<bi:MODIFY_CLASS value="ZCL_RSR_WWW_MODIFY_TABLE" />

maybe it works

regards Sven

Former Member
0 Kudos

Hello Sven,

thank you for response, but result is:

Unknown bi-tag bi:modify_class, please check your spelling