on 10-14-2008 11:18 AM
Can v create the view for the generic extractors without the common primary keys in the tables, if so let me know the procure to follow.
Regards
KK
Joins for view neednot be on primary key but if not on primary keys there will be multiple records for different combination.
You need to choose your fields wisely and create join.
If you have single table you can use view else you need some condition to join the tables.
May be for your case you can go for function module generic datasource where you can write your logic to populate data.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can create a generic extractor with views, its always recommended to create a view with atleast one Primary keyfield so that while populating the values u dont have any mismatch.
create views mapping all similar charecteristics from tables and then create a extractor for this. this will avoid confusion in data.
revert back if u need any help.
Regards,
Ranjith
Hi KK,
Please have a detailed study of these tables and find out what all key fields they have in common.
Find all possible key fields common between these fields and make a view on them.
then u can add this view to your extractor and select what all fields u need.
the possible combinations for the tables u have given are
ekko ekpo eban mkpf eket Ekkn
mandt mandt mandt mandt mandt MANDT
ebeln ebeln ebeln EBELN
ebelp ebelp EBELP
for the above create joins on these fileds in the
please check with the name of the table PSPR. its not a standard table.
please confirm the name of the table so that i can help u. or if u find anuy of these fields in that table create a join on it. and create a view.
hope this helps if u need any help further, please revert back
regards,
ranjith
Edited by: Ranjith Kumar Murugesan on Oct 14, 2008 2:56 PM
Thanx Ranjith,
sorry the table name is prps not pspr. can v create a view using mandt only ?
suppose x is der in ekko and ekpo
and y is der in ekpo and ekkn
z is der in ekkn n eban
a is der in eban n ekbn
b is der in ekbn n prps.
can v create a join. but the thing is i am i going to fetch the data from all the table. i thing its going to a huge volume ??
pls reply with ur suggestion.
Regards
KK
Hi,
U have a single commmon field MANDT in all the 7 tables.
u can just have this key common and create a view,
its better u create a join with all the available keyfield combinations between ur tables. that will increse the performance.
u can map table A B C D with a single key and D with E with another key also. this should work.
Any further help needed. please revert back.
Regards,
Ranjith
Hi KK,
In a view u can choose the fields u want and u can just view them alone.
this will prevent u from lareger volumes of data that would hinder the performance.
select only the fields that are necessary, leave fields that u think can be manipulated from the existing fields in BW side.
Any further help needed, Please revert back.
Regards,
Ranjith
Thanx for ur consistent replies.
the table name is prps.
can u pls send me the the list of common fields that can be mapped to create the view on SDN itself, since i dont hav access to any outside mails.
and also could u pls provide me any side r any table where i can find the common fields in the different MM tables.
Thanks a lot for ur co operation.
Regards
KK
Please refer to this link for relation between MM tables.
http://www.erpgenie.com/abap/tables_mm.htm
Thanks,
Murtuza.
Hi KK,
Sorry for late replying
please choose all the fields,
create a join on MANDT from all the tables
create a join on EBELN from tables EKKO EKKN EKET EKPO
create a join on EBELP from tables EKKO EKKN EKET EKPO
the other three tables have no other field except MANDT in common.
please chek the view for duplicate values and confirm me.
hope this solves ur issue.
contact if u need any further help.
regards,
Ranjith
yes Ranjith.
The problem is solved.
i would like to ask another question.
I need to create the reports which consist fields of both the header and item level. Now my doubt is how can i move the data to the data targets. Shall i create the different DSO for Header and item and create the reports on multiprovider or infoset. or shall i create the one DSO only.
Regards
thanx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi pls thru some light on the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think it would be better u can look for the cubes which contain the data u need, create a multiprovider on them, maintain their charecteristics and create a query on this multiprovider.
i think its unnecessary to load the data again into an ODS when u already have the data in some other objects.
Maintain all the common keyfields from both the cubes and select the fields u want and create a query on then.
loading again will consume some memory, so i think its not needed.
Regards,
Ranjith
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.