cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Manual Code List Mappings

Former Member
0 Kudos

Hi All,

I need t0 integrate SAP Hybris C4C via HCI to SAP ERP. To do the same i am configuring code list mapping manually post creation of Code List groups.

For your reference i have followed below steps:-

1) Created Code List Groups.

2) Under Code List Mapping definition:-

a) Selected the Mapping Group (The same which was created by me).

b) Local Data Type Name 1) AcademicTitleCode 2) BusinessPartnerFunctionalAreaCode

c) External Data - I cant find anything in the search so i entered 1) ACADEMICTITLES 2) DEPARTMENTS

3) Selected Mapping rule as Map Individual Codes.

4) Maintained Codes in Codelist Mapping for External Code.

Below are the errors i am getting:-

Errors - External Data Type ACADEMICTITLES cannot be used for Local Data Type AcademicTitleCode

External Data Type DEPARTMENTS cannot be used for Local Data Type AcademicTitleCode.

I am i following the right process and inputs? Request you all to give a solution on this.

Regards,

Pankaj Tomer

Accepted Solutions (1)

Accepted Solutions (1)

ankurgodre
Active Contributor
0 Kudos

Pankaj,

Let me suggest few tips:

After you select the standard mapping group:

If the codes in both ECC/CRM and C4C system are exactly same, then you should select the rule - 'Local and Remote codes are same/equal'

If there are different codes in ECC/CRM as compared to C4C OR if there are codes in ECC/CRM which are missing in CLM for that object in C4C, then you should select the rule 'Map Individual Codes'.

If your inetegration is unidirectional from ECC/CRM to C4C only - You should focus on ensuring that ALL codes in ECC/CRM should be correctly mapped to relevant objects and their codes in CLM in C4C- If there are codes that are missing, you should first maintain them in Fine-tune in C4C for that object and then add those codes and Map them in CLM using the rule 'Map Individual Codes'.

You can ignore the warnings as long as you are sure you have maintained all ECC/CRM codes in C4C under the CLM for that object.

Hope this helps.

BR

Ankur

Former Member
0 Kudos

Hi Ankur,

Thanks a lot for quick response, information by you is of a great help will let you know in case of further queries.

Regards,

Pankaj Tomer

Former Member
0 Kudos

Hi Ankur,

I need to maintain Industrial Sector code,Marital status code, Occupation code for general business partner in fine-tune as few or many fields are not availabe in CLM.

But even after scoping everything i am not able to add anything for above attributes.I checked scoping and scoped almost everything related to General Business Partner.

Message:- "Activity is read-only;settings cannot be changed"

What your take in this regard?

Also can we map Z elements created in ERP for above attributes.

Thanks in advance for help.

Regards,

Pankaj Tomer

ankurgodre
Active Contributor
0 Kudos

Pankaj,

For Message:- "Activity is read-only;settings cannot be changed", you should select that activity and click on 'ADD to Project' to ensure that you can edit this activity when you go inside the activity.

Yes, you can map Z attributes as well, in fact any Z fields which are integrated from ECC to C4C should be mapped to avoid CLM errors.

BR

Ankur

Former Member
0 Kudos

Hi Ankur,

Thanks a lot finally under your guidance i completed CLM. It was pleasure getting in touch with you.

Might ask few more questions on forum in near future.

Regards,

Pankaj Tomer

Former Member
0 Kudos

Hi Ankur,

Hope you are doing good. Post doing successful CLM now i am suppose to do ID mapping for ERP sales Orgs,Offices, Groups, ERP Materials etc.

Now when i am entering the details and select the system instance ID as my created communication system and click on go i am confused what to select?

Can you please guide me for the same. Attaching the screenshot for the reference.

id-mapping.jpeg

Regards,

Pankaj Tomer

Answers (3)

Answers (3)

PaulW
Employee
Employee
0 Kudos

Hi Pankaj,

you should not fill the External Data Type, this is only needed for some legacy scenarios.

Then you shouldn't get these errors.

Best regards,

Paul

ankurgodre
Active Contributor
0 Kudos

Hi Pankaj,

I am assuming that you a re integrating only one ECC system to C4C and not multiple - In this case, I do not see really any need of using CLM Groups. My suggestion would be to use SAP standard deliver CLM group for integratio - Also suggested by Andrei above.

BR

Ankur

Former Member
0 Kudos

Hi Ankur,

I followed the way you suggested by selecting the standard Mapping Group 03 SAP on Premise integration. I tried to to code list mapping for two data types 1) Academic Title 2) Business Partner Functional Area code. Mapping rule selected was Map Individual Codes.

Below are my Findings:-

1) Academic Title- As codes in both the systems are same so just selected mapping rule as Map Individual Codes and saves the data got below warnings:-

"Mapping for local data type communicationmediumtypecode incomplete.Not all codes are mapped."

"Mapping for local data type customertransactiondocumentorigintypecode incomplete.Not all codes are mapped." "Mapping for local data type nielsenregioncode incomplete.Not all codes are mapped." Etc... Does these warnings will create any issues in future as saving the same for the second time was successful. 2) Business Partner Functional Area Code - In this again selected the mapping rule as Map Individual Code and tried code list mapping. Firstly there are two functions not available in C4C which are in ERP 0001 managing Director and 0004 Organisation and when i am adding row i am able to define codes but not the description. For the rest i am able to map and how am i doing this for Ex: for purchasing department 0001 is local code and external code in C4C and 0002 in ERP. Now what i am doing is setting code as 0002 in C4C for both local & external as defined in ERP. Is that approach correct? If yes then after doing the same for all the elements when i click missing mapping codes i am getting one or the other in the list dont know why and after that all goes as it was before manual mapping of code list. If the above is not the right approach can you please guide me through. In addition what is the relevance or how Proposals from MWB can help me. I hope to hear from you soon and thanks in advance. Regards, Pankaj Tomer

VishnAndr
Active Contributor
0 Kudos

Hi Pankaj,

You do not need to maintain External Data Type at all. Check standard delivered Mapping Group 03 "SAP On Premise integration".

But if you prefer to maintain (I personally never did this and do not know the impact of this field), I'd suggest to use value help to select appropriate values. For example, Academic Title should correspond to ABTNR. But still I can not see any type related to Departments.

Former Member
0 Kudos

Hi Andrei,

I followed the way you suggested by selecting the standard Mapping Group 03 SAP on Premise integration. I tried to to code list mapping for two data types 1) Academic Title 2) Business Partner Functional Area code. Mapping rule selected was Map Individual Codes.

Below are my Findings:-

1) Academic Title- As codes in both the systems are same so just selected mapping rule as Map Individual Codes and saves the data got below warnings:-

"Mapping for local data type communicationmediumtypecode incomplete.Not all codes are mapped."

"Mapping for local data type customertransactiondocumentorigintypecode incomplete.Not all codes are mapped." "Mapping for local data type nielsenregioncode incomplete.Not all codes are mapped." Etc... Does these warnings will create any issues in future as saving the same for the second time was successful. 2) Business Partner Functional Area Code - In this again selected the mapping rule as Map Individual Code and tried code list mapping. Firstly there are two functions not available in C4C which are in ERP 0001 managing Director and 0004 Organisation and when i am adding row i am able to define codes but not the description. For the rest i am able to map and how am i doing this for Ex: for purchasing department 0001 is local code and external code in C4C and 0002 in ERP. Now what i am doing is setting code as 0002 in C4C for both local & external as defined in ERP. Is that approach correct? If yes then after doing the same for all the elements when i click missing mapping codes i am getting one or the other in the list dont know why and after that all goes as it was before manual mapping of code list. If the above is not the right approach can you please guide me through. In addition what is the relevance or how Proposals from MWB can help me. I hope to hear from you soon and thanks in advance. Regards, Pankaj Tomer

Former Member
0 Kudos

Hi Andrei,

I need to maintain Industrial Sector code,Marital status code, Occupation code for general business partner in fine-tune as few or many fields are not availabe in CLM.

But even after scoping everything i am not able to add anything for above attributes.I checked scoping and scoped almost everything related to General Business Partner.

Message:- "Activity is read-only;settings cannot be changed"

What your take in this regard?

Also can we map Z elements created in ERP for above attributes.

Thanks in advance for help.

Regards,

Pankaj Tomer

VishnAndr
Active Contributor
0 Kudos

Hi Pankaj,

About code list mapping of Academic Title. You're saying that "As codes in both the systems are same". Then you do not need to do "Map individual Codes". Delete all mappings you've done for this particular code list manually and select "Local and Remote Codes Are Equal". Save it and you're done.

It's ok to have only warnings. It's because some other mapping mentioned there (communicationmediumtypecode, customertransactiondocumentorigintypecode, nielsenregioncode etc) are simply incomplete. But it's fine. Anyway you can jump into each and every code list mapping mentioned there and complete them to get rid of those warnings.

About Business Partner Functional Area. Mapping is just a mapping, right? If any entries you require are missed in C4C you need to create them in corresponding fine-tune activity given descriptions there. In other words: add new (for C4C) entries in fine-tuning and then do the mapping for those new entries in code list mapping.

VishnAndr
Active Contributor
0 Kudos

Message "Activity is read-only;settings cannot be changed" generally means that you need to add this fine-tune activity (I assume in your case it's "General Business Partners") to your project. For this in Fine-Tune tab select appropriate entry in all fine-tune activities list and press "Add to Project" button. That will allow you to change corresponding entries.

You can map Zelements created in ERP to standard C4C fields. But for this you need to do mapping adjustments in your middleware. PI or HCI (aka HCP PI) respectively. It's not about value mapping (which you're doing in C4C fine-tune above), but about field mapping (which you're doing in iFlows).

Former Member
0 Kudos

Hi Andrey,

Thanks a lot finally under your guidance i completed CLM. It was pleasure getting in touch with you.

Might ask few more questions on forum in near future.

Regards,

Pankaj Tomer

Former Member
0 Kudos

Hi Ankur,

Hope you are doing good. Post doing successful CLM now i am suppose to do ID mapping for ERP sales Orgs,Offices, Groups, ERP Materials etc.

Now when i am entering the details and select the system instance ID as my created communication system and click on go i am confused what to select?

Can you please guide me for the same. Attaching the screenshot for the reference.

id-mapping.jpeg

Regards,

Pankaj Tomer

ankurgodre
Active Contributor
0 Kudos

Hi Pankaj,

Good to hear you were able to do CLM with my inputs!

For ID mapping:

1. Under 'Mapping of' select the object like Sales Org. to start with for which you want to do the Id mapping of.

2. System Instance ID should be the ID of your connected ECC/CRM system

3. After clicking 'Go' - you should get all that has been maintained in your C4C system with place holders to maintain External Id where you will insert the ECC ID of corresponding object you selected in 'Mapping of' field.

Example: If you selected 'Sales Organization' under mapping of for your ECC system, you will get the:

1. Sales Organization ID and description which you created/maintained in C4C under the WC 'Organization Structure'.

2. Against each Sales Org. Id field, add the corresponding SAP ECC/CRM Sales Org. unit ID under the field 'External ID'

3. Do this for all Sales Org. IDs you see and map them to corresponding SAP ECC/CRM Sales Org. ID. Once completed, you can save your changes.

4. Follow the above steps for other objects like Sales Groups and Sales Offices if you maintain those in SAP ECC/CRm and map them to C4C.

5. For Materials/Products - Provided intergation exists between ECC/CRM and C4C, you should map only the Product categories, for which you have to first do a manual upload using DM template for Product Categories and then you should do ID mapping for that by following sames steps you will do as mentioned above for Sales Org./Group/Office.

Hope this helps!

BR Ankur