How to find Tables behind a Custom Query in SAP

Hi Gurus,
Can anyone please help me find tables behind a custom query in SAP.
Regards
As

Hi
Check the name of the programm assigned to transaction, it should be like this:
AQZZ<user group>=======<query name>======
or
AQIC<user group>=======<query name>======
It depends of the query area is global or cross-client
So run SQ01, select the quey area, select the quey group and so your query: now you can see the infoset and then you see it by SQ02 transaction
Max

Similar Messages

  • How to find the program name of the created sap query ?

    how to find the program name of the created sap query ?

    Hi avinash,
    Try in this way..
    Go to SE16 and then go to table TSTC.
    in that give program name as <b>*followed by your query name</b>
    (for example *TESTQUERY)
    and run , that will give progname======queryname.
    this way you can find program name.
    vijay

  • How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0?

    Hi,
    How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0? Please let me know.
    Thanks,
    Monica

    Hi,
    In SRM for all objects like SC ( BUS21210),BID,PO(BUS22010),Confirmation (BUS2203),invoice etc all the data stored
    in BBP_PDHGP and BBP_PDBEI  tables only, These is no separate tables..
    for your reference below are the few SRM tables
    BBP_PDACC  Account Assignment 
    BBP_PDATT  Document Attachment 
    BBP_PDBEH  Backend Specific Header Data 
    BBP_PDBEI  Backend Specific Item Data 
    BBP_PDBGP  Partner Extension Gen. Purchasing Data 
    BBP_PDBINREL  Transaction Object Linkage (EBP) 
    BBP_PDHCF  Set for Tabular Customer and Solution Fields on Hdr 
    BBP_PDHGP  Business Transaction Purchasing Information 
    BBP_PDHSB  Bid Invitation 
    BBP_PDHSC  Header Extension for Customer Fields 
    BBP_PDHSS  Hdr Extension for SAP Internal Enhancements (IBUs and so on)
    BBP_PDICF  Set for Tabluar Customer and Solution Fields on Itm 
    BBP_PDIGP  Business Transaction Item-Purchasing Information 
    BBP_PDISB  Bid Invitation/Bid-Specific Item Data 
    BBP_PDISC  Item Extension for Customer Fields 
    BBP_PDISS  Item Ext. for SAP Internal Enhancements (IBUs and so on) 
    BBP_PDLIM  Value Limit 
    BBP_PDORG  Purchasing Organizational Unit 
    BBP_PDPSET  Further Procurement Information 
    BBP_PDTAX  Tax 
    CDCLS  Cluster structure for change documents 
    CDHDR  Change document header 
    CDPOS_STR  Additional Change Document - Table for STRINGs 
    CDPOS_UID  Additional Table for Inclusion of TABKEY>70 Characters 
    CRM_JCDO  Change Documents for Status Object (Table JSTO) 
    CRM_JCDS  Change Documents for System/User Statuses (Table JEST) 
    CRM_JEST  Individual Object Status 
    CRM_JSTO  Status Object Information 
    CRMD_LINK  Transaction - Set - Link 
    CRMD_ORDERADM_H Business Transaction 
    CRMD_ORDERADM_I Business Transaction Item 
    CRMD_PARTNER  Partners 
    SROBLROLB  Persistent Roles of BOR Objects 
    SROBLROLC  Persistent Roles of Business Classes 
    SRRELROLES  Object Relationship Service: Roles 
    Thanks & Regards,
    Prasad S

  • How to find tables from transactions

    Hi All,
    Please tell me in which tables I can see customer heirarchy(i.e.VDH2N)? I would like to know all tables in which heirarchy 1 ,2 and 3  is stored?
    Also let me know how to find table names from transactions or after going to transaction screen?
    Thanks
    Yogesh

    Hi,
    Please check table KNVH.
    Also you can use BAPI BAPI_CUSTOMER_GET_CHILDREN to get child customers for a customer.
    FORM get_child_customers USING iv_cust_no TYPE kna1-kunnr.
    * BAPI to get the all Child Customers of the current Customer
    CALL FUNCTION 'BAPI_CUSTOMER_GET_CHILDREN'
    EXPORTING
    valid_on = sy-datum
    custhityp = 'A' ( Customer hierarchy type 'A', ... etc.. )
    node_level = '00' (node level)
    customerno = iv_cust_no ( customer number )
    TABLES
    node_list = gt_output. ( get the child customers in the list)
    ENDFORM. " get_child_customers
    Regards,
    Ferry Lianto

  • How to find table name for the fields from Standard Extractor in CRM system

    How to find table name of fields from the standard extractor in CRM system ?
    e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
    Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.

    Hi ,
    Please find the link below for understanding BW CRM analysis.
    http://help.sap.com/bp_biv135/html/bw.htm
    activate the CRM DSs by scenario:
    1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
    SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
    2) Activate the Business Content DataSources (tcode RSA5).
    Select/enter the application component and choose Execute (F8).
    To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
    To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
    3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
    As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
    You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
    The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
    All BW-Adapter metadata is considered when versions are compared:
    Header information (Table SMOXHEAD)
    Mapping information (Table SMOXRELP)
    Global selection conditions (Table SMOXGSEL)
    Attribute key fields (Table SMOXAFLD)
    Hope this helps.
    Regards,
    csm reddy

  • How to find table & fields of standard InfoObject?

    Hi
    How to find table & fields of standard InfoObject for creating generic DataSource?
    e.g. I want to know the table & field of 0MAINTPOS infoObject.

    You can get the list of tables involved in a particular DS by using the below method ( this another approach)
    --> RSA3 -- enter your DS ( execute later)
    --> Goto Tcode ST05 --> switch on the SQL Trace
    --> now execute the extract checker in RSA3.once done switch off(deactivate) the SQL trace.
    --> in st05 screen you can find the button "Display Trace" -- execute (here make sure SQL trace button is enabled.
    --> from the menu bar -->Trace list-->  select "combined table accesses".
    --> it will display the tables involved in it -- check for TABLE names section.... select that row Table names -- click on filter button --press F4 -- here we go it will display the list of entire tables involved in the extraction activity... here you need to sort the tables which are related to your DS.

  • How  to find tables in Lo that  were extracted from R/3 to BW?

    Hi Experts,
    pls tell me How  to find tables in Lo that  were extracted from R/3 to BW?
    Thanks in advance.
    Regards,
    Hari Reddy

    Hi
    Check the following thread,if the earlier link doesnt work..
    How to locate which R/3 table-field is mapped to BW
    cheers

  • How to find the queryid of a query

    Hi,
    Can someone suggest how to find the queryid of a query?
    Many thanks,
    Xibi

    hi xibi
    please follow my simple way to find the queryid of the query.
    Go to open qeury from BEx, select the query for which you wish to see the queryid, copy the query using CtrlC and paste the same to notepad CtrlP.
    There you can see the queryid with all the other details also.
    The result you find with this method is the easiest i hope.
    hope this helps
    regards
    vijaykumar

  • How to find table information for a datasource?

    Hi,
    Can you please tell me how to find table information for a datasource. I am not getting much help from help.sap.
    I am trying to find table information for below datasources. We are creating DSO's for the below mentioned datasources, for some we have standard DSO's(0WBS_O06), for others I am trying to create
    0CO_OM_NWA_1,
    0CO_OM_NWA_2,
    0CO_OM_WBS_1,
    0CO_OM_WBS_6
    Please help me.
    Regards,
    Bob.

    Hi BOB,
    Another option to find the table information...
    inorder to get the tables names involved in that particular data source follow the below steps.
    1) ST05 --> activate the Trace
    2) RSA3 --> enter your data source (for ex: 0CO_OM_NWA_1)
    3) Execute
    4) Now goto ST05 -> deactivate the trace
    5) click on Display trace(F7) button
    6) Execute
    7) It will display the complete SQL trace
    8) Now from the Menu "Trace list" --> select "Combined Table Access"
    it will display the complete tables list involved in that data source...
    From Table name section you can get the list of tables involved in that data source.
    I had traced and took the information of tables involved in that data source 0CO_OM_NWA_1
    0CO_OM_NWA_1     
    AFKO     Order header data PP orders
    AFVC     Operation within an order
    AUFK     Order master data
    COSP     CO Object: Cost Totals for External Postings
    COSPP     Transfer of the Order in the COSP Table to the Project
    COSS     CO Object: Cost Totals for Internal Postings
    COSSP     Transfer of the Order COSS Table to the Project
    COVREF     Coverage Reference Table: All Processing Blocks
    COVRES     Table of Coverage Results
    You can follow the same steps and find the tables for the rest.
    Regards
    KP

  • How to find tables from database having no partition

    Hello Sir,
    How to find tables from oracle database having no partitions?
    Thank you.
    -Mal

    @SB,
    SQL> SELECT OWNER, TABLE_NAME FROM DBA_TABLES
      2  MINUS
      3  SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS;
    SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS
    ERROR at line 3:
    ORA-00904: "OWNER": invalid identifier@OP,
    select table_name,partitioned from dba_tables where partitioned='YES';
    select table_name,partitioned from dba_tables where partitioned='NO';
    Regards
    Girish Sharma
    Edited by: Girish Sharma on Jul 1, 2011 9:27 AM

  • How to find the developer's customer support

    how to find the developer's customer support

    Go to their website. If you don't know its address then search for it on Google.

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • What is table type?How do i find tables behind that table type?

    Actually i know the trasaction,And in that transaction i find the required fields,But when i check for table name in technical settings i always finding table type ,not table.So How can i find table name for the field?

    Have a look at below link. It will give you all the details.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm
    Best Regards,
    Vibha Deshmukh
    *Please mark all the helpful answers

  • How to find table for structure field ???

    Hi..
    i need your expert help on this.
    i am working on printing of terms of payment description. here there are explanation fields. it is coming from structure R052. and field name is TXT 02. here as per my understanding structure is coming from multiple tables so how i can find that from which table this field is coming??
    thanks
    h shah

    Dear,
    Well I cant say this is the solution for your issue, but have a look.
    http://it.toolbox.com/wiki/index.php/Find_data_in_your_SAP_system_and_know_which_tables_do_what
    DD02L - table properties
    DD02T - table texts
    DD03L - field properties
    DD03T - field texts
    How to find data related to a structure? With GREAT difficulty, but here are some ways (which will NOT work sometimes) to find specific fields if you know the structure's fieldname.
    1) First, goto SE11, and enter your structure name. Goto the field that holds your data, and double-click on the element name. Once inside the element, do a where-used list for that element, searching tables only. Then go into each table, and see if you can find the one holding your data. There may sometimes be a huge number of tables displayed, but a lot of them will be empty.
    2) Get the name of the program behind your transaction, goto SE80, and enter the program name. 99% of the time it will be part of a module-pool and bring up the pool. Goto the dictionary structures, and search each table there for the one holding your data.
    3) Open a new session with transaction ST05, select SQL Trace, click on the Trace On button, and go back to your transaction (while leaving the session with ST05 open). Submit your transaction, and go back to the ST05 session. Click on the Trace Off button, then select the List Trace button. Continue with standard selections, and a BASIC TRACE LIST will appear. search thru the tables displayed under ObjectName.
    and have a look at below.
    You do know any transaction in which (related) data is used: 1) start the transaction 2) position the cursor on the field you want to have info about 3) press F1, then F9 4) now you see the technical information of the data element, such as table name and field name. 5) if the table mentioned is what you're looking for, you're done. It is also possible that the data element is in a structure and not in a table. Now you can either analyze the structure via trx SE11, or you can double click on the 'data element' field. In the next screen, use the 'Where used' button to find the tables in which this data element is used.
    Additional tip: if you have found the table name, you can use trx SE36 to see the relationships of this table to other tables. You can use these relationships when defining queries, designing custom ABAP programs, etc. If you're lucky, one or more standard SAP logical database exist which contain the table you found in the previous steps. Proceed as follows: 1) start trx SE36 2) use the search help for the logical database name 3) enter the name of the table in the search help 4) press enter and, if you're lucky, you'll see a list of logical databases. Select one, press enter, select the radio button 'Structure' and press the view button. Now you'll see how this table is related to other tables.
    And finally, I prefer, the simpliest way to contact the ABAP consultant for help.
    Regards,
    Syed Hussain.

  • How to find table name and field name in JSP FORM

    Hi
    In JSP form's like XML publisher responsibility>templet
    In that form how can we see the system-last query . and how to see the table name

    hi yamini,
    plz go to help->record history (for fining table name)
    and
    help->diagnostic->examine (for finding field name)& enter last_query
    in JSP form also same above only i think.
    or check in back end & apply who columns
    Edited by: raghava bandi on Nov 7, 2008 2:05 AM

Maybe you are looking for