You are on page 1of 4

Did sequence of multiple DTPs on single DSO eff...

| SCN

1 of 4

http://scn.sap.com/thread/3853303

Getting Started Newsletters

Hi, Guest

Store

Log On Join Us

Products

Services & Support

About SCN

Downloads

Industries

Training & Education

Partnership

Developer Center

Lines of Business

University Alliances

Events & Webinars

Innovation

Activity

Communications

Actions

Browse

8 Replies Latest reply: Jan 29, 2016 1:57 PM by Imran Shafiq

Share

Tweet

Like 0

Imran Shafiq

Jan 21, 2016 10:32 AM

Did sequence of multiple DTPs on single DSO


effect on data?
This question is Not Answered.
Hi
I make joins between six data sources in a DSO like following:
1) 2lis_02_itm 's
Purchase Doc.
|| Join with
===>2) 2lis_06_inv 's Purchase Doc.
Document No. & Fiscal Year
|| Join with
===>3) 0fi_gl_4 's Ref. Key
Document No. & Fiscal Year
|| Join with
===>4) 0fi_ap_4 's Document No. & Fiscal Year
|| Join with
===>5) ZDS_Gen1 's Document No. & Fiscal Year
Clearing Doc.
|| Join with
===>6) ZDS_Gen2 's Payment Doc.
Did sequence of multiple DTPs of data sources on single DSO effect on data? If yes how to resolve it?
Thanks

236 Views

Average User Rating


(0 ratings)

M Tibollo Jan 21, 2016 1:46 PM (in response to Imran Shafiq)


Re: Did sequence of multiple DTPs on single DSO effect on data?
what do you mean with joins? do you do lookups in transformation or just load the data sequentiely in
the dso?
standard dso or write-optimized?
is there an activation between every load?

Like (0)

Chie Bill Jan 22, 2016 5:08 AM (in response to Imran Shafiq)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi Imran,

8/19/2016 12:31 AM

Did sequence of multiple DTPs on single DSO eff... | SCN

2 of 4

http://scn.sap.com/thread/3853303

No idea what you mean by join.


I assume what you doing is *update* data to same DSO in the mentioned sequence.
In this case, the result will be difference if:
- The same data updated by multi-source, and the value is difference
- The data is set to overwrite in TRFN
Regards
Bill

Like (0)

Imran Shafiq Jan 22, 2016 6:16 AM (in response to Imran Shafiq)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi
I need to join following tables:
Table
Joining Fields
EKKO
EKPO

EBELN
EBELN

RSEG

EBELN,Concat(BELNR,GJAHR) to BKPF's Awkey

BKPF
BSAK

AWKEY,BELNR,GJAHR
BELNR,GJAHR,AUGBL

PAYR
VBLNR,GJAHR
FAGL_SPLINFO BELNR,GJAHR
According to above joins we can't create view due concatenation of 2 fields and I don't want to use
ABAP.
So I joined above fields in BW's transformations to get the required result.

Like (0)

Chie Bill Jan 22, 2016 7:49 AM (in response to Imran Shafiq)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi,
I don't think you can completely avoid ABAP code with TRFN, and it is not easy to implement as
well.
Please let us know what you are trying to do with the result set, then we may try to provide
suggestion on that.
Regards
Bill

Like (0)

Imran Shafiq Jan 22, 2016 9:00 AM (in response to Chie Bill)
Re: Did sequence of multiple DTPs on single DSO effect on data?
I need following fields in DSO from there respective datasources for further use in BEx query:
2LIS_02_ITM
EBELN(Purchasing Doc.),EKGRP(Purchasing Group),LIFNR(Vendor),WERKS(Plant)
2LIS_06_INV
EBELN,BELNR(Document Number),GJAHR(Fiscal Year)
0FI_GL_4
AWKEY(Reference Key),BELNR,GJAHR,BKTXT(Document Header Text),BSCHL(Posting
Key), USNAM(User Name)
0FI_AP_4
BELNR,GJAHR,AUGBL(Clearing Document No.)
Generic DS on PAYR
VBLNR(Payment doc.no.),CHECT(Check number),CHECF(Check number),ZBUKR(Paying
co. code),ZALDT(Payment date),RWBTR(Amount paid),ZNME1 (Payee)
Generic DS on FAGL_SPLINFO
BELNR,GJAHR,BSCHL,GSBER(Bus. Area),AWTYP(Ref. Transactn),PRCTR(Profit Center),

8/19/2016 12:31 AM

Did sequence of multiple DTPs on single DSO eff... | SCN

3 of 4

http://scn.sap.com/thread/3853303

SHKZG(Debit/Credit),HKONT(G/L),PSWBT(G/L amount),KOSTL(Cost
Center),ANBWA(Trans. type)
Waiting for your reply.
Thanks

Like (0)

Mahender Kumar Jan 28, 2016 8:32 AM (in response to Imran Shafiq)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi Imran,
I would suggest following.
- Keep all required fields from multiple DS's in final DSO as you mentioned in your requirement.
- Let your data source 2lis_02_itm be the base of all loads OR can say staging data layer.
- Before you load data from 2lis_02_item to final DSO, let the data of other data sources sit in their
respective DSO's (Standard OR W/O), better to use standard for look up purposes..
- Have the data activated in all other DSO's.
- Load data from 2lis_02_item to final DSO and then do a look up in multiple DSO's for other data
sources to find your match starting from purchase order...fetching required fields from other DSO's and
populating them in routine (End routine will be better)...
I am posting bit late and hope you would have already solved the issue using what I mentioned OR in
your own way;-)...Last but not the least...in some cases you need to use ABAP ;-( and can't get rid off
this...
Thanks & Regards,
Mahen

Like (0)

Imran Shafiq Jan 29, 2016 10:38 AM (in response to Mahender Kumar)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi Mahen
I understand following as you define above, correct me if I am wrong:
2LIS_02_ITM================1st DTP==========================>
2LIS_06_INV===>DSO1-Active Data===>End Routine1=====2nd DTP======>
0FI_GL_4===>DSO2-Active Data===>End Routine2 =====3rd DTP======>Final
DSO===>InfoCube
DS on PAYR===>DSO3-Active Data===>End Routine3 =====4th DTP======>
DS on FAGL_SPLINFO===>DSO4-Active Data===>End Routine4==5th DTP==>
Kindly share the logic/code of End Routines.
Thanks

Like (0)

Mahender Kumar Jan 29, 2016 11:06 AM (in response to Imran Shafiq)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Kind of..let me specify again..
First step is to load all data from multiple data source to their respective DSO's and get them activated..
Second step is to load purchase order data (first from data source 2LIS_02_ITM to DSO) to final DSO (I
hope you are keeping all required fields from respective data sources in this DSO to populate).
Before loading that you need to create transformation from Purchase order DSO to final DSO as
purchase order DSO will be the base to push data to final DSO.
In the transformation (end routine), in loop RESULT_PACKAGE...you need to pull respective fields via
look up in their respective DSOs...as you go on you will first start to pull data based on purchase order
from respective DSO and then further to get other fields from their respective DSO.
Get help from ABAPer, brief this...You will be able to achieve this by doing what I said above.
Thanks & Regards,

8/19/2016 12:31 AM

Did sequence of multiple DTPs on single DSO eff... | SCN

4 of 4

http://scn.sap.com/thread/3853303

Like (0)

Imran Shafiq Jan 29, 2016 1:57 PM (in response to Mahender Kumar)
Re: Did sequence of multiple DTPs on single DSO effect on data?
Hi Mahen
Thanks for explaining again.
Please clarify one thing after creating mapping of all respected DS's DSO to final DSO the End
Routine is define in transformation of 2lis_02_itm's DSO to final DSO and its DTP is the only DTP?
Thanks

Like (0)

Share

Site Index
Privacy

Tweet

Contact Us
Terms of Use

Like 0

SAP Help Portal


Legal Disclosure

Copyright

Follow SCN

8/19/2016 12:31 AM

You might also like