4

I need to transport function modules from one SAP system into another, which are not connected to each other. I am using CG3Y/CG3Z to download/upload cofiles and data files. I add the transport to import list in STMS.

There is function group to which transported function modules belong, already created in both origin and destination system. The function group already contains different function modules, so deleting it is not an option. It does not contain function modules I am trying to import.

The transport contains only function modules, not function group. When I try to import this transport, I get an error

R3TRFUGRZXXX original object cannot be replaced.

I tried checking the Overwrite Originals, which results in "successful" import, but when I try to access it via SE80, I get an error

Function group <name> contains errors.

I tried repairing the function group via SE37, which deleted function modules that were in the function group before import, so I can only see the newly transported FMs.

I am testing this on temporary/test function modules/groups, until I figure out how to do this properly without messing up the real function group.

Is there any way to do the import successfully and keep all the function modules?

4

2 回答 2

3

SAP系统将FM存储为程序包含的内容,因此没有组就没有功能模块:“功能组中的每个[..]功能模块,系统自动创建一个包含文件并使用以下格式为其分配名称:L<FGRP>U<NN>[资源]

这就是为什么您需要将所有功能模块组合在一个系统和一个功能组中。完成后,创建将副本传输到目标系统并使用“覆盖原件”选项导入。

要组合您的功能模块,请将您的目标功能模块复制到新创建的功能组,导出新组,然后将其导入“源系统”。并将它们手动移动到现有组。

于 2020-12-22T21:48:54.413 回答
0

欢迎玛丽塔斯。

R3TRFUGRZXXX original object cannot be replaced.

这意味着函数组对象实际上包含在您的传输中。R3TR FUGR(代表FUnction oup GR

一个可行的解决方案是手动合并功能组程序。如果我们只是在谈论 1 FM,那么对于 ABAP 开发人员来说应该不是这样的问题。

于 2020-12-22T21:51:33.570 回答