on 06-08-2007 10:28 AM
Hi Experts,
--I have on small doubt in WebDynpro.
--If we create any application in WebDynpro it will generate one url to run this application.
--My requirement is i need pass one parameter to WebDynpro application url(like how we will pass parameters in JSP/Servlets - Using getParameter we get the values) , I need to access the parameter values and get values from R/3 to cooresponding parameter values and displayed in table. For this one alternative while creating the iVew in portal we can pass the values to that , But i don't want in portal, my application is normal development.
Please help how this is possible.
Thanks,
Sunil
Hi Sunil,
Since this is class is deprecated in the NW04s the version I am using.
Try using RequestAdapter.I think you can achieve the same with the it.
If you need any clarification regarding the request Adapter please let me know
I'll mail you the code.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
You can access the parameters passed to webDynpro.If you are appending it to the webdynrp app URL.
IWDWebContextAdapter webContext = WebContextAdapter.getWebContextAdapter();
String param = webContext.getRequestParameter("key");
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for fast reply.......
If i put this code in webdynpro i am getting error like WebContextAdapter is cannot resloved. I import package also.
import com.sap.tc.webdynpro.services.sal.adapter.api.IWDWebContextAdapter;
But it is giving error...........
If u know any sloution please let me know........
Thanks,
Sunil.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.