on 03-04-2009 9:58 PM
Hi Experts
I'm a new bee in WebDynpro Abap. I try to import a service call (an RFC function from ABAP) into the component controller of my WDA application. What I understant is there supposed to have context node with the same RFC function name ( ie. I use the same RFC fct name) and parameters (what ever) inside the context node of the component controller after using Component/Create/ServiceCall. What happened after ther service all is I have context node with same fct name but no node nor attributes inside it. They are in attributes of the component controller instead.
Example :
1) Create/Service call fct BAPI_FLIGHT_GETLIST
2) Node BAPI_FLIGHT_GETLIST created in component controller context (nothing inside this node)
3) The parameters AIRLINE, DESTINATION_FROM, DESTINATION_TO, MAX_ROWS all appear as attributes in component controller instead of being in the node BAPI_FLIGHT_GETLIST
I try to understand, please help
Thanks a lot for you time
Hi Dean,
As per your question, you are not able to view any attributes or node inside the context node created with the same function module name.
The problem is that when we are using the service call in the web dynpro abap then in the Adapt Context steps-
we have to change the object type - Controller Attribute to the Context/attribute type for the parameters we want . After doing this changes you are able to see the node and attributes in the context node.
Hope this will helps you.
Regard
Manoj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dean,
Please refer this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600].
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dean,
Go thru the below video link, it clear explains how to call a FM or RFC or BAPI in webdynpro ABAP
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/093055e7-0b01-0010-d89d-cf883dd27d1f]
Its an MVC paradigm. Essentially when using webdynpro we create Context & attributes(Model) . These are binded to UI elements(View) for data exchange. When Binding exists the data entered in the binded UI element can be accessed via set of method calls , also the data from context can be written back to the UI component.
Same data can be used across different views within a WebDynpro component, Context is created at Component Controller level, since component controller can be accessed from all view.
[http://help.sap.com/saphelp_erp2005/helpdata/EN/de/408e41392fb85fe10000000a1550b0/frameset.htm]
Greetings
Prashant
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.