cancel
Showing results for 
Search instead for 
Did you mean: 

"Simple type" package not available to choose , why???

Former Member
0 Kudos

Hi,

I am trying to make a drop down box and add items in it.

I create a simple type call "Factories" under Dict->Simple Type, i name the package "com.123"

now when i try to bind a context value attribute, and set the attribute type to the simple type i just create, the package com.123 is not there for me to select.

why? and how do i choose ?

Thank you guys.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

Have created com.test in lower case letters ,not the

upper case as in your previous post,because by convention

package name starts with lowercase.

If you have created A simple type Factory in package com.test

succesfully ,and you want to bind the context attribute that property

you have a type property to that context attibute.

A small box beside a drop down is present for the type property of your context attribute,you click on it

A window will be opened ,in that Two radio buttons are present,

you select Dictionary Simple Type radio button

You go to

Dictionaries

Local Dictionaries

<your package>

<your Simple Type>

selct your simple type that you have declared

and press OK

Hope this was your problem ..if any queries reply back

Regards

Madhavi

Edited by: madhavi kotra on Sep 2, 2008 7:45 AM

Former Member
0 Kudos

Maybe i didn't explain the question very well.

i put capital for emphasize.

i create a simple type under package "com.test"

and when i choose the type for my context attribute, in the pop up window, i choose "Dictionary Simple Type", i cant see my package "com.test" available for choosing.

even i create another simple type under an exist package 'com.sap.dictionary.predefined.currency', it can let me choose the package, but the simple type is not inside this package.

which means, the available lists of local dictionary doesn't get refreshed after creation.

some one ran into that problem before?

Former Member
0 Kudos

Hi ,

Generally you will see the package i.e com.test under Dictionary Simple Type only. , may be there is some Problem with your workspace.

try - Closing your Project and Open it again or

- Close NWDS and Open again .

Regards,

Sunitha Hari

Former Member
0 Kudos

Hi,

this might b d problm wid ur NWDS..

go to ur workspace n cut metadata folder n paste it outside workspace..then open NWDS

this will reinstall NWDS ..all setting will b reset..

then try wid simple type..it might b wrking..

Regards

Khushboo

Former Member
0 Kudos

Hi,

to assign the simple type to attribute

i hope ur doing like this

choose "Dictionary Simple Type"

Dictionaries---

-


Local Dictionary under this u found the following

com.sap.....

com.test <UR Simple type>

if you not found .re installl the NWDS and try.

Regards,

ramesh

Edited by: Ramesh Babu V on Sep 2, 2008 2:48 PM

Former Member
0 Kudos

thanks Khushboo, this solved my problem!

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

while creating the simple type dont create a package try using the existing packages using the browse button.

Former Member
0 Kudos

Forget about what i just said guys.

i was just making exmaples.

the package that i create is totally letters.

COM.TEST

and it doesn't show up for choosing

Former Member
0 Kudos

Hi,

You cannot create package com.123.In fact it does not allow to create a package which starts with digit.

The correct ways is com.sap or any other which starts with alphabet.It does not allow even Special character to start with and end with

e.g.

com.sap -


valid

com.sap111 -


valid

com.1sa -


invalid

com.@aa -


invalid

com.sap@@ --- invalid

Regards

Prajakta

Former Member
0 Kudos

Hi erv2,

while Creating Simple Type, in the Package Name " It does n't allow Decimal in the First Position after the .( dot ) ". That is the mistake.

Ex :- Package Name --> " com.123 " --> Not Valid

Ex :- Package Name --> " com.x123 " --> Valid

So Change Your Package Name & Try.

With Regards,

Roop Kumar.

Former Member
0 Kudos

sorry, i was just making examples

it was actually "com.uy"