Data exchange of settype COMM_PRFREEATTR

(1) in ERP, use tcode SM30, view name: MATERIALID, configure an external long material number for material created in MM01:
in my example, it is AAAAA

Once saved, it will be saved in table MATERIALID as below:

(2) download it into CRM:
This is what I observed in tcode SMW01:



Question 1: why I insert an entry in Material Identification including a external material number and then the external number will disappear after I save it.

Answer:
There is a routine to convert the input/output of MATERIALID-MATNR_EXT




When I insert a value in MATERIALID-MATNR_EXT, the input value will be convert to another value according to rules in CONVERSION_EXIT_MATNL_INPUT. In my case, ENHANCEMENT MGV_CONV_EXIT_SAPLOMCV in FM CONVERSION_EXIT_MATNL_INPUT is switched off.


So When I insert aaaa, you can see the input is converted to null.


Question 2: Why I can see external long material number in se11 table Materialid, but cannot see data in view material identification ?

Answer:
The display of external long material number in view “material identification” is converted by routine:

But the ENHANCEMENT 8 MGV_CONV_EXIT_SAPLOMCV in CONVERSION_EXIT_MATNL_OUTPUT is still switched off which is same as in FM CONVERSION_EXIT_MATNL_INPUT. So we just can see null external long material number in view “material identification”.

Debug the data extract FM CRS_MATERIAL_EXTRACT in ERP side:
Before extract data from table materialid, two condition must be met:

table mgv_tlmnr is used to activate long material number:



After activate long material number, one entry will generate in table mgv_tlmnr about time.

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

展开阅读全文
©️2020 CSDN 皮肤主题: 深蓝海洋 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值