Find where the data is stored in SAP

Source: Internet
Author: User

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 "? ".
  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 abve 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. obviusly 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 at 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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.