简体   繁体   English

BAPI_MATERIAL_SAVEDATA 无法更新 J_1IMTCHID 表。 任何解决方法?

[英]BAPI_MATERIAL_SAVEDATA cannot update J_1IMTCHID table. Any workaround?

I'm connecting .NET application with SAP using SAP .NET Connector.我正在使用 SAP .NET 连接器将 .NET 应用程序与 SAP 连接起来。 It is working fine with "BAPI_MATERIAL_SAVEDATA", but I need to update field J_1IGRXREF from table J_1IMTCHID , which does not exist in this BAPI.它适用于“BAPI_MATERIAL_SAVEDATA”,但我需要更新表J_1IMTCHID中的字段J_1IGRXREF ,该 BAPI 中不存在该字段。 Is it possible to update this field using extension of this BAPI?是否可以使用此 BAPI 的扩展来更新此字段?

Or any other standard BAPI exists for updating this field while creating material?或者是否存在任何其他标准 BAPI 用于在创建材料时更新此字段?

Thanks in advance, Vignesh提前致谢,维涅什

There seems to be no standard way to update this field via RFC (BAPI) in our system (Release 7.02).在我们的系统(版本 7.02)中似乎没有通过 RFC (BAPI) 更新此字段的标准方法。 If you are running an industry solution there is a slight change that there may be released functions to do this, but it's not very likely.如果您运行的是行业解决方案,则可能会有一些细微的变化,可能会发布一些功能来执行此操作,但可能性不大。

You will need an ABAP programmer to create an RFC to update this table.您将需要一个 ABAP 程序员来创建一个 RFC 来更新这个表。 Caution!!警告!! I'm also unable to find an internal released function module within SAP to update this table.我也无法在 SAP 中找到内部发布的功能模块来更新此表。 Function module J_1IMTCHID_POST is the only FM that updates this table in our system, and has not been released for customer use, and effectively does a direct table update of a SAP standard table, which is rarely advisable.功能模块J_1IMTCHID_POST是我们系统中唯一更新此表的 FM,尚未发布供客户使用,有效地对 SAP 标准表进行直接表更新,这很少是可取的。

If you decide to go down this route (or have no other choice), it is very important that you ensure that any updates to this table honours SAP's intended use of the table, as any corruption of the data as a result of your change will not be supported under the SAP maintenance agreement.如果您决定走这条路(或别无选择),请务必确保对此表的任何更新都符合 SAP 对该表的预期用途,因为您的更改导致的任何数据损坏都会SAP 维护协议不支持。

Use BADI.使用巴迪。 It should help you achieve what you are trying to do.它应该可以帮助您实现您想要做的事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM