Skip to Content
0
Former Member
Feb 11, 2009 at 07:47 PM

Automatic the calling webpage after closing webdynpro application

45 Views

Hi All,

We are on SRM 5.0 and we are launching a custom webdynpro application from the Sourcing Cockpit. We added a custom button on the sourcing cockpit and that button would launch the custom webdynpro application as shown below in the PAI event.

DATA : lv_url TYPE string,

l_obj type SMENSAPNEW-REPORT,

l_rep type SMENSAPNEW-REPORTTYPE,

l_url type SMEN_BUFFI-URL.

CALL METHOD cl_wd_utilities=>construct_wd_url

EXPORTING

application_name = 'Z_SC_UPD'

IMPORTING

out_absolute_url = lv_url.

l_obj = 'URL'.

l_rep = 'OT'.

l_url = lv_url.

CALL FUNCTION 'MENU_START_OBJECT_VIA_INDX'

EXPORTING

OBJECT_NAME = l_obj

REPORTTYPE = l_rep

URL = l_url.

The webdynpro Z_SC_UPD will update the custom fields in the shopping cart. Upon closing of this webdynpro application, we need to refresh the screen of Sourcing cockpit to reflect the changes that Webdynpro just made. Is it possible. Please advise?

Thanks

Abapinator.