Some customer report incidents about why the industry code in CRM system cannot be uploaded to ECC side. Actually only the industry code SAPS in CRM can be transferred to ECC.
The definition for the industry code in CRM can be done in the following path:
SPRO -> Customer Relationship Management -> Master Data -> Business Partner -> Define Attributes -> Define Industry
In CRM system, you could assign a BP to multiple industries as the above screenshot. However, in standard behavior, only SAPS industry code could be uploaded to ECC customer. This is controlled in the function module PI_BP_MAP_INDSEC_RI as below.
LOOP AT IT_INDSEC
INTO LS_INDSEC
WHERE DATA_KEY-KEYSYSTEM = GC_IND_KEY_SYSTEM_SAPS.
APPEND LS_INDSEC
-DATA_KEY
-IND_SECTOR
TO LT_BRAN
.
ENDLOOP.
This behavior is due to the different handling of the industry sector codes in R/3 and CRM.
In the CRM system there are different industry key systems as you could see in the first picture.
However, in the R/3 system, there are only industry sector codes. The R/3 industry sector codes are assigned to the CRM key system SAPS and only industry sector codes from this key system are taken into account during data exchange to R/3.
This also has been addressed in the note
814988.