Skip to Content
avatar image
Former Member

Profile Dashboard - New Origin ID

Hello Experts, SAP,

If in the system I have created a new Origin ID I would like to add this to one of the Validation Status of the Contact Level. How can I achive this? Is it possible?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 12, 2017 at 12:01 AM

    Dear Paolo,

    As I understand: you want to adjust one of the validation statuses (or add one) based on your NEW origin ID. This is possible.

    However you would need to edit one of the user exits. On On-Premise this would be BAdI: CUAN_CE_IC_UPDATE, and use the method IF_CUAN_CE_IC_UPDATE_SP7~IMP_IA_IC_UPDATE_IC_ROOT. An excerpt of the code is below, based on your requirements, you should change the WHEN statements (or add one for a new status e.g. c_premium_partner = '40' ).

    * Sample logic setting the IC ROOT validation status *
    *  c_anonymous         =  '  '
    *  c_self_identified   =  '10'
    *  c_qualified         =  '20'
    *  c_business_partner  =  '30'
        LOOP AT lt_ia_facet REFERENCE INTO lr_ia_facet.
          CASE lr_ia_facet->id_origin.
            WHEN cl_cuan_ce_ic_helper=>gc_crm_bupa           OR  "SAP CRM Business Partner
                 cl_cuan_ce_ic_helper=>gc_erp_bupa           OR  "SAP ERP Business Partner
                 cl_cuan_ce_ic_helper=>gc_erp_contact        OR  "SAP ERP Contact
                 cl_cuan_ce_ic_helper=>gc_erp_customer       OR  "SAP ERP Customer
                 if_cuan_ce_c=>co_origin_sap_erp_company     OR  "SAP ERP Company
                 if_cuan_ce_c=>co_origin_sap_c4c_indiv_cust.     "SAP C4C Individual Customer
                     es_ic_new-validation_status = c_business_partner.

    With regards,


    Add comment
    10|10000 characters needed characters exceeded

  • Sep 11, 2017 at 03:07 PM

    Hi Paolo,

    I did not understand what exactly you want to do. What do you mean with "add this [Origin ID] to one of the Validation Status"? Validation Status is a field at the Contact Root which is set according to certain criteria or already coming from another system. Origin ID is something different. So what's the use case?

    Best regards


    Add comment
    10|10000 characters needed characters exceeded