cancel
Showing results for 
Search instead for 
Did you mean: 

How to call iview on button action?

Former Member
0 Kudos

Hi all,

I developed a report in WDA.I have a button on this .if i click on this ineed to call anthoer application which is developed in WDj.

so i used CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW

EXPORTING

URL = ' '

MODAL = ABAP_FALSE

HAS_MENUBAR = ABAP_TRUE

IS_RESIZABLE = ABAP_TRUE

HAS_SCROLLBARS = ABAP_TRUE

HAS_STATUSBAR = ABAP_TRUE

HAS_TOOLBAR = ABAP_TRUE

HAS_LOCATION = ABAP_TRUE

RECEIVING

WINDOW = lo_window.lo_window->open( ).

I need to give dynamic url based on login client .How can i give?

Thanks in Advance

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Abhi,

I already gone through this document.But i didn't get anything clear.

Here to construct a url i need to get the port number & client at runtime.(dynamic)

How should i get those.is there any methods to get those parameters.

Regards,

Ravi

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Bhargava

Its very simple, you don't need any host name and port number, if you use the above coding

you just have to specify the PCD location of the iView

At runtime the API automatically picks the host and port number.

I didn't get why client is required it is known at the System creation in portal

Abhi