cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Type Enumeration Update Problem

Former Member
0 Kudos

Hi All,

We have a problem in the Simple Type Enumeration Update.

We have a Dictionary DC Project and we have created a Simple Type Enumeration,

which has 2 values

"Name"

"Age"

We created a public part and added all the Simple Types to it and we are using this

enumeration in one of our WebDynpro DC,everthing is fine,we can see the above 2 values

in the "DropDownByKey" UI element.

We need to add another value to the Simple Type Enumeration say

"Occupation"

We modified the Simple Type Enumeration,build the Dictionary DC project and also once

again added the Simple Tyep Enumeration to the public part and then deployed the project.

The newly added "Occupation" value is still not visible in the DropDown, we have done the

following steps already.

1. Deleted the ".sda" and ".jar" file and again build and deployed the Dictionary DC

2. Restarted our SAP J2EE Engine and again redeployed the Dictionary DC.

3. Removed the Used Dictionary DC public part from our WebDynpro Project and again added it.

Even after doing the above steps still the new "Occupation" value is not visible.

Can anybody please help us resolving this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It sounds strange. Why don't you try deleting the SimpleType and re-creating it with the same name and values. Add to the public part and then build and deploy your Dictionary DC again.

Rebuild your WD DC and then deploy and see if the added value comes.

Its not a solution but just give it a try.

Cheers,

Manoj

Former Member
0 Kudos

Even after doing this, still its not reflecting.

Can anybody tell where in the database tables is this Simple Types are stored.

siarhei_pisarenka3
Active Contributor
0 Kudos

>Can anybody tell where in the database tables is this Simple Types are stored.

Nowhere. The types do not come to database. They are deployed within WebDynpro application. And all the application EARs come to the server's file system.

Try to do the following. Inspect WebDynpro EAR you are deploying. It must contain a JAR with Java classes. Open the JAR and check if it contains <typename>.gsimpletype file. Read the .gsimpletype and see if the enumeration is updated inside.

BR, Siarhei

Former Member
0 Kudos

Yes, the ear file contains the updated Dictionary Simple Type

siarhei_pisarenka3
Active Contributor
0 Kudos

>the ear file contains the updated Dictionary Simple Type

Redeploy the EAR.

Also the problem may appear if you have another WebDynpro EAR(s) referencing the types. If it's so you have to rebuild-redeploy all such WebDynpro EARs referencing the simple type.

BR, Siarhei

Former Member
0 Kudos

Thanks for your help, reloaded and redeployed all the components referring to this Public Part, its work now.

Answers (3)

Answers (3)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Ramanath

You have to rebuild-redeploy your WebDynpro DC instead of redeploing the Dictionary DC. The simple types are transported and deployed within WebDynpro EAR, not within dictionary SDA. Read also my [blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17183] [original link is broken] [original link is broken] [original link is broken]; regarding Dictionary - the point is explained there in more details.

BR, Siarhei

Former Member
0 Kudos

Hi Ramanath,

Check it if you have mapped that node in interface controller also. if you have done then by removing public part and adding it again will resolve your problem.

Regards

Jeetendra

Former Member
0 Kudos

Hi,

Could please confirm whether the Dictionary project build went well and did you synch the used DCs in the WDJ ?

Regards,

Saravanan K

Former Member
0 Kudos

Yes, the build was successful and also we synced the DC, even then no update.