How should I join 2 transaction tables in IDT?
Dear Experts,
I have a little bit knowledge with IDT now.
I'm facing problem to join 2 transaction tables in IDT as show below:
Please help me.
Best regards,
Chenna Yon
Hi..
You can enhance the data foundation using the derived tables , but derived table is a virtual table in the data foundation that combines other tables using calculations and functions. You can create objects in the business layer on a derived table in the same way that you do for a standard table.
Open the data foundation in the editor by double-clicking the data foundation name in the Local Projects View.
Right-click the table header of the table to be the basis for the derived table, and select Insert > Derived Table.
Enter a name for the derived table that is unique in the data foundation,
Write the SQL statement which is to be used for the derived table in the "Enter SQL Expression"
(Sales Transaction. Primary Kay (as per your tables: Sales ID) = Order Transaction. Foreign Key(as per your tables:
Sales ID) and calculations and restrictions)
and check any error’s by Click "Check Syntax". If the SQL gives error, check the syntax and fix it. If the SQL parses correctly, click OK.
Similar Messages
-
Hi,
I have a query that joins two tables in the same database, the result needs to be loaded in a destination DB table. How do I do this in SSIS package?
thank you !
Thank You Warmest Fanny PiedPlease take a look at these links related to your query.
http://stackoverflow.com/questions/5145637/querying-data-by-joining-two-tables-in-two-database-on-different-servers
http://stackoverflow.com/questions/7037228/joining-two-tables-together-in-one-database -
hai guys,
can any body explain the table joining procedure step by step process.what is the necessay to join the tables
Regards
kiranHi,
Steps
1. Enter t.code : SQVI
2. Enter the name : TEST press the create button.
3.Enter the title & Comments
4.Select table to join
5.Select the second icon (INSERT TABLE)
6 enter table name : EKKO
7.again insert table
8.enter table name : EKPO
Note the table you are joining should have COMMON field
9. press green arrow button
10. Select the output parameters in table 1 -EKKO
11 Select the output parameters in table 2 -EKPO
12. select the layout
13 SAVE
G.Ganesh Kumar -
How do you join two tables from different Oracle schemas using a subquery
I am trying to join two tables from different Oracle schemas using a subquery. I can extract data from each of the tables without a problem. However, when I combine the select statements using a subquery I get the Oracle error *'ORA-00936: missing expression'*. Since each SELECT statement executes on its own without error I don't understand what is missing. The result set I am trying to get is to match up the LINE_ID from PDTABLE_12_1 in schema DD_12809 with the MAT_DESCRIPTION from table PDTABLE_201 in schema RA_12809.
The query is as follows:
sql = "SELECT [DD_12809].[PDTABLE_12_1].LINE_ID FROM [DD_12809].[PDTABLE_12_1] JOIN " _
+ "(SELECT [RA_12809].[PDTABLE_201].MAT_DESCRIPTION " _
+ "FROM [RA_12809].[PDTABLE_201]) AS FAB " _
+ "ON [DD_12809].[PDTABLE_12_1].PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS"
The format of the query is copied from a SQL programming manual.
I also tried executing the query using a straight JOIN on the two tables but got the same results. Any insight would be helpful. Thanks!
Edited by: user11338343 on Oct 19, 2009 6:55 AMI believe you are receiving the error because you are trying to JOIN on a column that doesn't exist. For example you are trying to join on FAB.PIPING_MATER_CLASS but that column does not exist in the subquery.
If you want to do a straight join without a subquery you could do the following
SELECT DD_12809.PDTABLE_12_1.LINE_ID
, FAB.MAT_DESCRIPTION
FROM DD_12809.PDTABLE_12_1
JOIN RA_12809.PDTABLE_201 AS FAB ON DD_12809.PDTABLE_12_1.PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS HTH! -
How do i join 3 table with the 'join' query ?
Hello,
i want to join 3 tables -> bsis, bsad and vbrp
the components of the query to be are ,
- select (matnr from vbrp) sum(amount from bsad).
- join bsis and bsad on bsisbukrs = bsadbukrs, bsisbelnr = bsadaugbl and bsisbldat = bsadaugdt.
- where bsisblart = 'DZ' and bsishkont = '123456'.
- join bsad and vbrp on vbrpburks = bsadbukrs, vbrpgjahr = bsadgjahr and vbrpbelnr = bsadbelnr.
The double join query is to be constructed out of the above components.
Thanks,
Shehryar Daharc an example....
DATA: BEGIN OF wa,
carrid TYPE spfli-carrid,
connid TYPE spfli-connid,
fldate TYPE sflight-fldate,
bookid TYPE sbook-bookid,
END OF wa,
itab LIKE SORTED TABLE OF wa
WITH UNIQUE KEY carrid connid fldate bookid.
SELECT pcarrid pconnid ffldate bbookid
INTO CORRESPONDING FIELDS OF TABLE itab
FROM ( ( spfli AS p
INNER JOIN sflight AS f ON pcarrid = fcarrid AND
pconnid = fconnid )
INNER JOIN sbook AS b ON bcarrid = fcarrid AND
bconnid = fconnid AND
bfldate = ffldate )
WHERE p~cityfrom = 'FRANKFURT' AND
p~cityto = 'NEW YORK' AND
fseatsmax > fseatsocc.
LOOP AT itab INTO wa.
AT NEW fldate.
WRITE: / wa-carrid, wa-connid, wa-fldate.
ENDAT.
WRITE / wa-bookid.
ENDLOOP.
Ramesh. -
How can I join 3 tables while extracting data from SAP R/3?
I have 3 tables with the following columns
Emp table (emp)
emp_id
emp_name
emp_add
Dept table (dept)
dept_id
dept_name
dept_loc
Location table (loc)
loc_id
loc_name
Now. If I want to select data from loc_id = 10 and emp_id between 2000 and 3000
How to join these three tables while extracting data from R/3
join condition
loc.loc_id = dept.loc_id
and dept.dept_id = emp.dept_id
and loc.loc_id =10
and emp.emp_id between 2000 and 3000.
Could any one let me know the procedure to extract this data into BW system.Hi,
shouldn't your join condition be:
loc.loc_id = dept.DEPT_LOC
and dept.dept_id = ??
If you can join the three tables then create a generic datasource (RSO) based on a view (create your view with your join in SE11).
Enable the loc_id and the emp_id as selectable in the datasource so you can then select the values from a BW IPack.
hope this helps...
Olivier. -
How to transfer large transactional tables from RFC to background ABAP?
Which is preferrable to use ABAP memory, SHARED MEMORY/BUFFER or SHARED ABAP OBJECTS in my scenario: I have an external application sending two tables to an RFC. The tables are made up of transaction data and can approach 1 GB in size.
The RFC times out, since it is a dialogue process. Therefore, I programmed the RFC to SUBMIT a background job VIA JOB.
QUESTION: How to import internal table into a program that was submitted via JOB?
Do I have to use SHARED MEMORY/SHARED BUFFER, or can I still use ABAP memory?
Can I send a table in a parameter in SUBMIT WITH construct?
An issue I have encountered is that the result of the IMPORT FROM SHARED BUFFER constructu is not consistent in consecutive executions. Why would the result of the IMPORT be inconsistent if the code is exactly the same and the data is exactly the same?
FYI I am building the memory ID dynamically and then sending in SUBMIT WITH parmeter?
Please don't post links to SAP HELP documentation.. I have read it, re-read it and read it again.
I really need expert experience, not generic documentation.
Thanks in advance.Hi here is an example for the submit command use,
You can call one selection screen from other selection screen program using SUBMIT command.
The syntax is as follows -
codeSUBMIT... VIA SELECTION-SCREEN
USING SELECTION-SET <var>
WITH <sel> <criterion>
WITH FREE SELECTIONS <freesel>
WITH SELECTION-TABLE <rspar>.[/code]
e.g.
The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
codeREPORT demo_program_submit_rep1.
DATA number TYPE i.
PARAMETERS paramet(14) TYPE c.
SELECT-OPTIONS selecto FOR number.[/code]
The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
codeREPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
DATA: int TYPE i,
rspar TYPE TABLE OF rsparams,
wa_rspar LIKE LINE OF rspar.
RANGES seltab FOR int.
WRITE: 'Select a Selection!',
SKIP.
FORMAT HOTSPOT COLOR 5 INVERSE ON.
WRITE: 'Selection 1',
/ 'Selection 2'.
AT LINE-SELECTION.
CASE sy-lilli.
WHEN 4.
seltab-sign = 'I'. seltab-option = 'BT'.
seltab-low = 1. seltab-high = 5.
APPEND seltab.
SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
WITH paramet eq 'Selection 1'
WITH selecto IN seltab
WITH selecto ne 3
AND RETURN.
WHEN 5.
wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
wa_rspar-low = 14. wa_rspar-high = 17.
APPEND wa_rspar TO rspar.
wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
wa_rspar-low = 'Selection 2'.
APPEND wa_rspar TO rspar.
wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
wa_rspar-low = 10.
APPEND wa_rspar TO rspar.
SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar
AND RETURN.
ENDCASE.[/code]
=> To leave a called program, you can use SUBMIT .... AND RETURN. by choosing F3 or F15 from list level 0 of the called report.
Hope this helps.
regards,
venkat -
How to 'inner join' internal table or cluster table ??
Hi,
when i inner join table BSEG it said is a cluster table can't be inner joined .
i wonder how i can "inner join" bseg with a internal table such as
data: begin of i_bseg_trans,
bukrs like bseg-bukrs,
gjahr like bseg-gjahr,
belnr like bseg-belnr,
total_runtimes like i_runtimes-total,
already_runtimes like i_runtimes-already,
left_runtimes like i_runtimes-left,
end of i_bseg_trans.
and similar things trouble me when considering several internal tables .
thanks for any help!!Hi,
but if there's more than 2 tables, for example
data: begin of it_bseg occurs 0,
bukrs like bseg-bukrs,
else_1 type i,
end of it_bseg.
data: begin of t occurs 0,
bukrs like bseg-bukrs,
end of t.
data: begin of r occurs 0,
bukrs like bseg-bukrs,
else type c,
end of r.
select bukrs from bkdf into table t.
select bukrs from bkdf into corresponding fields of table it_bseg.
select bseg~bukrs "else_1
from bseg "it_bseg
into table r
for all entries in t
where bseg~bukrs = t-bukrs.
" and it_bseg-bukrs = t-bukrs.
in the select clause i mean whether there's a method similar to the way just drop the " in my code.
now my solution is to use another loop on it_bseg, but i think when table amount is large this is really a boring solution. -
How do we join cluster table bseg?
Friends ,
i just wanna know as 2 how can we combine bseg and bkpf tables.
since bkpf is a transparent table and bseg is a cluster table.
regards
Essam
[email protected]Hi Essam,
REPORT ztestport_01.
TABLES : bkpf,
bseg.
INTERNAL TABLE AND WORK AREA FOR THE FIELDS IN BKPF TABLE *
DATA : BEGIN OF itab_bkpf OCCURS 0,
bukrs LIKE bkpf-bukrs, "Company Code.
gjahr LIKE bkpf-gjahr, "Fiscal Year.
budat LIKE bkpf-budat, "Posting Date in the Document.
belnr LIKE bkpf-belnr, "Accounting document number.
blart LIKE bkpf-blart, "Document Type.
END OF itab_bkpf.
DATA : wa_bkpf LIKE LINE OF itab_bkpf.
INTERNAL TABLE AND WORK AREA FOR THE FIEDLS IN BSEG TABLE *
DATA : BEGIN OF itab_bseg_debit OCCURS 0,
bukrs LIKE bseg-bukrs, "Company Code.
gjahr LIKE bseg-gjahr, "Fiscal Year.
belnr LIKE bseg-belnr, "Accounting Document Number.
buzei LIKE bseg-buzei, "Line Item.
hkont LIKE bseg-hkont, "General Leadger Account.
shkzg LIKE bseg-shkzg, "Credit/Debit Indicator.
wrbtr LIKE bseg-wrbtr, "Amount in Document Currency.
pswsl LIKE bseg-pswsl, "Update Currency for Gen.Ledger
dmbtr LIKE bseg-dmbtr, "Amount in local currency.
sgtxt LIKE bseg-sgtxt, "Item Text.
zuonr LIKE bseg-zuonr, "Assignment Number.
END OF itab_bseg_debit.
DATA : itab_bseg_credit LIKE STANDARD TABLE OF itab_bseg_debit WITH
HEADER LINE.
FINAL OUTPUT INTERNAL TABLE *
DATA : BEGIN OF itab_output OCCURS 0,
belnr(08) ,
bukrs(04) ,
budat LIKE bkpf-budat,
buzei(03) ,
hkont(07) ,
blart(02) ,
shkzg(01) ,
wrbtr(08) ,
pswsl(05) ,
dmbtr(10) ,
sgtxt(19) ,
zuonr(10) ,
END OF itab_output.
CONSTANTS : c_debit TYPE c VALUE 'S',
c_credit TYPE c VALUE 'H'.
SELECT-OPTIONS *
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-t01.
SELECT-OPTIONS : s_bukrs FOR bkpf-bukrs.
PARAMETERS : p_year LIKE bkpf-gjahr visible length 2.
SELECT-OPTIONS : s_budat FOR bkpf-budat,
s_dbacct FOR bseg-hkont,
s_cracct FOR bseg-hkont,
s_amt FOR bseg-dmbtr.
SELECTION-SCREEN END OF BLOCK input.
SELECTING RECORDS FROM BKPF TABLE BASED ON THE CONDITION *
SELECT bukrs gjahr budat belnr blart
FROM bkpf INTO TABLE itab_bkpf
WHERE bukrs IN s_bukrs AND
gjahr EQ p_year AND
budat IN s_budat.
SELECTING DEBIT LINE ITEMITEMS FROM BSEG FOR THE DOCUMENT *
NUMBER SELECTED FROM BKPF *
IF NOT itab_bkpf[] IS INITIAL.
SELECT bukrs gjahr belnr buzei
hkont shkzg wrbtr pswsl
dmbtr sgtxt zuonr
FROM bseg INTO TABLE itab_bseg_debit
FOR ALL ENTRIES IN itab_bkpf
WHERE bukrs EQ itab_bkpf-bukrs AND
belnr EQ itab_bkpf-belnr AND
gjahr EQ itab_bkpf-gjahr AND
hkont IN s_dbacct AND
shkzg EQ c_debit AND
dmbtr IN s_amt.
SELECTING CREDIT LINE ITEMITEMS FROM BSEG FOR THE DOCUMENT *
NUMBER SELECTED FROM BKPF *
SELECT bukrs gjahr belnr buzei
hkont shkzg wrbtr pswsl
dmbtr sgtxt zuonr
FROM bseg INTO TABLE itab_bseg_credit
FOR ALL ENTRIES IN itab_bkpf
WHERE bukrs EQ itab_bkpf-bukrs AND
belnr EQ itab_bkpf-belnr AND
gjahr EQ itab_bkpf-gjahr AND
hkont IN s_cracct AND
shkzg EQ c_credit AND
dmbtr IN s_amt.
ENDIF.
SORT itab_bkpf BY bukrs gjahr belnr.
SORT itab_bseg_credit BY bukrs gjahr belnr.
LOOPING THE DEBIT ENTRIES *
LOOP AT itab_bseg_debit.
READING THE CREDIT ENTRIES WHICH MATCHES WITH HE CURRENT DOC. NUMBER *
READ TABLE itab_bseg_credit WITH KEY
bukrs = itab_bseg_debit-bukrs
gjahr = itab_bseg_debit-gjahr
belnr = itab_bseg_debit-belnr BINARY SEARCH.
IF sy-subrc EQ 0.
*READING THE POSTING DATE AND DOCUMENT TYPE FOR THE CURRENT DOUCMENT *
AND APPENDING THE DEBIT AND CREDIT ENTRIES *
READ TABLE itab_bkpf INTO wa_bkpf WITH KEY
bukrs = itab_bseg_debit-bukrs
gjahr = itab_bseg_debit-gjahr
belnr = itab_bseg_debit-belnr BINARY SEARCH.
itab_output-belnr = itab_bseg_debit-belnr.
itab_output-bukrs = itab_bseg_debit-bukrs.
itab_output-budat = wa_bkpf-budat.
itab_output-buzei = itab_bseg_debit-buzei.
itab_output-hkont = itab_bseg_debit-hkont.
itab_output-blart = wa_bkpf-blart.
itab_output-shkzg = itab_bseg_debit-shkzg.
itab_output-wrbtr = itab_bseg_debit-wrbtr.
itab_output-pswsl = itab_bseg_debit-pswsl.
itab_output-dmbtr = itab_bseg_debit-dmbtr.
itab_output-sgtxt = itab_bseg_debit-sgtxt.
itab_output-zuonr = itab_bseg_debit-zuonr.
APPEND itab_output.
itab_output-belnr = itab_bseg_credit-belnr.
itab_output-bukrs = itab_bseg_credit-bukrs.
itab_output-budat = wa_bkpf-budat.
itab_output-buzei = itab_bseg_credit-buzei.
itab_output-hkont = itab_bseg_credit-hkont.
itab_output-blart = wa_bkpf-blart.
itab_output-shkzg = itab_bseg_credit-shkzg.
itab_output-wrbtr = itab_bseg_credit-wrbtr.
itab_output-pswsl = itab_bseg_credit-pswsl.
itab_output-dmbtr = itab_bseg_credit-dmbtr.
itab_output-sgtxt = itab_bseg_credit-sgtxt.
itab_output-zuonr = itab_bseg_credit-zuonr.
APPEND itab_output.
ENDIF.
ENDLOOP.
SORT itab_output BY belnr budat shkzg.
then loop your final itab_output
and give write command to print
your fields.
<b>Regards,
Jackie.</b>
Message was edited by:
Jackie -
How can i join pool table to a cluster tables ?
Hi Experts,
is it possible to join bseg to bkpf table if possible then please do help me with the required query for the same purpose.
Thanks
Aditya Rajput.Hi Aditya,
There is nice blog on create joins for BSEG and BKPF.
Refer to the link below
Query Report Tips Part 3 - Efficient Data selection with BSEG Joining BKPF
Hope this helps.
Regards,
Deepak Kori -
HOW I CAN JOIN TWO TABLE?
CREATE TABLE TEMP (A VARCHAR2(10));
INSERT INTO TEMP VALUES ('A');
INSERT INTO TEMP VALUES ('B');
INSERT INTO TEMP VALUES ('C');
COMMIT;
CREATE TABLE TEMP2 (A VARCHAR2(10));
INSERT INTO TEMP2 VALUES ('''A'',''B''');
COMMIT;
SELECT * FROM TEMP;
A
B
C
SELECT * FROM TEMP2;
'A','B'
SELECT FROM TEMP A,TEMP2 B WHERE A.A IN (B.A)*
NO RECORD FOUND??????
Edited by: 940625 on Jun 22, 2012 2:34 AM
Edited by: 940625 on Jun 22, 2012 2:35 AMSQL> select * from tmp;
A
A
B
C
3 rows selected.
SQL> select * from tmp2;
A
'A','B'
1 row selected.
SQL> select regexp_substr(replace(a, ''''), '[^,]+',1 ,level) a
2 from tmp2
3 connect by level <= length(regexp_replace(replace(a, ''''), '[^,]+'))+1;
A
A
B
2 rows selected.
SQL> select * from tmp a
2 where a.a in ( select regexp_substr(replace(b.a, ''''), '[^,]+',1 ,level) a
3 from tmp2 b
4 connect by level <= length(regexp_replace(replace(b.a, ''''), '[^,]+'))+1
5 );
A
A
B
2 rows selected. -
How should I join a client-VM to a farm?!
Here's the situation:
we have 4 relevant servers in the setup:
SRVEXT2 is DC, DNS, AD-Cert, RDS-License-Server - Win2k8
SRVEXT3 & 4 are Virtualization-Hosts with Hyper-V (no other RDS-Roles installed) clustered to Failover with attached SAN-Storage - Win2k8 R2
SRVEXT5 is a VM running on SRVEXT3/4 with RD-CB, RD-WA, RD-RG installed, running also Win2k8 R2
The VMs were cloned through the PowerShell-Script from technet and WMI/RPC is configured via GPO.
Now everything runs nearly fine (VMs etc.). But I have a BIG issue:
When I'm trying to connect a personal assigned Desktop (In fact it's the Machine-Account in the Active Directory that's assigned to the user) I get this "Cannot verify remote that the remote computer you are redirected to belongs to the same farm"-error.
I tried pretty much (certificates, reconfiguring everything etc.) but I don't know what went wrong. If I try to connect via RDWA I get the same error as when connecting through direct remote connection from a Desktop. I recognized no differences by trying
this from Win7, Win2k8R2, Win2k8-machines.
When i have a look at the event-log from the CB everything looks normal:
The CB gets the request for a login
The CB looks up the VDI-VM for me
The CB returns the endpoint with IP/FQDN/NetBIOS as "Non-Farm" from vmresource.2
But still every RDP-Client complains about my VM not beeing a farm-member, although there is no Farm - CB runs in Virtual-Machine-Redirection-Mode as described in every tutorial.
When trying to connect with a thin-client (Axel) it works (in my opinion it works because the thin-client is kinda dumb and doesn't try to verify the whole story as the Win-RDP-client does).
I hope here's someone who can figure out a solution (in the 99 threads goggle returned there was unfortunately no solution)...Hi,
Thank you for posting in Windows Server Forum.
Initially kindly check that Farm name has given as FQDN name of the server. Also please try to follow below steps and verify the result.
Go to Start --> Administrative tools --> Remote desktop services --> RemoteApp Manager
Now a new window will open and in the window there's a box which says "Overview".
The first option will say " RD Session Host Server Setting; Clients will be redirected to: computer.domain.com"
That's where you need to make a change. If you'd open that, it will tell you that "If the RD session Host Server is in a farm, enter the DNS name of the farm".
So now make that "Server name" look like this: farm.domain.com or whatever your farm's DNS name is.
Do this on all the host servers and yeah then you might need to refresh the DNS settings on the DC.
Quoted from this thread.
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support -
Join fact table with higher dimension level
how do i join fact tables with higher dimension levels with discoverer?
fact with detail at level C
measure X
dimension with
D->C->B->A
E->C
level
A B C
1------1------1
2------2------1
3------2------1
join between fact X and dimension level C
X=3*C because of sum(X) in discoverer and 3xC in dimension
is there a way to get correct values for X without creating a dimension like
D->C
E->another way of asking this is whether you can create a summary table in Discoverer at a higher level than a dimension's fundamental grain. In other words - the summary examples in the documentation all describe leaving out one or more of your dimensions... they are either left in or completely taken out. But, some of the most effective summarization occurs when you summarize daily data to a monthly level. Assuming that I have a sales table (at a daily level, and a key value sales_date), and a table date_dim (primary key sales_date), I would like to create a summary sales_month_summary where the sales are grouped on month_year (which is a field in the sales_date table).
How is this done? I suspect that we can't use the date_dim table with the summary (due to the problems noted by the poster above). Do we have to create another table "month_dim"? Do we have to fold all of the desired date attributes (month, quarter, year) into the summary? Obviously we'd like to re-use all of the pertinent already existing date items (quarter, month, year, etc.), not recreate them over again, which would result in essentially two sets of items in the EUL. [One used for this month summary, and another used for the detail.]
I searched the forum - someone asked this same question back in 2000 - there was no answer provided.
The only other thought I have is to "snowflake" the date_dim into two tables and two folders, one at a date level, another at the month level. Then the detail tables can connect to date_dim (which is linked to month_dim), while the summary data can connect directly to month_dim. -
How to create transaction table in R/3
Hi Gurus,
I have created master data table in R/3 with zempid as a primary key. I need to create transaction table for employee and visitor. how can i relate 2 transaction table with employee master table while creating tables in R/3 SE11.
Notes: both employee and visitor transaction table has zempid.
please let me know how to create table with relations.
Thanks & Regards,
BharathHi,
In a normal database (say Oracle), this referential integrity is taken care of by PK-FK (primary key - foreign key) relationships. As far as OLTP - SAP R/3 is concerned, these are exisitng for the tables defined by SAP.
Speaking about BW:
1. You will bring master data from R/3--> BW first (its always a good practice), which should mean that empid 1000 - 1007 will flow to BW. Also your OLTP system ensures that there can be no transaction data (due to PK-FK relationships), for any emp. id other than 1000-1007.
2. There could be another case that when the master data has been transferred to BW, due to time lag, in between master data and transaction data are created in R/3... meaning thereby that R/3 now has both master data about say emp.Id 1008 and transaction data as well.
3. Now the transaction data is extracted from R/3, which will bring the transaction data for 1008, eventhough the master data for 1008 (loaded in step 1) has not come down to BW.
4. Such situation can be controlled in BW, there are options wherein you can control this. the options are:
- Load data even if there is no master data (this will create master data record with key values and nulls in other attributes) - record for 1008 will get loaded in such cases.
- Do not Load data when there is no master data - The record with 1008 emp. id will not be loaded in such a case.
Hope this helps.
Cheers,
Sumit -
How to find all the tables associated for a particular transaction
Hi-
May I know how to find all the tables, related(foreign key) tables for a transaction within SAP GUI?
Up to my technical knowledge, this can be achieved by looking database diagrams from DB level. But that would be for entire database as a whole. What I'm expecting is to see transaction level relative tables that too from SAP GUI. Please share the possibilities if any.
Regards
SekharDear Micky Oestreich
May be we possess expertise or high level experience, it should not show up in our way of communication. Every professional starts with the basic stuff to learn. When the question is raised in such minimum polite way, the same level of courtesy is expected in return. If you felt my question was basic, you might have refused it gently. If you are in good mood or bad mood it doesn't matters.
Hi Vengal Rao
Thanks for your response. It helped me.
Regards
Sekhar
Maybe you are looking for
-
How is the interface between the Java Stack and ABAP stack is achieved?
How is the interface between the Java Stack and ABAP stack is achieved?..Please send me the answer to [email protected]
-
Hi all, We recently switched the location of our Shared Services schema from our main to secondary site oracle server. In the "reg.properties" file found under "hyperion/common/config/9.5.0.0" there's the configuration for where to look. If you chang
-
Hi, I just installed my first Arch system (Nova). It was a bit of a challenege, but by reading the docs and this forum I was actually able to fix most issues to the point I now have a functional system. My one remaining problem is that Evolution won'
-
How do I take out the touch pad zoom in/zoom out?
Hey, I want to take out the two finger zoom that makes everything larger/smaller in Safari that's capable with the newer Macbook Pros. Is there an easy way to do that?
-
I have a question about the size adjuster located at the bottom right of iPhoto (the one that says "view at largest/smallest photo size" if you hover your mouse arrow over the two blue buttons). Is there a way to permanently adjust the photo once it'