Find where the data is stored in SAP

http://it.toolbox.com/wiki/index.php/Find_where_the_data_is_stored_in_SAP

 

Introduction

This HOWTO will give the steps you need to find where the data is stored in SAP when you want to create an ABAP query or ABAP report using fields that you can find on transaction screens.

[ edit]
Steps
  1. The first step is always to find out the table and field name of the screen field. With the cursor in the field you want, press F1 or click on the "?".
  2. The initial help screen will give you descriptions and information about the field.
  3. From there press F9 or click on [Technical info].
  4. Here you can get names of the table, field and the data element.
  5. If you are lucky the system gives you a transparent table name. If you're not lucky you'll get a structure name.
  6. Doubleclick on the data element and search via the where used of the dictionary.
  7. Failing above you can set up the TCODE or a portion of it just before screen where the field exists and then switch on SQL Trace, run the screen, turn off SQL trace and then list the Trace Log following which tables/views were hit. Obviously it is best to turn on and off the trace in the smallest time-window possible to lessen the number of Trace Log entries you have to look through.
  8. Another thing to try is : run program RSSDOCTB. This gives you a list with info about the table such as fields, check tables ....
  9. Or try Transaction SE84 (Repository Info System)- Select in the tree ABAP Dictionary -> Fields -> Table Fields - Insert in the Select-Option "Field name" the name of the files (E.g. CARRID and CONNID) and execute it - now you will get a list of all tables which have one or both of this fields - it's easy to identify the tables which contain both fields in the list.
  10. Or start an sql trace and look at the tables that are read
  11. Last resort, find the program name (click on the triangle icon at botton right to expand information and click on the icon right of client number) and look the ABAP code with TCODE SE38
  12. Run SE30 against your transaction. When you've done what you needed to do and returned, Hit analyze. Click the hits list. You get all of the modules, tables, forms, FMs,... that were called. Look for interesting names. (EG. Read_structure_name [BEARBEITEN means "Work on", ERMITTELN means "determine", PRUEFEN means "examine or check", AUFBAUEN means "CONSTRUCT", LESEN means "Vintages" but (aren't we germans sneaky, just kidding) GELESEN means "read" so we'll use LESEN instead of GELESEN... and http://babelfish.altavista.com/ does a passable job of translating])

All of these solutions will fail you from time to time. At this point, keep on digging:

  1. Look for other screens that contain the same data. If you change it in screen A and the change is duplicated in screen B then you have found another data location to apply the above steps in.
  2. Look for the data point in canned reports and apply the above steps. Also note that it is much harder for the access mode to be hidden when you are doing reporting.
 

转载于:https://www.cnblogs.com/zhumk/archive/2010/07/02/1769956.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值