Skip to Content

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

IWDPageService return empty iView


I have WebDynPro Java iView and a non-WebDynPro iView that is attached a portal page. In the the WebDyn Pro Java iView, I have tried execute code to call portal service (page service) in order to get information of how many visible iView in the particular portal page and try to hide the non-WebDynPro iView from the portal page.


After the execute the code below, the iView name array contains nothing (length equals to zero). I expected the length be 2 (as it contains 2 iView).

IWDPageService pageService = (IWDPageService)
	if (pageService!=null){	
		// String array receives iView names
		String[] iViews = pageService.getVisibleIViews();
                *// iViews length is 0*
		if (iViews!=null){


Sharing reference for page service is not set in the WebDynPro component as written in the SAP article.

I would like to know why does this happen.

Former Member
Not what you were looking for? View more on this topic or Ask a question