如何在SAP中找表


Dennis Barrett的《18 Techniques for Locating the Underlying Data of a Screen Field》他在這篇文章列舉了18種查表的方法。
其實平常用不到這麼多,結合他這篇文章,我說說我常用的幾種方法。

http://career-sonia.blog.163.com/blog/static/571362932011819104648578/

1,F1。毫無懸念,當我想要知道某一個字段存在哪一張表裏的時候,我就會下意識的按F1,然後去看Technical Infomation。我覺得有一半左右的機會可以得到我想要的答案

2,SAP Application。用SE16進入Data Browser,然後F4,點擊進入SAP Application。然後可以看到,一個表和應用相匹配的樹狀圖,根據當前進行的操作內容,查找對應的表。

3,CDHDR and CDPOS。這兩個表記錄了SAP內所有的修改記錄:CDHDR是change document header;CDPOS是change document position;一個是header信息,一個是Item信息,如果想知道某個字段在哪個表中,可以去修改這個字段,然後用SE16到CDHDR中查找 你剛纔的更改記錄,輸入Name,Date,Time可以縮小範圍:然後根據顯示出的Change doc. object,Object Value和Document number去CDPOS中查找細節,就可以找到更改的表了

4,ST05。SQL Trace。SQL trace記錄了在系統裏所做的操作訪問了數據庫中的那些表。點擊Active Trace後,進行和要查找的字段相關的操作後,再Deactive trace,然後Display Trace查看剛纔操作的過程中訪問過哪些表。有的時候,訪問的表很多,但是多數不是想要找的,所以需要花時間去分析。

以 上四個是我常用的方法,而且我覺得很有效了。這四個方法在Dennis Barrett的《18 Techniques for Locating the Underlying Data of a Screen Field》裏都有提及,他提到的其餘的方法沒有用過,不做評價了。

另外還有一段提醒很不錯:
Many transactions have header informationand detail or item lines in separate linked tables.
Remember that R/3 is a German product. “Kopf” isGerman for “head,” and “position” can be interpretedin German as “detail” or “item.”
You’ll often find header/item table pairs with “K” and “P” in their names, such as VBAK and VBAP. When you are looking for linked tables containing the data for a transaction, this tip may help you identify one if you have the other.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章