cancel
Showing results for 
Search instead for 
Did you mean: 

Structure binding

Former Member
0 Kudos

Hi,

Can you please tell me

What is Structure binding ?

What is the advantage of Structure binding ?

Advance Thanks,

Namrata..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

.

Answers (3)

Answers (3)

Former Member
0 Kudos

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

former_member197348
Active Contributor
0 Kudos

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

former_member201361
Active Contributor
0 Kudos

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