Quantcast
Channel: SCN : Discussion List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 6437

Generic Extraction from ILOA table

$
0
0

Hi Guru's,

 

I have a scenario where im getting the data from AFIH table through 2LIS_18_I3HDR extractor into BW currently.

But there is a custom field MSGRP (ROOM) in this extractor added to extract structure and the code to populate this field is written is the exit.

The logic is :

 

  1. Get the order number from AFIH table.
  2. Find the equivalent ILOAN field value from AFIH table for that order number.
  3. Take this ILOAN value and put this in ILOA table and get the equivalent MSGRP value and populate it to that order.

 

There is one more field that i want to get from ILOA table called EQFNR(Obl .type) for an order which needs ILOAN value from AFIH.

 

Tricky part is that i need to get delta triggered whenever MSGRP or EQFNR values changes for an order, since these changes cannot trigger delta to the standard header extractor, in turn there is a mismatch in BW data if someone changes those fields in R/3 after that order is flown into BW.

 

So , my solution for is supposed to be that :

 

I create a table/view generic extractor on ILOA table and get all changes made to MSGRP/EQFNR fields daily into BW and stage it in a DSO.

Then on a selection (for ex: last 30 days data) i can recycle my 2LIS_18_i3HDR order header data where the logic will be :

-> to get all the ILOAN values for the orders and pass those values into the staging DSO as ILOAN is the key for ILOA table.

-> and retrieve the values from fields MSGRP/EQFNR and more if needed and update those values to the header data information.

 

So that anytime the report is run, correct values are shown for those fields.

 

Please advise if my approach is correct?

If yes, how do i create the generic delta on ILOA table as i dont see any date fields in there? Please let me know the approach to get the delta.

 

is there a better way to do so?

 

Thanks

Ram


Viewing all articles
Browse latest Browse all 6437

Trending Articles



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