cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass dynamic params to Transaction iView from webdynpro java app

birojpatro
Contributor
0 Kudos

Hi Experts,

I am trying to call a transaction iview in PCD from my Dynpro application with a dynamic param.

Can somebody help me generating the URL for transaction iView and passing the dynamic params???

Thanks in advance

biroj...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Biroj:

This Blogs probably helps you:

How to pass dynamic URL parameters to web applications integrated via Application Integrator:

How to launch SAP transaction & pass parameters via URL:

Good luck.

Rocío.

Answers (4)

Answers (4)

birojpatro
Contributor
0 Kudos

Thank you all.....

Former Member
0 Kudos

Hi,

Use portal navigation and business parameters. Something like this:


WDPortalNavigation.navigateAbsolute("navigationTarget",  //this should be of the form ROLES://portal_content/..... replace pcd: with ROLES: in the full PCD path of the ivew
			  	      WDPortalNavigationMode.SHOW_INPLACE, 
			  	      (String)null, 
			  	      "<windowName>", 
			  	      WDPortalNavigationHistoryMode.NO_DUPLICATIONS, 
			  	      (String)null, 
			  	      (String)null, 
			  	      "parameter1=value&parameter2=value2", //the parameter names should be the ABAP screen field names. You can find these from R/3 using the Technical help.
			  	      false
			  	);

Regards,

Satyajit.

Former Member
0 Kudos

Hi,

Generating the URL:


StringBuffer strBuff = new StringBuffer("/webdynpro/dispatcher/xyz.com/xx~xxxx~xxxxx/xxxxxApp");
		strBuff.append("?");
		strBuff.append("TCODE=");

strBuff.append("" + WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("TCODE"));
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strBuff.toString(), "TCODEWindow");
window.show();

Please try the above code snippet helps you to create a TCode iView in a new window.

or

We can include URL parameters in a portal URL that calls a Web Dynpro page and these parameters can be forwarded to the otehr iVIews on the page.

Example:


http://xxxxxxxxx.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.WebDynpro?System=SAP_XXXXXXXX&WebDynproNamespace=xxxxx.com&WebDynproApplication=xx~xxxx~xxxx/xxxxApp&DynamicParameter=u201DTCODE=VA02u201D

For more information Please go through this:

http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm

Thanks

Krishna

former_member197348
Active Contributor
0 Kudos

Hi,

Check this thread[thread|;

Regards,

Siva