Thursday, April 29, 2010

Siebel

Error Message: "This operation is not available for read-only field 'FIELDNAME'. (SBL-DAT-0042)

Issue Description: We had a customized business service in Siebel 8.0.  The main task of the business service was to validate some data that it received as input and insert the data in the Siebel database.  The business service was working fine until requirement changed and an additional field had to be populated. A column was created using siebel tools to cater for this new requirement.  The new field to be populated was a picklist.  After making the necessary changes to my integration object and business service, and compiling these ojects, I began my testing using business service simulator.  Each time the business service tried to insert a value into that new field, it failed with the above error message.  The read-only properties at field and business component level, or at any other level had not been set.  I tried to look for solutions on the internet but nothing I found worked in my case.

Issue Resolution: Eventually I was able to find the cause of the problem. In fact I had this issue because prior to running my business service in the debug mode, I had missed out the compilation of important projects that were modified during the configuration of the new field. So after compiling those projects, I ran the business service again and the above error had dissappeared.

Hope that this article helps you solve your issue and save some time.

No comments:

Post a Comment