cancel
Showing results for 
Search instead for 
Did you mean: 

SRM new UI add on, cannot add a new field, property is invalid error

Former Member
0 Kudos

Hi SRM gurus and comunity,

We are on SRM 70 classic scenario with new ui add on.  We would like to add a field in the sc item level to captur additional info.  We followed the extensibility cook book.  It works when for the old (standard ) SRM ui.  But for the new ui add on we get error message error ‘Property ZZLVA is invalid’..  Its like it does not recognize our new zzlva field.  there might be a step missing in there for the new ui.  Your tips and comments are welcome. 

regards,

DJ

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Daniel,

Looks like you have missed adding the new field in the model. The new UI addon uses OData protocol for data transfer and hence it is necessary to define the model with all the fields which you need in UI.

Since this is a new field, this has to be added to the model corresponding to the view where this field should be shown. The information regarding would be available in the Cookbook.

Regards,

Riswan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Samet,

Here s another one that we found usefull to fix this issue.  Please read also

SRM field config in SRM 70,

http://wiki.scn.sap.com/wiki/display/SRM/Field+configuration+in+SRM+7.0

D

Matt_Fraser
Active Contributor
0 Kudos

Daniel, did the methods in this wiki work for New UI fields as well? Would this work for hiding standard fields in the new UI?

Cheers,

Matt

Former Member
0 Kudos

Hi Daniel,

We are getting 'Property Zz*** is invalid’ error  like you. For a new field on can't find screen.

How did you fix that error ?

Regards,

Samet,

Former Member
0 Kudos

Hi Samet,

We worked hard to get it fixed, please read some below to start...

http://scn.sap.com/community/srm/blog/2013/11/06/extensibility-in-sap-srm-user-interface-addon-10

Former Member
0 Kudos

Hi Daniel,

We read that link and made all necessary implementation. But still it gets same error. Is there a hint about that ?

Regards,

Samet,

Varamanoj
Participant
0 Kudos

Hi Samet,

Along with enhancing the structures provided you need to implement the BADIs to enhance the oData model. implement the below badis...

1. /SRMNXP/BD_ENHANCE_MODEL - set the propery of the Fields here...

2. /SRMNXP/BD_CHANGE_DATA  - use if you want to validate/default some data in the new fields..


Best Regards

Manoj

Varamanoj
Participant
0 Kudos

Hi Daniel, Along with adding it to the VIEW in the SPRO, you also need to set the meta data properties of these custom fields. this has to be done using BADI "/SRMNXP/BD_CHANGE_DATA BADI" where the field properties Visible and Enables should be set to true.

Please try the same and let me know if it is not working for you.

Regards

Manoj..