Join between hz_cust_site_uses_all and pa_agreements_all table
What is the joining condition between hz_cust_site_uses_all and pa_agreements_all table? How hz_cust_site_uses_all and pa_agreements_all table can be joined?
Hi,
What happens if you simply use a DISTINCT clause, something like:
SELECT DISTINCT pa.customer_id ,hcs.cust_acct_site_id
FROM hz_cust_acct_sites_all hca,
hz_cust_site_uses_all hcs,pa_agreements_all pa
WHERE hcs.cust_acct_site_id = hca.cust_acct_site_id
AND hca.cust_account_id = pa.customer_id
Thanks &
Best Regards,
Similar Messages
-
Best Practice - Outer Join between Fact and Dim table
Hi Gurus,
Need some advice on the below scenario
I have an OOTB subject area and we have around 50-60 reports based on it. The related subject area Fact and Dim1 table are having inner join.
Now I have a scenario for one report where outer join has to be implemented between Fact and Dim1. Here I am against changing the OOTB subject area join as the outer join will impact the performance of other 50-60 reports.
Can anyone provide any inputs on what is the best way to handle this scenario?
ThanksOk. I tried this:
Driving table : Fact, Left outer join -- didnt work.
Driving table: Dimension D left outer join -- didnt work either
In either the case, I see physical query as D left outer Join on Fact F. and omitting the rows.
And then I tried this -
Driving table: Fact, RIght outer join.
Now, this is giving me error:
Sybase][ODBC Driver]Internal Error. [nQSError: 16001] ODBC error state: 00000 code: 30128 message: [Sybase][ODBC Driver]Data overflow. Increase specified column size or buffer size. [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement. (HY000)
I checked all columns, everything matched with database table type and size.
I am pulling Fact.account number, Dimension.account name, Fact.Measures. I am seeing this error each time I pull Fact.Account number. -
Join between SO and AR tables in Oracle Apps 11.0.3
Hello,
I am new to Order Management. Can anyone please suggest join between SO Tables and Receivables tables in Oracle Apps version 11.0.3.
I am working on an Invoicing error during Autoinvoice Import Program and I am doing workaround on this issue. This error comes for specific SO only. The error causes all invoices for a org not be imported into AR. To find out a solution for the same we run Autoinvoice into batches by Sales Order using a process of elimination to determine the offending So transaction. From these offending SO then we determine the customer for these SO's. And then find out if there are any other accounts that have relationships with the offending customer and then turn off that relationship. Then rerun Autoinvoice for that SO. Most of the time SO will be imported successfully. Can anyone please suggest what must be the issue in Autoinvoice Program as I am new this.
Thank You.
Regards,
MeghanaHi again;
I found this please also check this:
Price List Migration from 11.0.3 to 11.5.10/R12.
Regard
Helios -
Join Between W_PERSON_F and W_POSITION_D
Hi,
I want to join W_PERSON_F fact table and W_POSITION_D dimension table. Database: Siebel DB.
Is there any direct join or we want to join through some other table?
Thanks,
SatheeshAs per my knowledge there is no direct join between w_person_f and w_position_d
but you can create an alisa of w_person_d as contact(w_person_d) and join with w_person_f
as below
contact(w_person_d).row_wid = w_person_f.contact_wid
please mark the ans if it is correct.
Thanks -
Link between vbpa and vbak tables
Hi,
I would like to know the link between VBAK and VBPA tables.
VBELN field in both these fields are the same?
If I give the VBELN field got from the VBAK table into the VBPA table will I get the customer number(KUNNR) of that particular SAles document?
Thanks & Regards,
Soumya.You can get Kunnr directly from the VBAK table, if you wanna do the Join still you can go forward and do it there is no harm but remeber to give the Partner Function(PARVW) as well as VBELN.
Hope That Helps
Anirban M. -
Joining of cluster and pooled tables ,transparent tables
Hi,
I wanted to do join between cluster ,pooled and transparent tables but inner join won't allow to join between transparent or cluster tables or pooled tables . The requirements are that join should take place dynamically between transparent ,cluster ,pooled tables .I have written the Function module for joining multiple tables for transparent tables but unable to implement same for the transparent and cluster or pooled tables.How to handle the joining of tables between pooled or cluster and transparent tables kindly provide me the answer .
Thanks,
jahnavi.Hi Jahnavi,
My suggestion would be... if you want to retrieve the data between cluster tables and transparent tables.. its better to go for views instead of cluster tables then that would be easier for you to retrieve the data
let us take one example BSEG its a cluster table where as there is one view VBSEGK it contains almost all the important fields needed so that u can make use of those or you can look into BSIK and BSAK tables so it better to avoid the cluster tables while retriving the data from the performance point of view -
Linking between PP and SD tables
Hai friends,
I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
Thanks and Regards
visvanathHi
You can simply link the Sales order No and ITEM
VBAP-VBELN and VBAP-POSNR with the PP order item table
AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
or in Sales tables there is a field called AUFNR in VBAP
use that for PP order number
SD tables
http://www.erpgenie.com/abap/tables_sd.htm
PP tables
http://www.erpgenie.com/abap/tables_pp.htm
Regards
Kiran Sure -
What is defference between RT and CRT table in ABAP HR
Hi Experts,
What is defference between RT and CRT table in ABAP HRThe RT (results table) will give you the payroll results for one specific run of payroll. It includes all wage types that were processed during the payroll run. The CRT (cumulated results table) contains payroll results only for cumulated wage types that have been processed in payroll runs so far for the year. It contains month-to-date, quarter-to-date, and year-to-date totals for those wage types. Not all wage types found in the RT will be available in the CRT. You will have to check the configuration for a specific wage type to determine if it is available in both
You can check all RT WT in PC00_Mxx_CWTR where "xx" is youre molga. Also, you can check RT, CRT and other payroll results in PC_Payresult.
Report RPCEDTx0 prints out payroll results (x=country indicators).
use t-code PT66 to display the cluster details that is results table -
What is the difference between infocube and fact table?
hi bw gurus,
what is the difference between infocube and fact table?
thanks in advance
byeFact table contains only KeyFigures and foreign keys of dim ids.
Infocube conatin fact table sorrounded by dimension tables.dimension table contain primary keys of dim ids and SIDs which link to master data.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84 -
Link between AUFK and BKPF table
Hi all,
Can anyone tell me the link between AUFK and BKPF table.
Thanks in advance
Regards
Neha Kapoorhi neha ,
1.first u have to get MBLNR from AUFM for that order
2.Next u have to call FM
<b>AC_DOCUMENT_RECORD</b>
I_AWTYP MKPF--->Constant
I_AWREF 4900003215--->MBLNR
I_AWORG 2004--->Year
I_AWSYS
I_AWTYP_INCL
I_AWTYP_EXCL
I_BUKRS
I_VALUTYP 0
X_DIALOG X
then u will get the Accounting Documents.
regards
prabhu -
Which field we would put join in kna1 and likp table.
Hi,
which field we would put join in kna1 and likp table.
With thanks Regards.> which field we would put join in kna1 and likp table.
>
JoiN:
table KNA1-KUNNR WITH LIKP-KNKLI
Rwd points if reoslved
regards -
Please advice me how to join gl_import_references and ap_invoices_distribution_all in R12. I have understanding of join between gl_import_references and ap_invoices_all, but I am not clear how to join ap_invoice_distriutions_all to gl_import_references.
ThanksHi,
we don't have direct link for GL_JE_LINES and AP_INVOICE_DISTRIBUTIONS_ALL.
First join AP_INVOICE_DISTRIBUTIONS_ALL and GL_CODE_COMBINATIONS then link to GL_JE_LINES.
Please see below eg:
SELECT *
FROM gl_code_combinations gcc,
ap_invoice_distributions_all apd,
gl_je_lines gjl
WHERE gcc.code_combination_id = apd.dist_code_combination_id
AND gcc.code_combination_id = gjl.code_combination_id;
your case use apd.dist_code_combination_id instead of apd.po_distribution_id (>
and apd.po_distribution_id = GJL.CODE_COMBINATION_ID Add -----------Problem here-----------)
I hope this will help to you.
Thanks,
Prasad Raju -
Relation between Eban and Erev tables
Hi,
What is the Relation between Eban and Erev tables?
Thanks and Regards,
Parvatha ReddyHi,
if you have activated version management for purchase requisitions (spro - mm - purchasing - version mgmt - set up ver mgmt for PR), then if any changes are made to the fields as specified in the customizing, then an entry is made in EREV table. EBAN is the pur. reqn table.
Hope it answers your query.
Regards,
Vivek -
Relation between BKPF and EKBE table for reversing document?
Is there any relation between BKPF and EKBE table for reversing document when STBLG is blank in BKPF.
AND
How to differentiate Old Accounting document / Reverse document / New document when in BKPF-STBLG is blank for all three document and BKPF-XBLNR are same for all.Hi Varun,
Table Document no (BKPF-BELNR) is link between Material document no (EKBE-BELNR). If you are looking for validating Material reversal document then please use following logic for your requirement.
Material Document (MBLNR) & Material Document Year (MJAHR). Pass material document (MBLNR) to MSEG-SMBLN to read MSEG-MBLNR with MSEG-MJAHR to MSEG-SJAHR, if record found delete both the documents i.e. MSEG-SMBLN & MSEG-MBLNR (donu2019t consider these documents in the logic) and display Material Document No. (MSEG-MBLNR)
Regards,
Santosh -
Relation between vbuk and vbup tables?
relation between vbuk and vbup tables?
regards phaniDear Phani,
http://help.sap.com/saphelp_erp2005/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
VBUK .... Sales Document: Header Status and Administrative Data
VBUP ....Sales Document: Item Status
VBUK contains header status where as VBUP contains individual item status of the header. Similar to VBAK and ABAP where VBAK contains Sales Document header data and VBAP contains Sales document item data.
Hope this will help.
Regards,
Naveen.
Maybe you are looking for
-
Same discontinue and follow up material?
I have used before this function having a follow up material with indicator 1 and effective-out date. However, this time I have 3 materials A, B, C. The logic I want to use is the following but I'm not sure if SAP supports this: A = discontinue mater
-
Can't fax using HP7510 due to error message "not connected to network".
I am having trouble with efax. It has worked in the past with no issues. Now I get a message that the printer is not connected to the nework even though it is. I can print wirelessly. The issue is with faxing. I have tried all suggestions I have
-
Export to PDF ignores document size settings?
I have several documents in InDesign CS4 and when I export them to PDF the document size changes. I have set all the following options to A4 (210x297mm): In Indesign: File->Document Settings In Windows->Printer settings->Adobe PDF->Paper Size After e
-
DVD-RW formating problem ?
Hi ALL, funny problem i have, a friend of mine gave me a CD full of Wedding photos, he asked me to put them onto a brand-new DVD-RW+ disc, easy job i thought. I copied all the photos to a folder on my Hard Drive, inserted a blank DVD-RW+, selected al
-
New Bug ? (resouceManager VS mx:NumberValidator) !
I made a form in a popup window containing some textinput fields that must only take numeric values. (So i am using mx:NumberValidator) If i change the displayed language (i.e. resourceManager.localeChain = ['fr_FR'];) just before showing this dialo