How to find table having relation between opportunity and activity
Hi All,
I need to develop an ABAP report where when the user logged in runs the report. The report finds all opportunities to which the logged in user is the sales representative and find out the number of activities attached to the opportunity.
Only completed activities should be counted. Show the count of the activities based on their category.
The output should be in form of an ALV where the columns are:
1) Sales representative
2) opportunity number
3) count of call tasks
4) count of quote tasks etc.
I need to cross check as to what categories are available to follow up tasks(BUS2000125) to an opportunity(BUS2000111) and based on that add or remove the columns specifying the count.
Here
1. How can I find out opportunity data associated to logged in user?
2. How to get activity data related to opportunity?
Thanks,
Anup Garg
done
Similar Messages
-
SD-How to find table of link between delivery and sales order?
Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
FrankHi frank
Check the following tables VBAP , VAPMA , VBUP . It may help you
Regards
Srinath -
Table for relation between WIP and Production Order
Dear All,
Please provide me table having relation between Production Order Number and WIP for it.
Regards,
Sachinhttp://www.sap-img.com/
Free ABAP eBook Download
SAP MM, SD, FI, PS, PP, PM, HR, System Tables
Regards,
Rajesh Banka -
Case Management - Table to find out relation between Case and Activity
Hi.
I do search the SDN for the same quesiton, I found one but it was not answered by a single person. So let me ask it again:
I am working on an interface in CRM that will create the activity and link it to the open case.
I can get the existing case GUID and information from table CRMD_CMG_CASE_AT .
I can get the GUID as a return parameter when activity will be created using BAPI.
But how can I link the activity to the case.
1. Which table is having relation between both case and activity?
2. What class or BAPI will be used to link created activity to existing case?
Thanks in advance.
Hiteshdone
-
Which Table for linkage between Opportunity and Campaign
Hi,
can anyone tell me the database table which links Opportunity´s and Campaigns?
The campaign number is shown in Opportunity in the following field:
Structure CRMT_5010_1O_UI
Field name CAMPAIGN_HE_ID
Thanks for any hint!the above is right... but you would not find the objects directly. opportunity and campaign would be identified as Role A & B in table srelroles.
The object guid, logical system and business object type forms a unique identifier for an object and defined as a Role. -
Relation table between Opportunity and Activity.
Can any one help me to know,In which table relationships are maintained between Opportunity,Activity,Account etc
Dear frnd,
pls find below for relations..
2.1 Master Data Tables
Table Name Description
Business Partner
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 Persons 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)
BPs Complete Address Details- City, Country, Post Code, District, Street, Title No Etc
TSAD3T Table containing the Title text against a Title No.
Note:
Pass the langu key with the
language in which you want the
text.
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 Contract account table FKKVKP.
CRMM_BABR_H Rule data for business agreements data in this table correspond to ISU Contract account table FKKVK
Business Transaction(Service Contracts in Particular)
CNCCRMPRCUSZZBUR Condition Records for Service Contracts. We get Basic Unit Rate, Standing Charge Rate etc.
(This is a Z table used in a leading ISU SAP-CRM implementation. You can give the table SAP0090 this is a standard table. in general all condition tables have the naming convention CNCC*)
CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
Note:
1. It doesnt 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_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.
Note:
Pass the langu key with the
language in which you want the
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
2.2 Transaction Data Tables
Table Name Description
CRMD_LINK Transaction GUID set for all the Business Transactions
CRMD_ORDER_INDEX Contains Header as well as Item details for a Business Transaction.
Note:
1. It doesnt store the Business
Transaction No (Object ID).
To get the Business Transaction No
link the table with
CRMD_ORDERADM_H
2. This table can be used for search
based on the Partner No
CRMD_ORDERADM_I Stores the Item information for a Business Transaction. The scenarios where we have a Contract Header and within contract we have Line Items for the contract, this table can be useful.
E.g. Service Contracts
CRMD_CUSTOMER_I Additional Site Details at the Item Level of a Service Contract
SCAPPTSEG Table for individual Appointment Types for a transaction.
CRM_JEST Individual Object Status for any business transaction.
CRM_JCDS Current Status for a business transaction along with set date, set time and status code.
2.3 Table Enhancements
Following tables were enhanced as per the project requirement in a leading ISU-SAP CRM implementation. Easy Enhancement workbench can be used for enhancing most of the transactions in CRM.
Table Name Description
BUT000 Fields such as Registration No, SIC Code, Cost to Serve etc. that appear in the additional details tab in BP transaction
CRMM_BUAG_H Fields such as Acc in Legacy, Invoice Output, Clearing Category, Bill Form, Lock Process Type etc. that appear in the Business Agreement tab in BP transaction
CRMD_CUSTOMER_H This table is used as an extension of the service contract header i.e. if there is a requirement to add new fields to CRMD_ORDERADM_H then; this table has to be used to add the fields.
CRMD_CUSTOMER_I This table is used as an extension of the service contract header i.e. if there is a requirement to add new fields to CRMD_ORDERADM_I then; this table has to be used to add the fields. For e.g. fields required for additional site details tab at item level of Service Contract are added to this table. -
SD-How to find table link of special delivery and sales order number?
Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
Frankhi,
check this.
[https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069] -
To know how to find the Creation date, Assignement date and Activation date
Hi All,
Can you please guide me to find the answer for the below mentioned questions:
Apart from Change log ,
1, Creation date
May I know is there any approach to find the Creation date of a particular Pricing condition type.
2. Assignment date -
How to find the assignment date of a particular condition type to a pricing procedure.
3. Activation Date -
May I know is there any to find out the date of Activation for the Customer hiearchy in T code VDH1N
Presently I'm working on SAP ECC 6.0For the above question I tried T codes and table but I'm not able to find out exactly. Even in Change logs I'm not able to get it.
Can you please guide me where I'm missing.
Thanks in Advance
Thanks & Regards,
PugalHi,
Something like this
select table_name, created from user_objects where object_type = 'TABLE'Regards
Anurag Tibrewal
Oops: I did not see the requirement correctly. If auditing is not the option for you then logminer (if archive is present) else no other option i can think of.
Edited by: Anurag Tibrewal on Oct 6, 2009 8:37 PM -
Table showing relation between BP and Org Unit
Hello,
I need to get the sales organozation for specific business partner .Is there any func module or can u please tell the name of the table which has these two entries.Please consider as ugnt.
NeerajHi Neeraj,
The FM CRM_BUPA_SELECT_BP_SALES_AREAS will get you the Sales Organization for the particular business partner Guids.
The business partner guids you can get from the table BUT000 using the Business Partner Id.
Hope this helps.
Please let me know, if you have found out any alternate solution.
Thanks.
Best Regards,
Arun Sankar. -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Hi, could someone tell me how to find the relation between PAY_ELEMENT_TYPES_F and GL_CODE_COMBINATION tables
that is because as you could know PAY_ELEMENT_TYPES_F holds the definitions of elements in Oracle HRMS and i need to find the accounting code of each element.
ThanksHi;
Please check e-trm site for table relation,integration,explanation etc..
etrm.oracle.com/
Regard
Helios -
How to find the structural difference between two tables
Hi all,
How to find the structural difference between two tables .
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
Thanks,
P Prakashyou could try something similar to this, for each table pair that you want to compare:
SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
FROM (
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_A'
MINUS
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_B'
) DIFF
UNION
SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
FROM (
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_B'
MINUS
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_A'
) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on. -
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 CRM related Tables form a Particular DataSource
Hi friends
<b>How to find the CRM related Tables form a Particular DataSource
of BusinessContent.</b>
ex: i had taken CRM - DataSource ........ 0CRM_LEAD_H (Lead Header Data)
for this DS i assign IS and extract data. But i want to Know from which
CRM tables it was comming.
ie ..I want to know the what tables linked to Datasource(0CRM_LEAD_H)
How it has to check?Just for your info, you can find as useful (for a methodology to solve this kind of issue) this weblog:
SAP BW and Business Content Datasources: in pursuit of the origins
Hope it helps!
Bye,
Roberto -
Database table/FM to find relation between plant and company code in SRM
Hi,
I have a requirement where I need to determine the relation between the plant and company code in SRM.
The plant and company code both belong to R/3. We are replicating the plant by using the report BBP_LOCATIONS_GET_ALL.
This plant is now available as a BP in SRM. But from which SRM table or using which SRM FM can I get the relation between this and the company code?
Thanks,
SrivatsanHi
<b>Check table BBP_LOCMAP. (Plants) - Manage Table Business Partner > System > Location
BBP_COMPCODE_FAV User-Specific Favorites for Permitted Company code.</b>
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul
Maybe you are looking for
-
How can I enable for-each loop in Creator update 1?
I try to use for-each loop, but I got error message from compiler is " for-each loops are not supported in -source 1.4. (try -source 1.5 to enable for-each loops)" How can I switch my source to 1.5.. I am using jdk 1.5. Confusing. Thanks . Richard
-
"some fonts are missing or unavailable"
I get this message when I boot up Logic Pro 7.1.1. Anyone else have this problem. Not a big deal but is annoying to have to click through the warning everytime. Thanks.
-
MAC projector won't go fullscreen
has anyone found an effective work around for the fullscreen bug w/ MAC flash 8 projectors? i'm using the fscommand("fullscreen", "true"); and it still won't work - the title bar at the top remains. i have read many threads on this topic and tried se
-
Setting resolution on NEC myltisync monitor on a macG3
Hi, I have a NEC multisync 1560nx lcd monitor, i have plugged it into my G3 but when i try to change the resolution to 1024-768 it wont change, i downloaded the multisync software for mac os9 and when i try to unstuff it it says....."decoding was inc
-
Detecting an installed printer-driver with jdk 1.3
Hi all, is there anybody who knows how to detect all installed printers and how to figure out which printer is choosen by user? I can not find anything about this topic... Thank you in advance - netti