Navigate to the BO form iview whose pcd path you need. Right click on it. And click on copy Id.
The pcd path will be copied now paste it to your code. For example
“pcd:portal_content/com.test.fld_TEST/com.test.fld_FORM/com.test.fld_form_iviews/com.test.ivu_bo_form_1”
public void onActionOpenboform(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
String l_str_iViewPath = null;
String l_str_dbParamters = null;
//pcd path of the form to open
l_str_iViewPath="pcd:portal_content/com.test.fld_TEST/com.test.fld_FORM/com.test.fld_form_iviews/com.test.ivu_bo_form_1";
// open document PARAMETER
l_str_dbParamters= "&sRefresh=Y&NAII=Y&sOutputFormat=H";
// setting the parameter for the filters of BO form
String l_str_businessParam = "&lsSEnter+Year:=" + 2013 + "&lsSEnter+Name:=" + "ABCDE"
String l_parameters = l_str_businessParam + l_str_dbParamters;
//Navigate to page
WDPortalNavigation.navigateAbsolute(l_str_iViewPath,WDPortalNavigationMode.SHOW_EXTERNAL, "toolbar=no,resizable=yes", "MyWindowName",WDPortalNavigationHistoryMode.NO_HISTORY, "MyTargetTitle",null,l_str_dbParamters);
}
3. Execute the application
(here, We have passed Year =2013 and Name =ABCDE)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
9 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |