cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink in Web template

Former Member
0 Kudos

Hi,

i have a requiremnt. I am using a Web-item "Table interface" in my web Template.i have a one field suppose <b>"Location</b>" shows building.NO. I required when user click on any building-no in "Location" field of the table. <b>A new pop-up window will open which shows the MAP or more detail about this building location.I have hyperlinks for each of building location details.</b>

if Yes, How it is possible and what is the possibility????

Template display dynamically number of records of "location" field and for each one we have a hyperlink to see more detail about the location detail.

Please reply and Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Heike,

for ur First solution i required little bit more detail how i use this method to make cell content as a hyperlink (any code) explanation.

RRI is not fullfill the requirment because u can only move to a single WEB page. its good if u have a master detail comination required.

i explain u in detail with table example: suppose i have 3 fields in my table and containg 20 records randomly and dynamic on the base of user selection.

empname deptID <b>deptlocation</b> ABC ID <b> England</b> XYZ 23-ID <b>North-city</b>

My requirment is when user click on "deptlocation" record a new window will open which shows MAP of the location in detail. so my each location record have diffrent hyperlink for his detail. it means i have 20 hyperlinks for my 20 "Location filed" records.

RRI for only predetermined report to report switching.

i think i explain enough. please reply back .

Former Member
0 Kudos

Thanks for reply,

This solution is good for static query.but In my case i take input from user and execute query.each time i get diffrent "Location" filed records.suppose 1st time i have

Loc1 , Loc2 Loc3 . 2nd time i get Loc15,Loc24,Loc2...etc after execution.

each location recored has diffrent Hyperlink.By your solution this is hard coded and will work if u already know the out put come from "Location" Field.

Thanks.

Former Member
0 Kudos

Hi,

in method characteristic_cell (which you would need to use) you have as input i_chavl and i_chavl_ext, which will give you the internal presentation of the key and the external presentation of the key). With those you could create your hyperlink.

See:

http://help.sap.com/saphelp_nw04/helpdata/en/7c/1cac3a22f0785ce10000000a11402f/frameset.htm

Alternatively you could create a RRI using transaction RSBBS and use the BW RRI command to jump to your Hyperlink (create the BW command in the characteristic_cell method.

See:

http://help.sap.com/saphelp_nw04/helpdata/en/84/2b813b731fd60ee10000000a114084/frameset.htm

and

http://help.sap.com/saphelp_nw04/helpdata/en/2a/fc6e3fefa13042e10000000a114084/frameset.htm

Heike

Former Member
0 Kudos

Hi Beeram,

You can resolve the issue by following the steps given below:

Since you know about table interface, you can change the cell content to a hyperlink. You can change the C_CELL_CONTENT from its original content to something like "<A HREF="YOUR LINK" target="_top"> original content </A>". This will enable you make the Location values as hyperlinks from where you can open new windows.

Let me know if you need further info.

Kartheek