on 08-07-2007 11:55 AM
Hi ,
I am trying to read parameters passed to me by SAP Portal in my WDDOINIT of component controller. but I do not know how to do it .I have done this kind of thing in BSP applications many times but not getting any help in ABAP Webdyn Pro.
any help is much appriciated.
Kind regards,
Gaurav
Hi Gaurav,
In WD ABAP, we can define the paramters in the Webdynpro componetn by defining the importing parameters in the default interface view's inbound plug's method. If we define the importing parameters in the inbound plug (for example DEFAULT plug of the window) then they are visible in the parameters tab in the WD application.
In the window(which is associated to the application), create the navigation links to all the target views by creating the outbound plugs and assicting to the target views inbound plugs.
We can recieve the parameters in the inbound oplug method (HANDLE<plugname>) of the window (interface view assiciate in applicaiton). In this method write a logic which checks the value provided to the application (via URL) and based on this plug fire the appropriate plug which takes to the target view.
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurev,
At WDDOINIT the parameters are not yet available. You can read then in the inboundplug of the window. Normally you would declare them as input parameters of the inbound plug. Then they are simply passed as parameters.
This method will be called <b>after</b> WDDOINIT of the component controller, the window and the first view is called.
Ciao, Regina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Regina,
Thanks for prompt reply.Yes I can see that its being passed in inboundplug of window, but idealy I would have required them in very first place (WDDOINIT) so that my application behave differently depanding on the value of these parameter. is there any way I can call them method of this inbound plug in my WDDOINIT ?
if not then what excatly is the order of call
WDDOINIT of compomnet copntroller -> window inbound plug -> First View ?
Am I missing some thing in between?
Thanks a lot.
Regards,
Gaurav
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.