cancel
Showing results for 
Search instead for 
Did you mean: 

error while adding discount condition type in campaigns

kiran_sapcrm
Explorer
0 Kudos

Hi Friends,

Im configuring campaign determination. For this, in ECC we have created a discount condition type ZABC(usage PR)  with access sequence ZABC which contains a condition table with fields. Campaign GUID, Product  and a Z field(ZCGRP5) for customer group

We replicated this condition type to CRM. When im trying to add this condition type in the discounts tab in the Campaign im getting the below error.

"Implementation of BADI /SAPCND/ROLLNAME or method FIELD_CHECK/DEFAULT_VALUE_SUGGESTION is missing for the filter characteristic ZCGRP5.

If, however, the implementation is correct (see BADI Interface Documentation) and active, there is an error in the condition maintenance layer.

System Response

An exception or error occurred because condition maintenance cannot check, convert or lock/unlock the fields of a condition record.

Procedure

Contact the department responsible for carrying out the missing implementation in the case of application fields in the customer namespace.  SAP is responsible for SAP fields which are set in the field catalog (/SAPCND/CTFC) and delivered, and if the field is supported as a possible field in a condition table. SAP is also responsible for the implementation of usage fields for SAP applications, just as with condition technique fields.

In cases where SAP is responsible, contact your responsible support organization".

Do we have to do any additional configuration if we add a Z field in the campaing disoucnt condition type  or we need to implement the Badi and add filter as per the error message. Can you please help me with this.

Thanks in advance

Regards,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Kiran,

If you want to use a ECC pricing condition in CRM campaign in Discount TAB, make sure you have allowed condition maintenance in ECC for CRM

It will be in ECC-->SPR-->Integration with Other SAP.com Components-->CRM-->General Settings-->Basic Functions-->Data Exchange Conditions Condition

This will allow you to maintain condition records are CRM WEBUI.

Let me know if that helps.

Sajjad

kiran_sapcrm
Explorer
0 Kudos

Hi All, Solved by myself. The badi mentioned has to be implemented for the custom fields in CRM.

Regards,

Kiran.

Answers (2)

Answers (2)

0 Kudos

Hi Kiran,

Could you please share the detailed description about this requirement to vaasumf@gmail.com

Thanks,

Vasu

Former Member
0 Kudos

Hi,

You can add these codes Implementation of BADI /SAPCND/ROLLNAME custom Z that given below.

FIELD_CHECK

  method /SAPCND/IF_EX_ROLLNAME~FIELD_CHECK.

  e_was_executed = 'X'.

  endmethod.

DEFAULT_VALUE_SUGGESTION

  method /SAPCND/IF_EX_ROLLNAME~DEFAULT_VALUE_SUGGESTION.

e_was_executed = 'X'.

  endmethod.

ATTRIBUTE_CONVERSION

  method /SAPCND/IF_EX_ROLLNAME~ATTRIBUTE_CONVERSION.

    e_was_executed = 'X'.

  endmethod.

Kind Regards,

Fahrettin