Skip to Content

No valid entry in table BADIIMPL_ENH for target group customizing error

Greetings,

I've done CRM integration settings following RDS documents and "Integrating SAP Hybris Marketing 1702 with SAP CRM: Checklist" document.

While it says "Succesfully configured" in CRM tile in Technical Configuraton Cockpit application, when I use the transaction CUAN_CRM_CHECK, it threw the following error:

"No valid entry in table BADIIMPL_ENH for target group customizin

Message no. CUAN_CRM_INTEG003"

Does anybody know how we overcome this error?

Thanks in advance,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • May 09, 2017 at 05:08 PM

    Are you in On-premise solution ?

    Add comment
    10|10000 characters needed characters exceeded

  • May 09, 2017 at 06:24 PM

    Hi Kamesh,

    Yes, I'm on-premise solution with version 1702. Our deployment is scenario is Hub-Deployment via shared HANA database with SAP CRM.

    Add comment
    10|10000 characters needed characters exceeded

  • May 09, 2017 at 07:00 PM

    Hello Hakan,

    I can not give you answer but have checked which standard entries are there:

    1. Implementation of Enhancement Spot EH_CSAN_MENTION_GROUP_ACTION: Please check the Target Group BADI is active in your system.

    2. Entry for Target Group in table

    Shorttext_Obj field contains Guid id.

    Thanks,

    Krish

    Add comment
    10|10000 characters needed characters exceeded

  • May 09, 2017 at 08:03 PM

    Well, finally I decided to debug the integration program.

    In the program, there's a class named "CL_CUAN_CRM_INTEGRATION_CHECK" called. And it threw this error in one if its methods named "CHECK_BADIIMPL_ENH".

    The following select statement returns nothing so sy-subrc sets to 4.

    SPAN {
    font-family: "Courier New";
    font-size: 10pt;
    color: #000000;
    background: #FFFFFF;
    }
    .L0S31 {
    font-style: italic;
    color: #808080;
    }
    .L0S32 {
    color: #3399FF;
    }
    .L0S33 {
    color: #4DA619;
    }
    .L0S52 {
    color: #0000FF;
    }
    .L0S55 {
    color: #800080;
    }
    .L0S70 {
    color: #808080;
    }
    
     select single * from badiimpl_enh into ls_badiimpl_enh
    
          where badi_name   eq 'CUAN_CRM_REPL_TARGET_GROUP'
    
          and   active_img  eq abap_true.
    
    
    
    * active  and enhancement_impl ???
    
        if sy-subrc <> 0.
    
          message e003(cuan_crm_integ) into lv_dummy.
    
          call method append_message
    
            changing
    
              et_messages = lt_messages.
    
        endif.
    

    When I check the corresponding table, entries are as following (Screen_1) And it's true that there's no entry with field active_img field equal 'X'

    However, the regarding BAdI is active in the system (Screen_2). I quite don't know what this field named active_img refers to so I don't know how I can set it to "X". Maybe active field should be checked instead of active_img. I'm not sure

    Does anybody know about this field (active_img)? Should I create a Z BAdI implementation?

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2017 at 11:21 AM

    Hi Hakan,

    as per the developers advise you should

    "

    Use transaction Customizing (SPRO) to check the following settings in Customizing for SAP Hybris Marketing -> Segmentation -> Target Group -> BAdI: Replication of Target Groups to SAP CRM:  The Actve(IMG) option is set for the Enhancement Implementation CUAN_CRM_REPL_TG_BP_IC  The Actve(IMG) and the Actve(Impl.) option are set for the Enhancement Implementation CUAN_CRM_REPL_TG

    "
    from guide https://help.sap.com/http.svc/rc/43391cab490e4a5db5653a9d97a74dd3/1702%20YMKT/en-US/CRMCheckl1702.pdfIf you follow this the issue should not occur. Can you confirm you did so?

    Best,
    Matthias

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2017 at 05:40 PM

    Hi Matthias,

    Yes, I took that document as a reference in addition to Rapid Deployment Solution documents.

    Correct me if I'm wrong, but in the same document, it says that you have to choose one of alternative settings about target group customizing and set the other one to inactive in the table CRMOBJECT.

    " The table can contain both alternative settings. However, make sure that only one of the alternatives is active, by setting one of them to inactive, for example:

    MANDT 100

    CONSUMER CRM_APP

    OBJNAME TG_MSG

    MAINOBJ

    NOINIT X

    INACTIVE X

    REM LOGSYS System name of RFC destination to SAP CRM "

    I set CUAN_TG_MSG entry to inactive. So I didn't activate its corresponding BAdI which is CUAN_CRM_REPL_TG_BP_IC.

    Should I activate it irrespective of which entry I set to inactive in table CRMOBJECT?

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2017 at 06:04 PM

    Hi Matthias,

    I just did what Kris suggested and it worked! I think that was some kind of bug because technically and practically I didn't change anything at all - just a simple check and uncheck!

    Thanks anyway! Check turns successful now!

    What Kris said:

    " Please try to uncheck the flag Active and Img in SPRO -> Save -> Check both the flags again -> Save.

    In my opinion the BADI Imp is active but due to some reason not reflected in Table "

    Add comment
    10|10000 characters needed characters exceeded