cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Z Field Does Not Save

Former Member
0 Kudos

Hello,

We recently upgraded from CRM 5.0 to CRM 7.0. We have a custom field called Sales Split (i.e., ZZSPLIT) and this field appears for each Partner Function on the Sales Team. This field was added during our 5.0 implementation, and we'd like to leverage it again in our 7.0 implementation. Basically, the field allows us to split the sales between the Employee Responsible and the Account Manager (i.e., 50/50 or 75/25, for example).

Anyhow, the field appears on the Web GUI and pulls that data from the database without any issues, however, when we attempt to modify and save the value, the value is not persisted to the database.

I verifiied the field is part of structure CRMST_PARTNER_BTIL and is part of the Context Node (i.e., BTPARTNER). I also decided to generate the Getters & Setters for the ZZSPLIT field, and set a break-point, just to make sure the new values were being set in the Context, which they are, without any issues...

I'm not quite sure what I'm missing... Any help would be greatly appreciated!

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Matthew,

Is it an EEWB field or you have appended the CRMST_PARTNER_BTIL structure with the dataelement?

Regards,

S Reddy

Former Member
0 Kudos

Thanks for the reply, I more than appreciate it!

No, the ZZSPLIT field is not part of the EEW include (i.e., INCL_EEW_PARTNER_CRM) within CRMST_PARTNER_BTIL. It's actually a custom append structure... Maybe that's part of my problem?

The consultants who helped us implement CRM 5.0 worked on this enhancement. I'm thinking they probably should have used the INCL_EEW_PARTNER_CRM.

I'm going to remove the ZZSPLIT from the custom structure and add it to INCL_EEW_PARTNER_CRM.

Thanks!

Former Member
0 Kudos

I was able to validate that structure CRMST_PARTNER_BTIL does not contain include INCL_EEW_PARTNER_CRM in CRM 5.0, therefore, this would explain why our consultant did not use the EEW structure...

At any rate, I believe the value is not being persisted b/c the field is read-only.

Is there a way I can mark the field is editable, without overriding the GET_I method? While this approach does, in deed, allow the field to be editable, it looks like under the covers this field is really not editable. I debugged the code and found that the field is truly not editable...

I also tried set the field as editable in the technical setting of the field, via BSP_WD_CMPWB in the UI Configuration area, however, since this field is part of the BTPARTNER table Context Node, I do not have the option/checkbox to set this field as editable...

Is there somewhere I can mark my custom Z field as NOT read-only?

Thanks!

nicolas_busson
Active Contributor
0 Kudos

Hi Matthew,

Check out that every customizing & other classes to handle your Z field are there:

/people/stephen.johannes/blog/2008/02/06/crm-40-to-52-bp-eewb-table-fields

Regards,

Nicolas.