Creating a Join between VBAK and EKKO
Hello
I have to prepare a Sales Report for Third Party Orders....
The Report takes fields from EKKO (PO DOC Header) and VBAK (Sales Order Doc).
The Problem is that I cannot find anything to join these two Tables. The BSTNK Field in VBAK does not match with the EBELN field in EKKO.
Anticipating a quick reply
Thanks in advance
Zubin Kurian
Hi,
You can use matnr as key.
Look for the Keyfileds between two tables.If you can't found any key fields you can go for FM.
Check it once.
Reg
Pra
Similar Messages
-
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 -
How to create database link between oracle and SQL Server
Hello Everyone,
Here i have Oracle Database 9i and SQL Server 2005 databases.
I have some tables in sql server db and i want to access from Oracle.
How to create a database link between these two servers
Thanks,Thanks for Everyone,
I was struggle with this almost 10 days....
I created Database link from Oracle to SQL Server
Now it is fine.........
Here i am giving my servers configuration and proceedure how i created the db link...@
Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
Machine (1)
DB Version : Oracle 9.2.0.7.0
Operating System : HP-UX Itanuim 64 11.23
IP : 192.168.0.31
Host : abcdbt
Machine (2)
Version : SQL Server 2005
Operating System : Windows server 2003 x86
IP : 192.168.0.175
Host : SQLDEV1
User/PW : sa/abc@123! (Connect to database)
Database : SQLTEST (exsisting)
Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
Prerequisites in Machine (2):
a) Oracle 10g software
b) User account to access SQL Server database (sa/abc@123!)
c) Existing SQL Server Database (SQLTEST)
d) Tables (testing purpose) (T)
Steps:
1) Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
2) Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
You can follow this link also.....
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
I created DSN as
DSN name : SQLTEST
User : SA/abc@123! (Existing user account)
Host : 192.168.0.175 (machine 2)
Already I have 1 database in SQL Server with the name SQLTEST
You can create DSN with different name also (not same as db name also)
3) Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
Create init<DSN NAME> file
Ex: initSQLTEST
Copy inithsodbc to initSQLTEST
And edit
initSQLTEST file
HS_FDS_CONNECT_INFO = SQLTEST <DSN NAME>*
HS_FDS_TRACE_LEVEL = OFF*
save the file....@
4) Configure Listener.ora *(Machine 2)*
LISTENER_NEW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
SID_LIST_LISTENER_NEW =
(SID_LIST =
(SID_DESC =
(SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc))
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = extproc) )
:> lsnrctl start LISTENER_NEW
5) Configure tnsname.ora *(Machine 2)*
SQLTEST11 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = SQLTEST))
(HS=OK)
:> tnsping SQLTEST11
If No errors then conti….
6) Configure a file *(Machine 1)*
Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
Create a file
$ vi TEST_abcdbt_ifile.ora
something=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
(CONNECT_DATA=
(SID=SQLTEST))
(HS=OK)
$ tnsping something
$ sqlplus system/manager
Your connected to Oracle database *(machine 1)*
create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
select * from t@xyz;10 rows selected.
Thanks,
Edited by: ram5424 on Feb 10, 2010 7:24 PM -
Can we create Mobility group between WISM2 and WLC 5500
Dears,
I need your feedback urgent please,
Can we create Mobility Group between WISM2 and WLC 5500
Firmware for WISM2 > 7.4.121.0
Firmware for WLC5500 > 6.0.196.0
I created Mobility Group with (IP address , MAC Address and Mobility group name) for Foreign Controller. if any configuration required from my side.
Wait your feedback urgent please
Regards,Hi,
Controllers do not have to be of the same model to be a member of a mobility group. Mobility groups can be comprised of any combination of controller platforms.
Thats enough :)
Regards
Dont forget to rate helpful posts -
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 -
How to create shared folder between mac and windows
how to create shared folder between mac and windows
Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.
-
Join Between PO and Requisition
Hi,
I am trying to do a report in Disco (4.1.48) on all the Open Po's associated Req with the Req Amount and Amount receipted.
I can get the info for the Req fine and the info for the PO's fine.
But I cannot get the join between the Po and Req to work so all the data pulls onto one sheet.
I keep getting an error "Join configuration cannot resolved as one detail folder uses non aggregated items"
I have a Join between Po Distributions All.Req Distribution Id and Po Req Distributions All.Distribution Id
Any Help Greatly appreciated
MickHi,
Personally, I would avoid custom folders. It sounds as though you are using a master and two detail folders in your report, and you are using an aggregation function (e.g. SUM) on an item in one of the detail folders. You may be able to resolve this by changing (using Discoverer Administrator) the join on the other detail folder to be a one-to-one join.
Rod West -
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. -
Select Query and Join Between int and Numeric(22)
I have two tables
tablea
Field1 int
tableb
Field1 Numeric(22)
I know this design is wrong but this is what I have ?
tablea contains about 12M records
Field1 in tablea is one to one related to Field1 in tableb
Now I have Select Query
Select tablea.* from tablea,tableb where tablea.field1=tableb.field1 and tableb.field2 > somrthing
Query here is
Does Join Between
int typeYes, avinash said rightly.
there is another way bit diffict.
use the indexes properly as available in the mseg table and mkpf table even then it is diffcult
else try using BAPI.
some bapi will give the entire details of the MATERAIL DOCUMENT
go to BAPI explorer tcode BAPI.
where you can find the BAPI name like the 'GET_LIST'.
Try this.
hope this will serve your purpose.
Thanks and regards
Ramchander Rao.K -
Join between Oracle and non-Oracle Database
We are working at a project with the follow architecture:
- 5 Databases (3 Oracle, 1 Sybase and 1 DB2);
- Session Bean like Session Facade Pattern;
- Entity Bean (BMP);
- OC4J (Oracle Container for J2EE);
The case is that we cannot make join between tables of different bases, for example, join with one table of Oracle and one other of DB2, therefore the customer does not possess tool midleware for this.
The idea that appeared was: we make a query in table XXX of Oracle and return a HashTable with its respective VO�s and Keys (PKs from the first query that will serve of base for the second query), later we have access the DB2 that one second collection would return, to inside make join of the application.
The problem is that with this solution, we will have fall in the performance. And we do not know if it is the best form.
Do you have any idea???
Thanks,
Eric SanderHi,
If you have different databases then the join has to be done in the VM (either by the appserver or by you).
If you want to do it yourself, I would try the following:
-write one DAO per business object (at least one per database)
-this DAO contains the specifics of its database
-return a hashtable of keys and VOs from one DAO (as you say you do?)
-in the other DAO, add a method "joinWith ( Hashtable foreignKeys )" that will return the join's result
-implement the method along these lines:
1. retrieve the candidate rows from the second DAO's tables (1 query execution)
2. put the keys in a new Hashtable, say "candidateKeys" (meaning 1 iteration over all results)
3. iterate over all elements of foreignKeys (1 iteration)
4. for each element, check if a key exists in "candidateKeys" (1 hash lookup, very fast)
5. add any such row to the result
This is called a hash join (Oracle does it internally if you do a join).
It is the fastest algorithm to do joins.
Best,
Guy
http://www.atomikos.com - JTA transaction manager -
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 -
Permission problem when create source system between BI and R/3
Hi All,
I want to create a source system between BI7 and R/3 system
Both RFC connections have been created and tested succefully on the 2 systems
But when i create the source system on BI I have the message :
"Changes to Repository or cross-client customizing are not permitted"
Any idea ?
Thanks in advance for answers
SebastienHi All,
Thanks for your answer
The issue was solved when system is opened
Now my source system is created but I can't activate it !
When I try to activate I have 2 error messages in result :
RSAR 374 : The folowing errors occured in the source system
RSAR 375 : Result of the destination check: Timeout
There is no SAP help on these messages and for the moment I don't find thread about this on forum
Any idea ? -
Inner join between OBOE and OBOT
Hi all,
I am trying to query these tables, but for all the system displays data from these tables in only one windows, MSQL does not inner join this tables.
So, we are looking for the relation in these two tables, or between OBOE and JDT1/OJDT would be enought.
Thanks and regards,
Javier ZapataHi,
i'm not sure but you can try to use the table BOT1 (Bill of Exchange Transactions details).
Here you can find the field AbsEntry (related to the table OBOT) and the field BOENumber (related to OBOE table).
Hope this helps
Regards,
Fabio Salucci -
Query to get number of invoice created by user between from and to date
Dear All
I need Query to get number of invoice created by user on day and his orgainization between from and to date.
thanksselect count(*) from ap_invoices_all where created_by = :p_User_id
and trunc(creation_date) between :p_from_date and :P_to_date;
Thanks/SRK -
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,
Maybe you are looking for
-
How to create a group with multiple data fields
Post Author: RichS CA Forum: Formula Using CR XI. Using CSV input from ODBC text driver. No problems here. There are 3 fields that I want the same group by action. Is this possible?) If any one of these 3 fields change I want some header informat
-
I'll try and be brief concerning this puzzling dilemma. I have a movie clip on stage; instance name: "slide_mc" on the enterFrame of slide_mc, I fill slide_mc by using: this.attachMovie (_global.myNewCip,"newMC",1); // _global.myNewCip holds the lin
-
Wireless ap connect to itself?
hi support, anyone can help me? my wireless AP, do have one weird issue, where when i show dot11 associate, it appear that it connect to itself, sometime even 2 clients, but with different mac address, i do not know where this mac address coming from
-
Solaris 10 with internet ?
Hello, I am Spanish. This after this translated of Spanish-to-English, maybe the translation be bad XD I have just to have just to install the solaris 10, this very well, but I do not manage to have internet. I use a coneccion Ethernet, I do not unde
-
Specified Crop and Bleed marks staying in place, when scaling in proportion?
Hello, A colleague of mine asked me a question I could not figure out... In CS5.5 and below, if he had a document that let's say had a .5" bleed and he printed the document at 50%, the bleed marks would also scale in proportion and be .25". Now in CS