Case Management - table linking activities and cases
Hi.
I need to create a report in CRM that shows cases and the service orders that are linked to them.
I can get the case information from table CRMD_CMG_CASE_AT for example.
I can get the service order information from table CRMD_ORDERADM_H.
But how can I link the two tables? Is there a table that contains both the Case GUID and the Order GUID?
Thanks in advance.
Ian.
The way I have worked by linking these data is:
CRMD_CMG_CASE_AT-CASE_GUID = SCMG_T_CASE_ATTR-CASE_GUID
then
SCMG_T_CASE_ATTR-EXT_KEY = CRMD_ACTIVITY_H-EXTERN_ACT_ID (be careful because EXTERN_ACT_ID is char(20), so you need complete with 0 left zeros the empty positions, for ie: ext_key 2032 is equal to 000000002032 EXTERN_ACT_ID)
then
CRMD_ACTIVITY_H-GUID = CRMD_ORDERADM_H-GUID
I hope it'll be useful. Regards
Nati
Similar Messages
-
Different Chnage management Tables in ECC and relation
Dear BW/ECC experts..
I wish to find out if you have any document or link to read on the change management tables in ECC in relation to BW.
Like JEST/JCDS tables gives Changes to USER/SYSTEM status change....
JEST
JCDS
CDHDR
CDPOS
AENR
AEOI
I know this may not be directly relavant for BI/BW but some of you might have already gone thru this process.
Thank you in advance.Hi,,,,,,, you Can refer the below links
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0002c1c-f07c-2c10-3c93-b053715529b4?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00f47333-a50e-2e10-a7bf-d0ab463da382?quicklink=index&overridelayout=true -
Table Linking Activities with Activity Journal
Hello All,
I need to know the table link between the activity number and the details like material code, material description which is stored in the activity journal of the transaction type.
Kind Regards
AtulHi Benoit,
Thanks for the prompt reply, I have a transaction type where I have configured activity journals, in the activity journal I have entered my material no, I need to get the table link between my activity number and the material no.
I am attaching a screen shot for your reference, the first screen shot pertains to attaching the product code in the activity journal assignment block
The second screen shot pertains to entering the material code
I need to know the table link between the activity number and the product id, the above tables which you gave do not store the product details, hence please advice further.
Kind Regards
Atul -
Hi,
I'm currently working on a program in FI and CO where I must determine PRIMARY postings (FI Postings from table BKPF/BSEG) REPOSTINGS (table COVP, VRGNG = RKU3) and
DISTRIBUTION (table COVP, VRGNG = RKIV).
The problem is that I need to link the table COVP to BKPF/BSEG to see the initial FI documents.
There is a field in COVP called REFBN which contains the reference document number from FI. It's ok for REPOSTINGS but is empty for DISTRIBUTION.
Is there any other table that can link CO DISTRIBUTION (VRGNG = RKIV) to it's original FI document?
Thanks a lot.
BonnHi Raymond,
This are Links,
COBK MANDT = COEP MANDT
COBK KOKRS = COEP KOKRS
COBK BELNR = COEP BELNR
BSEG/BKPF-BELNR = COBK BELNR = COEP BELNR
BSEG/BKPF-PAOBJNR = COEP OBJNR
Try with the above One.
Thanks & Regards,
Dileep .C -
Linking subledger table to property manager table
Hello
I need to write a query displaying all the GL and Property Manager info. When you link GL to Payables then your query would look something like the below with the line "and ppia.ap_invoice_num(+) = xte.transaction_number" being the link between GL/Subledger and the leases tables
select gjb.name
,gjh.je_source
,gjh.period_name
,gjl.je_line_num
,xal.accounted_dr
,xal.accounted_cr
,supp.vendor_name
,inv.invoice_num
,pla.lease_num
,pla.name lease_name
,to_char(plda.lease_commencement_date, 'DD-MON-YYYY') lease_commencement_date
,to_char(plda.lease_termination_date,'DD-MON-YYYY') lease_expiry_date
from gl_import_references gir
,gl.gl_je_batches gjb
,gl.gl_je_headers gjh
,gl.gl_je_lines gjl
,xla.xla_ae_lines xal
,xla.xla_ae_headers xah
,xla.xla_events xe
,xla.xla_transaction_entities xte
,gl.gl_code_combinations gcc
,pn.pn_payment_items_all ppia
,pn.pn_payment_terms_all ppta
,pn.pn_leases_all pla
,ap_invoices_all inv
,ap_suppliers supp
,po_vendor_sites_all pvsa
,pn_lease_details_all plda
where 1=1
and gjh.je_source = 'Payables'
and gjb.status = 'P'
and gjb.je_batch_id = gjh.je_batch_id
and gjh.je_header_id = gjl.je_header_id
and gjh.ledger_id = gjl.ledger_id
and gir.je_batch_id = gjb.je_batch_id
and xal.gl_sl_link_id = gir.gl_sl_link_id
and xal.gl_sl_link_table = gir.gl_sl_link_table
and gcc.code_combination_id = xal.code_combination_id
and gjl.code_combination_id = xal.code_combination_id
and gjl.je_header_id = gir.je_header_id
and gjl.je_line_num = gir.je_line_num
and xal.ae_header_id = xah.ae_header_id
and xal.application_id = xah.application_id
and xah.event_id = xe.event_id
and xah.application_id = xe.application_id
and xe.entity_id = xte.entity_id
and xah.entity_id = xte.entity_id
and gjl.code_combination_id = gcc.code_combination_id
and gjb.chart_of_accounts_id = gcc.chart_of_accounts_id
and ppia.ap_invoice_num(+) = xte.transaction_number
and ppia.payment_term_id = ppta.payment_term_id(+)
and ppta.lease_id = pla.lease_id(+)
and xte.source_id_int_1 = inv.invoice_id(+)
and inv.vendor_id = supp.vendor_id(+)
and pla.lease_id = plda.lease_id(+)
and pvsa.vendor_site_id(+) = ppta.vendor_site_id
My question now is what if my je_source = 'Property Manager'. How does the GL/ Subledger tables link back to the Leases tables. Currently my query is as below but it does not return any of the lease details (lease numer, lease name, lease commencement date, lease termination date, etc)
select gjb.name
,gjh.je_source
,gjh.period_name
,gjl.je_line_num
,xal.accounted_dr
,xal.accounted_cr
,supp.vendor_name
,inv.invoice_num
,pla.lease_num
,pla.name lease_name
,to_char(plda.lease_commencement_date, 'DD-MON-YYYY') lease_commencement_date
,to_char(plda.lease_termination_date,'DD-MON-YYYY') lease_expiry_date
from xla.xla_ae_headers xah
,xla.xla_ae_lines xal
,xla.xla_events xe
,xla_event_types_tl xet
,xla.xla_transaction_entities xte
,ap_invoices_all inv
,ap_suppliers supp
,gl_je_batches gjb
,gl_je_headers gjh
,gl_je_lines gjl
,gl_code_combinations_kfv glcc
,gl_import_references gir
where 1=1
and xah.ae_header_id = xal.ae_header_id
and xah.event_id = xe.event_id
and xe.entity_id = xte.entity_id
and xal.accounting_class_code = 'EXPENSE'
and gjh.je_source = 'Property Manager'
and gjb.status = 'P'
and gjb.je_batch_id = gjh.je_batch_id
and gjh.je_header_id = gjl.je_header_id
and gjl.code_combination_id = glcc.code_combination_id
and gjl.je_header_id = gir.je_header_id
and gjl.je_line_num = gir.je_line_num
and gir.gl_sl_link_table = xal.gl_sl_link_table
and gir.gl_sl_link_id = xal.gl_sl_link_id
and xal.ae_header_id = xah.ae_header_id
and xah.event_id = xe.event_id
and xe.entity_id = xte.entity_id
and xal.application_id = xte.application_id
and xet.event_type_code = xah.event_type_code
and xet.language = 'US'
and xte.source_id_int_1 = inv.invoice_id(+)
and inv.vendor_id = supp.vendor_id(+)
how do i get the lease details? what link am i missingOk i found the link
The xla.xla_transaction_entities.source_id_int_1 = pn_payment_items_all.payment_item_id
and from there you can link the pn_leases_all and pn_lease_detail_all tables to pn_payment_items_all -
Table link between activity and order
Hello,
In Cic0, we create activities and complaints related to a customer order.
I do not find the link/the table which enables me to make my report (number activity with the linked order).
I seek the table which gives the link between the activity and the order.
Do you know it?
Many Thanks,
ServaneFirst, you need to get the guids of the activity and complaints. (it is enough to use the table CRMD_ORDERADM_H only)
Second, In table SRRELROLES use the above guids in field objkey and get the RoleID. (Now you would get two Role id's)
Finaly, in table CRMD_BINREL you would have the link between these two roles. (called Role A and B) -
Require Project Management Base tables names , reports and Interfaces
Hi Group ,
This is azamtulla Khan ,I am new to oracle projects and i dont have idea on it.I dont know its shotname also .
If any body send base tables name , reports and Interfaces for the same it will be grate to me.
Thanks in Advance.Azamtulla,
I recommend you look at the Applications Documentation (http://www.oracle.com/technology/documentation/applications.html) web site. Just pick your Applications (EBS) version and scroll til you find the Projects Resource Management link. Another option would be to visit the Oracle ETRM web site (http://etrm.oracle.com/pls/etrm/etrm_search.search).
Hope this helps.
Craig...
If a response is helpful or correct, please mark it accordingly -
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] -
How are attribute and text master data tables linked in SAP R/3?
Hello,
how are attribute and text master data tables linked in SAP R/3?
Most tables with attribute master data like T001 for company codes,
have a text master data table T001T (add "T" to table name).
When looking at the content of table T001 via transaction se11,
the text are automatically joined.
But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
has no text table TVBURT), but in se11 you get texts. There is an address
link in TVBUR, but the Name1, etc. are empty.
a) Where are the text stored?
b) How does the system know of the link?
Hope someone can help!
Best regards
ThomasHi Thomas
The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
-> Foreing key with table TVBUR
-> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
->Cardinality-> 1-:CN
It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
U can find out the text table of master table by SE11: GoTo->Text Table
U can fined some information in table DD08L.
Max -
Linked tables, stored procedures, and locking
I'm working on an interface between two Oracle systems. I don't know if they're on the same server or not, but they are definitely two different database instances. The plan for this interface is that when a record is created on one of the systems, it will call a stored procedure on the other system to create the record there as well. I believe the relevant information will be passed via parameters to the stored procedure (not by querying the data in the first system). The ID number created on the second system gets passed back to the first system via an output parameter.
A concern was raised about whether something like this might cause "rev-locking". Similar issues were raised on a different interface, but that interface used a linked table between the two systems. The original design for that interface had a stored procedure initiated from the second system, and it was to update data via the linked table in the first system. But this caused some locking issues. So a different interface was written, that only used the linked table as read-only.
So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? And a better question is, is there a document or white paper out there somewhere that describes the locking issues between linked databases, and presenting the "best practices" for this type of coding?
Any help is appreciated!
Christine Wolak
[email protected]So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? I'm not aware of any issues with updates across databases. can you post a more detail version of what exact issues did you encounter when updating tables across database using database links?
when you update a row in a table, from the same database or another one, a lock on that row will be placed for the duration of the transaction. Others will be able to read that row but not update it till the end of the local (or the remote) transaction.
What issue(s) did you encounter? -
Hi Experts,
I am trying to create a z table with the same fields repeating for the development in PM module.
I want to have Catalog structure (Catalog,Code group,Code) for objects parts,defects,causes,activities and coding in one z table.Firstly I have created these fields by selecting it from QPCD table.Then as I want the same functionality as it is in IW21 (PM Notification) I created the fields by referring to VIQMFE, VIQMUR , VIQMEL and VIQMMA as in IW21.
1) However, I am not able to maintain the values.Once I select catalog structure for object parts and then when I am selecting it for defects the search help is still taking the object parts value in it and not allowing me to get the relevant data and also to maintain the data.
I feel the problem is of check table as all the fields are referring to the same check tables TQ15 , QPGR and QPCD but I am not getting the exact solution.
Please find attach the screen shot of the table I have created and also the error I am getting while maintaining the values.
Please do the needful.
With Regards,
Sonali DeshmukhHi All...
I got the solution.
Thank You.
With Regards,
Sonali Deshmukh -
Table that links vendor and customer
hi
is there any table that links vendor and customer, for example theres a vendor zz400, he can be a customer as well
do you know in which table we can find that?Hi
Go through the link given below :
Configuration for vendor as well as customer
With Regards
Sandeep -
Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)
Hello,
I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
We want a direct link through some table between EQUNR and GEWRK.
PuneetHi Puneet,
Appreciate your problem !
Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
Approach 1:
Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL) and main work center (GEWRK) in one table.
For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
Approach 2:
Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
Please let me know, if you get stuck !
Thanks,
RAVI. -
Table Link between Equipment and Sub-equipment
Hi all
My requirement is this
I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
Let me know the table link between equipment and sub-equipment
I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
Also suggest is there any other approach,
Regards
Amuthan MHi
EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field -
Hi Gurus,
Please help me in linking PO and AP tables for scenarios like to get the fully/ partially invoiced PO receipts.
Thanks in advance
AvinashHi, you can link AP and PO tables in this way: please consider for the AP side table AP_INVOICE_DISTRIBUTIONS_ALL, where you will find all Invoices' distributions. In this table there is a field called PO_DISTRIBUTION_ID that is the right link to PO.
Hope this helps
Regards
Riccardo
Maybe you are looking for
-
I can't cut and paste in aperture on export
I updated to 3.4 and I'm on 10.8.2 with a 27" 2011 iMac. In the browser, I go to export all the pictures in a project. When the finder window pops up, I create a new folder and it is highlighted for changing the name of the 'Untitled' folder. I try
-
Deploying a WAR File, WL 6.0
Hi! I'm trying to deploy a web application on WL 6.0. This application runs on Tomcat 3.x and 4.x. I have a WAR file containing jars, JSP, html etc. Using the tools of WL6.0 I can upload and deploy the application. I can also access the HTML files fr
-
How do you get a contact's photo to show full-screen when they call?
A friend sees a large full-screen photo of some of his contacts when they call. I only see a small round circle with the name next to it? Is there a setting that makes this happen? Both of us on 5c iPhones with OS 8.
-
Can't keep greylisting disabled on Lion Server.
If I remove the greylisting settings from /etc/postfix/main.cf, If the mail server is restarted, the greylisting entry is recreated. Is there any way around this? I know why greylisting works, and I know it does its job well. But it's incompatible
-
Why when I register a new instance of app ias6, the File -> New -> Server... has no response