cancel
Showing results for 
Search instead for 
Did you mean: 

abt dictionary type

Former Member
0 Kudos

what is difference and benefits we will get

if we create the dictionary type

like simple and structure datatypes

with normal datatype(without creating dictionary type)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Main reasons

1)if u created once we can use that simple type anywhere in same r different view using structure binding.

2)if u didnt create simple type, for every view u have to create separately...

3)time consuming

4)using these we can set our own lenghts for string

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks to all

Former Member
0 Kudos

Hi

1) A Dictionary defines global data structures that will be created in the database on the server where the application will be deployed.

2)The created structure can be accesed any where in the application for different views

3)You can create structure binding for the context

Regards

Chandran

vidya_gugnani
Explorer
0 Kudos

Hi Pavan,

Simple types are data types for which you can specify the type e.g binary,boolean,integer etc and also specify additional properties for them as you might have noticed in the Simple Type Editor(e.g length,decimals,labels,representation,enumeration etc).

Within a Web Dynpro project,these are used to bind the context of UI elements.

UI elements properties can be bound to Dictionary Simple Types or Core Data Types (in Web Dynpro implemented as Dictionary Types). For example the text property of FormattedTextView has to be bound to a Dictionary Simple Type FormattedText.

Data type descriptions in the form of structures are used in Web applications and can be created in the Java Dictionary independently of the program code. Structures created in the Java Dictionary can be reused in different Web Dynpro contexts.

Structure data type may use the simple types internally.

You do not need to specify length,decimals,etc other such properties if you choose to use a simple type for your structure elements.

Of course,you could specify all these individually .

In addition,a structure has columns which consist of these individual types ,either using simple types or specified explicitly.

For further information,just use the help in NWDS to gain all the information on how to use these...

Hope this helps.

Regards,

Vidya