ITPub博客

首页 > 应用开发 > IT综合 > Data exchange of settype COMM_PRFREEATTR

Data exchange of settype COMM_PRFREEATTR

原创 IT综合 作者:i042416 时间:2020-02-11 09:15:49 0 删除 编辑

(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.


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2675052/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
测试

注册时间:2018-01-20

  • 博文量
    3822
  • 访问量
    1982106