cancel
Showing results for 
Search instead for 
Did you mean: 

Exception is coming if any value attriubute is created for contextnode

Former Member
0 Kudos

Hi Experts,

we are using the CRM 7.0 while we are creating any value attributes for the context nodes we are getting the exceptions

like "CX_CRM_CIC_PARAMETER_ERROR - Entry parameter of method CL_CRM_BOL_ENTITY->GET_PROPERTY contains value zlines, which is not allowed" .Please any one help on this why the exception is raising.

Regards

Jyothi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

this is because you are trying to add an Attribute to an existing Model Node, but this model Node does not know your Zline attribute. In your case, if you want to add new Value Attributes, create a new Value Context Node with the new Value Attributes that you want.

Kind regards,

Carl

Former Member
0 Kudos

Hi Carl,

Thanks for the response.

My requirement is need to add one value attribute to display the existing text depends on Text-ID when user clicks on the NEW Notes creation button for the Service transacations.

Component : GSTEXt

views : GSTEXT/TEXT and GSTEXT/LINES.

Context Node : TEXT

The attributes under this Context node are value attributes only.So i have created one value attribute instead o f creating a new context node.But if I add the zvalue attribute while executing the get_z method its raising an exception because the z field is not available in the BOL structure.

Can you please help me how to solve this.

Regards

Jyothi

former_member214667
Contributor
0 Kudos

Hi Jyothi,

For value nodes and value attributes, you can directly access such by calling the respective GETTER and SETTER method. So, if you added a field called ZFIELD1 to a value node, you can directly access it as follows:

GET_ZFIELD1( attribute_path = '').

SET_ZFIELD1( attribute_path = '' value = <your value>).

Try this.

Regards,

Shiromani