How Datasource works

Question: Hi

I am working on the datasource. like 0FI_AP_1, it is a structure.

How it get the data. i mean we can see the structure but from where we can see the actual tables and joins
_________________
Nemo
www.FreeSofty.com
_______________________________________

Smile is the sign of beautiful world.

Answer:
you can look in r/3 table roosource for the datasource you are interested in. Datasources either get their data from :

Transparent Table or DB View
Function Modules
Extraction Using ABAP Query

you can tell whch by the value of field roosource-Extraction Method.

For 0FI_AP_1 the extraction method is a function module.
The value of field roosource-extractor tells you which function module.
For 0FI_AP_1 it is function module FBIW_DATA_TRANSFER_AP_1 which populates extract structure DTFIAP_1.

Hence to figure out where the infosource gets its information you need to read function module FBIW_DATA_TRANSFER_AP_1 which I daresay is probably quite complicated.
Copyright ?2007 - 2008 www.jt77.com