on 03-30-2009 1:56 PM
Hi,
Can you please tell me
What is Structure binding ?
What is the advantage of Structure binding ?
Advance Thanks,
Namrata..
Hi narmata
structure need very essention in webdynpro because do not want to create context every time one by one (like-value node,attribute..)in your view controller and component controller as per requirement.onec you create the structure and using the structure at time of creation of context value node (one option is there checked check box bindstructure and next buton click )then automaticaly created in your context of you any controller(as per you will)
this is good partice for creation of context.one benefit is reduce the cost of time.and reusability structure any contoller within any component within same application instead od doing creattion value node then attribute repeatedly.
thanks
sudhir
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
adding to the above posts , there may be some time requirement as you have to create
Value Node with value attributes similar to the Model Node Model atrributes , where all the
data types have to same for the value attributes , and using RFC model all the strcutures from the
backend gets stored int he Local DIc - > structures .
So when you Create a Value Node , you can directly check the Check BOX Strcuture Binding
and select the Model Node from the RFC .
murali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namrata,
Welcome to SDN!
Probably you joined in this forum yesterday.
I will try to answer in simple words.
What is Structure binding ?
Binding the context nodes with the structures available in the Local Dictionary. You can find these structures in the web dynpro tree structure. Go to Dictionaries -> Local Dictionary -> Structures
You can define the structures with predefined custom type fields here or when you create models (e.g. Adaptive RFC models) the structures in the model will be created in the the Local Dictionary.
What is the advantage of Structure binding ?
Reusability and consistency.
We can reuse the structures. You can bind more than one the nodes to the same strutcure.
We can use the same structure in more than one place and whenever we need to change the we can change it in one place i.e. in Local Dictionary.
Other than these, we can specify the key for the table and specify whether ay filed can be null or not just like other database tables.
Hope I made it clear to you.
Regards,
Siva
Edited by: Siva Rama Krushna on Mar 31, 2009 7:55 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Structure Binding is a method for creating a new node .
if u have created a Structure in Java dictionary say :
Structure name : Employee
Structure Elements: Name and Age
if u wnat to create a node say employee and Attributes Age and Name , then u can go for Structure binding .
in the context--> right click --> new node --> Structre binding --> select the structure and elements and click on finish.
check this article page 24 :
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00807201-e3da-2a10-9899-9cf204342402]
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.