欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

使用SAP CRM中间件从ERP下载Customer的错误消息 SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

程序员文章站 2022-07-14 07:58:17
...

Distribution channel is not allowed for sales organization

I try to download customer material info record from ERP via request download. This is my download request created in tcode R3AR2:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

This is my customer material info record created in ERP:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

When I perform request download, I receive this error message in CRM tcode SMW01:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

I debug and found that the error message is raised in FM below, due to the failure match of Sales organization 50040102 and distribution chain 01:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

error message is raised in line 71:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

When I check the internal table st_distr_chains, I found there are corresponding entry for channel 10, but not for 01.

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

The solution is, to add missing attribute combination distribution channel 01 and all three division 00, 01 and 07 in tcode PPOMA_CRM:

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

and then update buffer table CRMD_ORGMAN_TEMP by running program HRBCI_ATTRIBUTES_BUFFER_UPDATE.

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

Once done, the modified attributes are now visible in buffer table and the original mapping error message would be resolved.

 

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud 

 

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

使用SAP CRM中间件从ERP下载Customer的错误消息
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院Cloud