Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Refresh page or refresh frame

Hello all,

I have the following installed:

Client 7.0 SP14

MAM 3.0 SP4 P8

I have a screen with 2 frames on it. The first one is the standard equipment detail and the second one is a customized edit screen.

On the customized edit screen I have a button "Save". When pushed the application had to do some business logic and in case of error the frame must be refreshed, otherwise an other screen must be shown. (Refresh page). How can this be realized?

This is the code which I now use for the button, but it always refreshed the page. If I use the commented line (framename) it always refresh the frame:

	<% {
	String js = helper.genericEventURL(
	new String[]{"onSaveZEquipMeasureDocs"}, 
//	new String[]{"ZEquipMeasureDocs"}, 
	new String[]{"page"}, 
	new String[][]{new String[]{}}, 
	new String[][]{new String[]{}});
	%>

TIA

Patrick Willems

Former Member
Former Member replied

Hello Patrick,

What is the piece you are missing? You only have to have a JSP that will load in the frame and call this javascript which in return will reload the entire page.

You have to create your JSP and have the javascript executed:

using the on load=" navigate To(...)" of the body

or s imple script tag in the body

Julien.

Edited by: Julien Guimont on Oct 10, 2008 9:15 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question