CRM Table Names needed - For CRM Account, Contacts & Activity

Hi,
I liked to know "Table Names" for the following entities are stored in SAP CRM System
(a.)  CRM Accounts
(b.)  CRM Contacts
(c.)  CRM Activity
Thanks,
Prembabu

Check the list of CRM Tables;
BUT000 : BP: General data - Contains Business Partner Number, Partner Category, Partner Type, First Name, Last Name etc.
BUT020 BP: Addresses
BUT050 BP relationships/role definitions: General data - Contains Relationship, Partner Number (PARTNER1), Relationship Category
BUT051 BP Relationship: Contact Person Relationship Similar to
BUT050 additionally contains Contact Person's Address data
BUT0BK Business Partner: Bank Data & Details BP Number, Bank Key, Bank Country Key, Bank Account Number
BNKA Bank Master Data
BUT100 BP: Roles
ADR2 Telephone Numbers (Business Address Services)
ADR6 SMTP Numbers (Business Address Services) - Contains Email – Id of the BP.
ADRC Addresses (Business Address Services) - BP's Complete Address Details- City, Country, Post Code, District,
Street, Title No Etc
TSAD3T Table containing the Title text against a Title No.
COMM_PRODUCT Master Table for Product
CRMM_BUAG Master table for Business Agreement
CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU
CRMD_OPPORT_H OPPORTUNITY HEADER DATA
CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
Note:
1. It doesn't store the Business Partner responsible for the transaction. To get the Partner No, link it with
CRM_ORDER_INDEX.
2. This table can be used for search based on the Object Id(Business Transaction No).
CRMD_OPPORT_H OPPORTUNITY HEADER DATA
CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
CRMC_PROC_TYPE Master table Business Transaction Type
CRMC_PARTNER_FCT Definition of Partner Functions
SCPRIOT Priorities for Activities with priority text.
CRMC_PROC_TYPE_T Text for a transaction type
CRMC_ACT_OBJ_T Objective Number and Text for Activities
TJ30T All the status code and text
CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
IBIB : Installed Base/Ibase
IBIN : Installed Base Components
Activities:
CRMD_ACTIVITY_H Activity Header table
CRMD_ACTIVITY_I Activity Reporting: Activity Line Item Extension
CRMD_TM_ACTIVITY Activity reference
Lead:
CRMD_LEAD_H Lead Header table
Opportunity:
CRMD_OPPORT_H Opportunity Header table
Reward points if it helps.

Similar Messages

  • Urgent: Table name needed for Real estate

    Hi Experts,
    i have a query relating to the real estate module.
    I want a table name that holds the (VIOROO-rsobjtype) Reservation object type field and (VIBPOBJREL-Partner) Partner field. These fields are contained in 2 different tables.
    Can you help me out here. This is an Very urgent requirement.
    Points will be awarded.
    Thanks in advance.

    Hi,
    Just do like this to know about your tables,
    go to se11,
    give table name as DD03L(which is a table for table fields),
    display,
    excute,
    under the field name input u can VIOROO and VIBPOBJREL
    then excute, u can get the table names for your fields.
    seshu.

  • CRM table name needed

    What table or tables will show contacts that may exists without a relationship with a customer?

    Thanks for the reply, BUT050 and BUT051 relate a contact to a customer or a CP to a BP.  However, I was wanting to know if there was an easier way to identify CPs that may exists without a BP without having to compare all CPs from BUT000 to all records in BUT050.

  • SAP CRM Tables and Fields for Contract start and End dates

    Hi Experts,
    Please Provide me SAP CRM Tables and Field names for the below.
    SAP CRM Contracts start date and End date
    SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
    Thanks and Regards,
    Teja

    correction
    10 Replies Latest reply: 24 May, 2013 8:38 AM by nishant Vasudev  
    Tweet
    SAP CRM Tables and Fields for Contract start and End dates
    This question has been Answered.
    Teja Dhar 12 Oct, 2009 8:03 PM  
    Currently Being Moderated
    Hi Experts,
    Please Provide me SAP CRM Tables and Field names for the below.
    SAP CRM Contracts start date and End date
    SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
    Thanks and Regards,
    Teja
    Correct Answer by Sreekantha Gorla  on Oct 22, 2009 8:22 PM
    Hi,
    dates will be stores in the table 'SCAPPTSEG'.
    I double checked it. This table stores all the date types of one order transactions...
    The relationship is as follows..
    CRMD_ORDERADM_H- guid = crmd_link-guid_hi
    crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
    Thanks and regards,
    Sreekanth
    <:footer>See the answer in context
    6281 Views
    Topics: Customer Relationship Management
    Reply
    Average User Rating
    0
    (0 ratings)
    My Rating:
      Rating Saved!
    Comment on your rating
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Robert Jesionowski 14 Oct, 2009 2:23 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    you should try with FM: CRM_DATES_READ_SINGLE_OB or CRM_DATES_READ_DB.
    There is something in table SCAPPT and SCGENAPPT.
    Regards, R
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 22 Oct, 2009 5:30 PM (in response to Robert Jesionowski)  
    Currently Being Moderated
        Hi Robert, 
    I am not able to find contract start date and End dates in the tables SCAPPT and SCGENAPPT.
    Can you suggest some relevant tables.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Sreekantha Gorla 22 Oct, 2009 2:35 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    Table SCAPPTSEG stores the contract start and end dates.
    Thanks,
    Sreekanth
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 22 Oct, 2009 5:32 PM (in response to Sreekantha Gorla)  
    Currently Being Moderated
        Hi Sreekanth, 
    I am not able to find contract start date and End dates in the table SCAPPTSEG.This is for appointments.
    Can you suggest some relevant tables.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
    Correct AnswerRe: SAP CRM Tables and Fields for Contract start and End dates
    Sreekantha Gorla 22 Oct, 2009 8:22 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    dates will be stores in the table 'SCAPPTSEG'.
    I double checked it. This table stores all the date types of one order transactions...
    The relationship is as follows..
    CRMD_ORDERADM_H- guid = crmd_link-guid_hi
    crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
    Thanks and regards,
    Sreekanth
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Wim Olieman 23 Oct, 2009 9:12 AM (in response to Sreekantha Gorla)  
    Currently Being Moderated
        Hi, 
    I can tell you where the pricing records are saved, replicated from ECC.
    The data from ECC table Axxx (e.g. A304) is replicated to CRM table
    CNCCRMPRSAPxxx (e.g. CNCCRMPRSAP304).
    Here you can find fields TIMESTAMP_TO and TIMESTAMP_FROM.
    About the dates: what Sreekantha Gorla stated, about table 'SCAPPTSEG' is correct.
    What might help is to execute program "CRM_ORDER_READ". Here you can find
    the relevant entries also.
    regards,
    Wim
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 23 Oct, 2009 4:59 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi Experts, 
    Thanks a lot for your support.My problem got resolved.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    rajesh gadamsetty 27 Nov, 2009 12:29 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi Teja 
    Please let me know how you got the dates. i got the same requirement
    Report Abuse
    Like (0)
    Reply
    Correction on above mail.
    Hi Sanjay,
    Can you please help me to find the contract st art date and end date fetching from the table as below
    ITEM DATES:
    Select guid_set from table CRMD_LINK where guid_hi              =  CRMD_ORDER_I-GUID AND
                                                                              OBJTYPE_HI     =  '06'
                                                                              OBJTYPE_SET  =  '30'.
    Select * from SCAPPTSEG where APPL_GUID = guid_set.
    as from the table scapptseg has some unusal fields which fields to select to get the start date and end date and on what condition and isuppose we need to convert als the same
    pls suggest further on same
    regards
    Arora

  • HT204023 I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me

    I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me. Before I was using this service but now facing problem.

    Md Asad wrote:
    Yes but they told mobile co mean Device 'iPhone co'
    Sorry but that makes no sense in English. Only your mobile phone company (i.e. "carrier") can enable the Personal Hotspot feature.

  • CRM Table name for International versions in BP (address)

    hi can any one tell me the table name for the where the internation nation versions are stored in which table -
    above field will be in BP - Address

    Hi Raj,
    The international address version is stored in table ADRC. You need to mention the appropriate value of field 'Nation' to retrieve the international version. The default address has nation = space. International version has nation = 'I'. Chinese / Kanji version has nation = 'K'...
    You can query ADRC using address number + nation. You can get address number for the BP from table BUT020.
    Hope this solves your issue.
    Cheers,
    Rishu.

  • CRM Table Names

    Hello Experts
    Which CRM tables should I look to find out the product, plant and the business partner that was used, if I have the CRM transaction number. How are these tables linked to get the required information? If I require this info to be extracted to BW, what additional information is required for the BW resource?
    Thanks in advance.

    Hi know.how!
    CRM_ORDER_READ is a function module which can be used to get the details of any business transaction based on the Header GUID, Item GUID or both.
    Some Exporting Parameters in CRM_ORDER_READ Function Module
    Return Structure Name Details Fetched
    ET_ORDERADM_H Header Details of a Business Transaction such as OBJECT_ID, PROCESS_TYPE etc.
    ET_ORDERADM_I Item Details of a Business Transaction such as PRODUCT, PRODUCT_KIND, HEADER etc.
    ET_ACTIVITY_H Header Details of an activity such as PRIORITY, OBJECTIVE, Address Details etc.
    ET_ACTIVITY_I Item Details of an activity.
    ET_CUSTOMER_H Additional details at Header level
    ET_CUSTOMER_I Additional details at Item level
    ET_APPOINTMENT All the dates at Header and Item level
    ET_PARTNER Partner Details at Header and Item level
    ET_STATUS Status of Business Transaction at Header and Item level
    ET_BILLING Billing related details for a Business Transaction both at Header and Item (This structure was enhanced in a leading ISU SAP-CRM implementation to include BUAG_ID(Business Agreement) field in a Service Contract
    ET_ORDPRP_OBJL_I_D Object List details such as PRODUCT
    ET_DOC_FLOW Ref. Details of the previous Business Transaction
    Ex:
        CALL FUNCTION 'CRM_ORDER_READ'
          EXPORTING
            IT_HEADER_GUID                = lt_header_guid
          IMPORTING
            ET_ORDERADM_H               = lt_orderadm_h
            ET_ORDERADM_I                 = lt_orderadm_i
    Best regards, Kostya

  • Crm-action and crm table document needed

    Hi ALL,
    I need  documents on CRM- Action and CRM - table , if anybody has please send it to the following id : [email protected],it wll be great helpful.
    Thanks in advance
    Satya

    hello,
    Most of the replication of documents from CRM to ECC is done via the messaging BDOCs which are in CRM Middleware.The analysis of these will give you the mapping of fields.
    Some general rules in identifying tables in CRM.
    CRMM  - tables starting prefix M is for Master data
    CRMD - tables starting prefix D is for the Document data or transaction data
    CRMC - tables starting prefix C are for customizing data
    for example,
    CRMD_ORDERADM_H contains transaction data for transaction types (document types)
    Below are some of the links where data is transferred to R/3.Analysis of this will help.
    http://help.sap.com/saphelp_crm40/helpdata/en/9d/c06a3b60a3fc30e10000000a114084/frameset.htm
    Regards,
    Sourabh

  • Table name  and  field name needed for delivery note

    Hi  Experts
    I need to extract the following fields for Delivery.
    company code
    Sales organization
    plant code
    shipping point
    DDL No (VBELN)
    Sales order
    Customer PO
    Customer request date
    planned GI date
    sold to code
    ship to code
    ship to name1
    ship to name 2
    ship to address1
    ship to address2
    ship to address3
    DDL Line item(posnr)
    matnr
    DDL Doc. date
    DDL Doc. Created by
    anybody knows the field name and table name for above fileds pls help me.

    Hi,
    It is possible to get the data ship-to adress of delivery.
    step1:
             Go to LIKP table which is header data.Select the record from DB for delivery you want into one field string.
    step2:
           Get the customer number of the ship-to party (in field KUNNR IN LIKP Table) into one variable.
    step3:
           Using that customer number you can get the address of ship-to party of particular delivery in KNA1 table.
      Here is some peice of code.
      TABLES: kna1 , likp.
    PARAMETERS: p_del TYPE likp-vbeln.
    DATA:
         w_ship_to_num TYPE likp-kunnr.
    SELECT SINGLE * FROM likp
    WHERE vbeln EQ p_del.
    w_ship_to_num = likp-kunnr.
    SELECT SINGLE * FROM kna1 WHERE kunnr EQ w_ship_to_num.
    WRITE : 'Name :' ,  kna1-name1,
              'City   :'  , kna1-ort01,
              'State :'   ,kna1-regio.

  • Crm table names required

    Hi
    i want to get all the activities/leads/opportunities id's for particular sales org created in last 6 months
    could u please kindly suggest how can i develop quickviewr query (SA38)and what are the table name that i should use for linking to extract o/p
    As it is an urgent requirement i request you to kindly throw some light on this
    Regards
    Vinay

    hi,
    why dont you use the standard search functionality. Once you get the result then do the change layout and filter out the records.
    For activities you can use the Activity monitor and for Oppurtunities, lead and order toy can use the standard search functionality.
    Hope this helps.
    Regards
    Arun Kumar
    <b>Reward Points if it helps you</b>

  • Field and table names requested for BAPI_INCOMINGINVOICE_CREATE

    Hi all,
    The following data is being hardcoded in BAPI_INCOMINGINVOICE_CREATE functional module for testing the functioning of this bapi.  Now kindly suggest me how to make this BAPI useful for all PO's.  the following data is being passed into BAPI for generation of invoice.  Kindly provide technical names along with table names for the following fields. 
    HEADERDATA
            INVOICE_IND                    X
            DOC_TYPE                       RE
            DOC_DATE                       24.07.2007
            PSTNG_DATE                   24.07.2007
            REF_DOC_NO                   5000000940
            COMP_CODE                    ACW
            CURRENCY                       INR
            GROSS_AMOUNT             33,750.0000
            CALC_TAX_IND                  X
            BLINE_DATE                     24.07.2007
    iTEM DATA
         INVOICE_DOC_ITEM               000001
         PO_NUMBER                         10070100
         PO_ITEM                                00001
         TAX_CODE                             V0
         ITEM_AMOUNT                       33,750.0000
         SHEET_NO                             1000002022
         ITEM_TEXT                              SDFDS
         SHEET_ITEM                           0000000001
    Thanx in advance.
    Krishna

    Hi I have taken particular PO and Executed the code. It is generating the Invoice Document No. Now it want to remove all the Hardcoding. Code i have used is as follows. How do i remove the hardcoding ?? send meif sample code is available???
    Internal table declaration *
    DATA: gt_headerdata TYPE STANDARD TABLE OF bapi_incinv_create_header
    INITIAL SIZE 0,
    gt_itemdata TYPE STANDARD TABLE OF bapi_incinv_create_item
    INITIAL SIZE 0,
    gt_accountingdata TYPE STANDARD TABLE OF bapi_incinv_create_account
    INITIAL SIZE 0,
    gt_return TYPE STANDARD TABLE OF bapiret2
    INITIAL SIZE 0.
    DATA: gs_headerdata LIKE bapi_incinv_create_header.
    DATA: gs_itemdata LIKE bapi_incinv_create_item.
    DATA: gs_accountingdata TYPE bapi_incinv_create_account.
    DATA: gs_return TYPE bapiret2.
    DATA: l_date TYPE sy-datum.
    l_date = sy-datum - 15.
    Error flag *
    DATA: l_errflag(1) TYPE c.
    Build Invoice header
    Document Type (Invoice)
    gs_headerdata-invoice_ind = 'X'.
    gs_headerdata-doc_type = 51.
    Document Date
    gs_headerdata-doc_date = l_date.
    Posting Date
    gs_headerdata-pstng_date = l_date.
    Reference Document No
    gs_headerdata-ref_doc_no = 323348.
    gs_headerdata-gross_amount = 31.
    Currency
    gs_headerdata-currency = 'USD'.
    Company Code
    gs_headerdata-comp_code = 'D3'.
    Baseline Date
    gs_headerdata-bline_date = l_date.
    **Tax Indicator
    *gs_headerdata-calc_tax_ind = 'X'.
    Build order item(s) - Only 1 is used in this example
    Document Item
    gs_itemdata-invoice_doc_item = 000001.
    Purchase Order Number
    gs_itemdata-po_number = 3700000011.
    Purchase Order Item
    gs_itemdata-po_item = 00010.
    Quantity
    gs_itemdata-quantity = 31.
    gs_itemdata-po_unit = 'Z00'.
    Item Amount
    gs_itemdata-item_amount = 31.
    gs_itemdata-tax_code = 'O0'.
    gs_itemdata-taxjurcode = '0100000000'.
    APPEND gs_itemdata TO gt_itemdata.
    Document Item
    *gs_itemdata-invoice_doc_item = '00002'.
    Purchase Order Number
    *gs_itemdata-po_number = '4700000158'.
    Purchase Order Item
    *gs_itemdata-po_item ='00020' .
    Quantity
    *gs_itemdata-quantity = '5'.
    *gs_itemdata-po_unit = 'Z00'.
    Item Amount
    *gs_itemdata-item_amount = '5'.
    *gs_itemdata-tax_code = 'O0'.
    *gs_itemdata-taxjurcode = '0100000000'.
    *APPEND gs_itemdata TO gt_itemdata.
    Accounting Data
    ***gs_accountingdata-costcenter = 'DUMMY CCTR'.
    *gs_accountingdata-invoice_doc_item = '00001'.
    *gs_accountingdata-xunpl = 'X'.
    *gs_accountingdata-tax_code = 'O0'.
    *gs_accountingdata-taxjurcode = '0100000000'.
    *gs_accountingdata-ITEM_AMOUNT = 100.
    *gs_accountingdata-gl_account = '0003805101'.
    *APPEND gs_accountingdata TO gt_accountingdata.
    *CLEAR :gs_accountingdata.
    *Call the BAPI to Create the Return Order
    data: gv_INVOICE type BAPI_INCINV_FLD-INV_DOC_NO,
    gv_YEAR type BAPI_INCINV_FLD-FISC_YEAR.
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
    EXPORTING
    headerdata = gs_headerdata
    IMPORTING
    INVOICEDOCNUMBER = gv_INVOICE
    FISCALYEAR = gv_YEAR
    TABLES
    return = gt_return
    itemdata = gt_itemdata.
    accountingdata = gt_accountingdata.
    PERFORM error.
    Check and write Return table
    FORM error.
    LEAVE TO LIST-PROCESSING.
    CLEAR l_errflag.
    LOOP AT gt_return INTO gs_return.
    WRITE: / gs_return-type, gs_return-message(200).
    IF gs_return-type = 'E'.
    l_errflag = 'X'.
    ENDIF.
    ENDLOOP.
    PERFORM commit.
    ENDFORM. " ERROR INPUT
    No errors - Commit
    FORM commit.
    IF l_errflag IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    ENDFORM. " COMMIT INPUT
    Thanks in advance
    Krishnasri

  • Urgent ...Table name Require for appraisal competency

    Hi All,
    can some one help me to sort out this issue.
    how can i know where the appraisal competency information is storing(i mean table names).
    i mean when appraiser enter the competency for his appraise.
    Thanks.
    Edited by: user627525 on Mar 17, 2009 4:35 AM

    Or try this query is you want a rating that gives u a number 0-5 for performance rating. I did this query a while ago. it also gives rating for the last 3-4 years. HR also wanted the rating rounded off. so i included that but i am sure u dont need it
    select distinct peo.person_id
    ,AK.AK_RATING "Final 2005/6"
    ,AK_DATE
    ,AC.AC_RATING "Final 2006/7"
    ,AC.AC_Date
    ,AF_Rating "Final 2007/8"
    ,AF_DATE
    ,nvl(to_char(AG.AG_Rating),'Not Yet Reviewed') "Current Rating 1st 6 mnths"
    ,nvl(to_char(AR.AR_RATING),'Not Yet Reviewed') "Current Rating 2nd 6 mnths"
    ,AG_DATE
    from hr.per_all_people_f peo,
    hr.per_all_assignments_f paa
    ,(SELECT DISTINCT peo.person_id AK_person_id
    ,pr.performance_rating AK_rating
    , pr.review_date AK_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AK
    ,(SELECT DISTINCT peo.person_id AP_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AP_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AP
    ,(SELECT DISTINCT peo.person_id AC_person_id
    ,pr.performance_rating AC_rating
    , pr.review_date AC_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AC
    ,(SELECT DISTINCT peo.person_id AA_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    , pr.review_date AA_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AA
    ,(SELECT pr.person_id AF_Person_Id,
    pr.performance_rating AF_Rating,
    pr.review_date AF_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AF
    ,(SELECT pr.person_id AB_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AB_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AB
    ,(SELECT pr.person_id AG_Person_Id,
    pr.performance_rating AG_Rating,
    pr.review_date AG_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AG
    ,(SELECT pr.person_id AQ_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AQ_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AQ
    ,(SELECT pr.person_id AR_Person_Id,
    nvl(pr.performance_rating,0) AR_Rating,
    pr.review_date AR_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AR
    ,(SELECT pr.person_id AU_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AU_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AU
    where peo.person_id = paa.person_id
    and trunc(sysdate) between peo.effective_start_date and peo.effective_end_date
    and trunc(sysdate) between paa.effective_start_date and paa.effective_end_date
    AND peo.CURRENT_EMPLOYEE_FLAG = 'Y'
    AND paa.PRIMARY_FLAG = 'Y'
    AND paa.ORGANIZATION_ID != 1301
    AND peo.EMPLOYEE_NUMBER != '0000001'
    AND peo.BUSINESS_GROUP_ID = '82'
    and AC.AC_person_id(+) = peo.person_id
    AND AF.AF_PERSON_ID(+) = PEO.PERSON_ID
    and AG.AG_PERSON_ID(+) = PEO.PERSON_ID
    and AK.AK_PERSON_ID(+) = peo.person_id
    AND AA.AA_PERSON_ID(+) = PEO.PERSON_ID
    AND AB.AB_PERSON_ID(+) = PEO.PERSON_ID
    and AP.AP_PERSON_ID(+) = PEO.PERSON_ID
    and AR.AR_PERSON_ID(+) = PEO.PERSON_ID
    and AQ.AQ_PERSON_ID(+) = PEO.PERSON_ID
    and AU.AU_PERSON_ID(+) = PEO.PERSON_ID
    order by peo.person_id -- , pr.review_date desc

  • Table Name needed Transaction History

    Hi all,
    I have a custom transaction type, which has leading Transaction Category - "Business Activity".
    When I look at document in IC center according to my custom transaction type I see that document header has tab Transaction History and there I if goto on Transaction I see  that some Object was created (Product Registration). I able to find "Business Activity" document in table CRMD_ORDERADM_H by Process type = My Custom Transaction Type.
    My question is...What table stores created Transactions in the TAB Transaction History?
    Please kinldy suggest me table names where I can look. I'm new in CRM.
    Thank you,
    Maria.

    Thank you Aydin. FM CRM_DOC_FLOW_READ_DB helped me.

  • Table name reqd for batches and unrestricted stocks records

    Hi friends,
    I required table name of which having consolidated stocks with batch wise.
    ****reports avialable in T.Code:MMBE (here it displays the batches and unrestricted stocks by storage location wise)....
    These details,i want to see in tables.
    MCHA : will list only materials,plant and batche details.
    MARD: will display Storage location data for material with total quantity.
    LIke these, i want to view the table batches and unrestircted stock details of each material.
    Pls, post ur comments and answer as much as possible.
    Thanks & regards
    sankar.

    Got answered from other forum
    thanks

  • GL postings data table name need

    Dear Experts,
    Can you send me table name for GL data postings .
    Regards
    Bhaskar

    Dear,
    GL Open Item - BSIS
    GL Cleared Item - BSAS
    All FI posting is stored in BSEG (Line Item) and BKPF (Header)
    Regards,
    Chintan Joshi.

Maybe you are looking for

  • Problem with apex_application.g_fxx.count

    Okay, I am at my wits end on this one. I'm running Apex 4, and on one of my screens I have a manually created tabular report. For one of the master records, this tabular report returns 12 rows, yet apex_application.g_fxx.count consistently returns 24

  • ITouch 2G upgrade to iOS 4.2

    I have the 2nd generation iTouch running IOS 3.1.3 and not able to find a way to upgrade it to IOS 4.2.   I have tried iTunes "check for updates" but it keeps saying that there are no updates available.   Model: MB376C.   Without upgrading, there are

  • Mac classic clarisworks files

    How i do i transfer word processing files on a mac classic (clarisworks 2.0) onto a macbook pro? My macbook pro has appleworks 6. The thing is the mac classic only has a floppy disk and the closest thing I own to a floppy drive is an external zip dri

  • Problem to install ADOBE PDF pack on my Samsung

    I would like to install ADOBE PDF Pack about my Samsung Galaxy S 3. My Samsung not accepted it ?   Why???

  • Week number calculations not working ...

    Why doesn the week number calculation (ISO 8601) using datepart ('ww',#date#,crMonday,crFirstFourDays) not work? As an example do the following formula: DatePart('ww',CDate(2005,1,1),crMonday,crFirstFourDays) The result is 9363, quite an impressive w