on 08-16-2007 1:02 AM
Hi All ,
I would like to pass parameters to webdynpro application , Can i use "Application parameters" field to do this ,while creating webdynpro iview ??.
If i can use this , is it possible to pass any set of "name = value "
pairs or is it possible to pass only standard parameters??.
Regards,
tarun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thr...
Theres one other way as well... You can have variables in your Portal Scope and use these variables across WD applications....
The imports required in WD application for requirement are as follows:
import com.sap.tc.webdynpro.services.session.IClientSession;
import com.sap.tc.webdynpro.services.session.IScope;
The code snippet for putting the variable in portal scope from WD App1 is:
IClientSession session = Utils.getCurrentClientSession();
IScope scope = session.getScope();
scope.put("PROJECT_ID",wdContext.currentProjectElement().getProjectId());
/**
The above code will be written in Project WD application from where the selected project Id will be exposed in the portal scope.
/**
The code snippet for getting the project id from portal scope in WD App2 is
Integer proj = (Integer) scope.get("PROJECT_ID");
/**
The above code is written in those applications that want to access the variable Project_ID from the portal scope.
/**
I hope this helps you.
Regards
Kapil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chk it
/thread/16398 [original link is broken]
/people/prakash.singh4/blog/2005/10/07/how-to-launch-sap-transaction-pass-parameters-via-url
/thread/72371 [original link is broken]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.