Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

How to call IAC Iview from WebDynpro java code

$
0
0

Hi Team,

 

 

I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.

 

Below is Java Code which i am calling.

 

  public void wdDoInit()

  {

      try {

            

            String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");

            

             String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     

             //wdContext.currentContextElement().setRandomNumber(random);

 

//below we are call URL           

WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,

                   WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");

          

        } catch (Exception e) {

            // TODO Auto-generated catch block

            e.printStackTrace();

        }

  }

 

 

 

I am passing value from URL.

 

http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111

 

when we call above URL we getting blank screen.

 

 

 

 

Regards

Pankaj Kamble


Viewing all articles
Browse latest Browse all 3876


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>