cancel
Showing results for 
Search instead for 
Did you mean: 

buttons in BSP

Former Member
0 Kudos

Hi,

I have a button say A which does not have onClick attribute in its attribute list(some button handler class in standard SAP).When this button is pressed it opens up a popup (all coded inside the standard SAP class). When this popup is closed and I return to the parent page I need to have a server round trip. Please suggest how should I go about. One way I thought of was use hidden htmlb button. But i do not know how to proceed with this solution.

Please suggest.

Thanks,

S Sarma.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Raja,

My actual problem is still severe. On the popup window there is some data which updates fields on the parent page on closing.This is done by javascript. I need to have a roundtrip only when all the fields in the main page get updated from the popup window.

Where should the window.opener.reload() code be written in that case? The ideal place would be just before the window.close() method but however I am not too sure if that would update the parent page fields.

Please suggest.

Regards,

S Sarma

raja_thangamani
Active Contributor
0 Kudos

Using below statement you can pass the value from Popup window to Parent window:

<div class = "jive-quote">opener.document.some_form.some_field.value=some_value; </div>

Look at below thread, same refresh issue discussed

[Page Reload|;

Raja T

raja_thangamani
Active Contributor
0 Kudos

You can use Javascript

<div class="jive-quote">parent.parent.window.opener.location.reload(); </div> to make round trip after popup is closed.

Raja T