Quantcast
Channel: SCN : All Content - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 5981

Updating an ODS basing on data loaded to an InfoCube

$
0
0

Hi experts,

 

I often have requirements on BW system to update an ODS/InfoCube basing on data loaded to another ODS/InfoCube, And I want to know the best practice to this. Let me give you an example:

 

Firstly, I have an ODS based on 2LIS_12_VCITM that load delevry documents from ERP system, on the other hand I have the standard InfoCube 0IC_C03 based on 2LIS_03_BF for inventory data. Both DataSources are standard and load data with delta capabilities.

 

Our client need is to calculate the delevry delay witch is the difference between delivry date/hours in the ODS and and the good issue delevry Date/Hours (Which contains the date of good issue) the InfoCube...

 

 

SO, in the ODS I have:

 

Delivery num | Delivery Item | Qtty  | Document date | Hour       | Good issue delevry date | Good issue delevry hour

1001                     1             2000     10/01/2016      11:00                       -                                  -

1002                     1             3000      10/01/2016     15:00                       -                                  -

 

In the InfCube side, I have all Inventory mouvement:

Material doc|          Item      | Qtty    | Document date | Hour       | Delivery doc num |  Delivery doc item

40010                     1             2000     10/01/2016      14:00                 1001                   1

40020                     1             3000      11/01/2016      09:00                 1002                   1

 

What I want to do is to populate the fields "Good issue delevry date" and "Good issue delevry hour"whenever I new rows get loaded to the InfoCube, so I can have those records in the ODS:

 

Delivery num | Delivery Item | Qtty  | Document date | Hour       | Good issue delevry date | Good issue delevry hour

1001                     1             2000     10/01/2016      11:00                  10/01/2016                      14:00

1002                     1             3000      10/01/2016     15:00                  11/01/2016                       09:00

 

 

I can do this in user exit (T-code CMOD) on ERP side to enhance the 2LIS_12_VCITM by adding the good issue delevry date/hour, the issue is that I have to do a full load of 2lis_12_VCITM each time a new material documents get inserted in the system.

 

Any suggestion will be appreciated.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 5981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>