ABAP 中的本地对象从 $TMP 包中消失了。

huangapple go评论110阅读模式
英文:

A local object disappeared in ABAP from $TMP package

问题

$TMP中有一份本地报告,不知何故"消失"了。我没有删除它,但在SE80中无法看到它了。

可能的原因是什么?
有人可能已经删除了它。系统以某种方式被重置到了较旧的备份状态。还有其他可能的原因吗?

有没有可能在跟踪中看到发生了什么,或者还有其他(更好的)跟踪可能性?
不幸的是,我不知道消失的报告的确切名称,但我知道其名称的开头部分(如Z_ABCD_...)。

英文:

There was a local report in the $TMP that is "disappeared" somehow. I did not delete it, but can't see it in SE80 anymore.

What could be the reason?
Somebody else has deleted it. The system has been resetted somehow to an older backup state. Are any other reasons possible?

Is there a possibility to see in the traces what has happened or are there any other (better) tracking possibilities?
Unfortunately I don't know what was the exact name of the disappeared report, but I know the beginning of its name (like Z_ABCD_...)

答案1

得分: 1

你无法恢复或跟踪已删除的本地对象。可能有各种原因,如您所提到的。最好向同事或基本团队询问是否进行了一些更改。

尝试查找表TADIR(存储库对象目录),以检查哪些本地开发对象存在。使用SE16 / SE16N事务并使用条件DEVCLASS = $TMP,另外使用AUTHOR以仅包括特定用户的对象,OBJ_NAME = Z_ABCD*以限制程序名称。

您还可以检查表REPOSRC(报表源代码),其中存储了原始字符串(DATA字段)的报表源代码。根据PROGNAMECNAM(用户名)进行筛选,以检查源代码是否在系统上可用(此表还有几个可用的视图,如TRDIRD010SINF)。

如果该程序被分配到一个包或传输并已删除,那么您可以在TADIR中找到它,其中删除标志为DELFLAG = X,并且在表E071中也可以找到,在传输分配的情况下,OBJFUNC = D。本地对象只会从存储库表中删除。

英文:

You cannot restore or track local objects if they were deleted. There could be any reason from that you have mentioned. Better ask collegues / basic team if they made some changes.

Try to look up the table TADIR (Directory of Repository Objects) to check which local development objects exist. Use SE16 / SE16N transaction with condition DEVCLASS = $TMP, additionally AUTHOR to include only objects from specific user, OBJ_NAME = Z_ABCD* to restrict the program name.

You can also check the table REPOSRC (Report Source Code), where reports source code in RAWSTRING (DATA field) is stored. Filter on PROGNAME, CNAM (username) to check if the source sode is available on the system (there are also several views avaiable for this table, TRDIR, D010SINF).

If the program were assigned to a package / transport and deleted, than you could find it in TADIR with a deletion flag DELFLAG = X, and also in the table E071 with OBJFUNC = D in case of a transport assignment. Local objects just get deleted from the repository tables.

huangapple
  • 本文由 发表于 2023年6月1日 17:43:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76380594.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定