cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic update of SAP transaction iview

Former Member
0 Kudos
41

Hello,

I want a SAP transaction iView to be updated at a certain time interval. I found a relevant thread and Weblog , see links at bottom of post.

I am however unsure about how it is performed. I figured out where to download the (hopefully) relevant par file (com.sap.portal.appintegrator.sap.par.bak) and also managed to open it in NWDS. However I'm unsure where the javafiles mentioned in the blog should be created, and where to find the portal.xml file.

Any help on this problem is appreciated.

Relevant links:

Weblog :

Thread:

Regards Jørgen

View Entire Topic
thomas_csapo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jørgen,

easiest thing to do would be: Create a new Portal application project in the NWDS. Put the two Java classes into the created src.core folder and the jsp into dist/PORTAL-INF/jsp. portal.xml is actually not completely correct, it shoud be "portalapp.xml", which can be found at dist/PORTAL-INF.

Afterwards you just have to modify / extend the coding the way you require it.

Hope it's clear now

Regards,

Thomas

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Thanks for pointing that out. I have updated the weblog.

Regards,

Rich Heilman

Former Member
0 Kudos

Hello Thomas,

thank you for a very helpful answer.

you solved a lot of my issues. However my JAVA skills are a bit rusty.

NWDS complains that the following imports in RefreshNav.java could not be resolved.

import com.sapportals.htmlb.event.Event;

import com.sapportals.htmlb.page.*;

import com.sapportals.portal.htmlb.page.*;

It does not complain about import com.sapportals.portal.prt.component.*; so the libary should exists.

How do I handle this issue?

Regards,

Jørgen

thomas_csapo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jørgen,

you need to add the library htmlb.jar, which can be found at usrsapj2eeclusterserver0 inextcom.sapportals.htmlb.

Regards,

Thomas

Former Member
0 Kudos

Hello,

just to wrap this thread up. Adding the htmlb.jar file helped. But I'm still having problems with the import of com.sapportals.portal.htmlb.page.*;.

As far as I can see downloading the htmlbridge.jar should help this.

The jar file com.sap.portal.htmlb_api.jar helped. This is according to some post the new name for htmlbridge.

Message was edited by: Jørgen Ruud

Former Member
0 Kudos

Hello,

I have been working with this problem to and from, and been unsuccessful in my attempts. I must admit that my attempts may not have been the best, as I am pushed for time (and maybe even lack knowledge in this area of the portal :=)). However before I sit down to have a real go:

Have anyone actually been successfully in creating a SAP transaction iview to update every X seconds. I do not want to spend a lot of time if this is impossible.

A "detailed" approach on how this is done is appreciated.

(if someone already have solved it, I would not mind if anyone could send it over so I could have a look at the code; jorgen.ruud@gmail.com)

Best Regards,

Jørgen Ruud