suggestion required (records not coming in order)

Question: I have using PBHI table on the r/3 side which is the time dependent table and the table is recording the history of forecasting data.

The keys of the table are client, ID(which gives me the material and plant id in other table),calday,date on which the record was changed , time of creation of record. The key field that i am picking up from this forecast quantity.

I have created a view on the top of 2 tables pbhi and the seond table
and the view gives me the records as
client,material id, plant id, caendar day, date onwhich record was changed,time , quantity.

when i execute the view, it gives me the records in the proper order...
but when the records come tpo PSA via adatasource which is of generic type built on the top of view,they are not in the proper order...

datasource is of the pull type, and i am not having any generic delta...
i am having full load.

since we are chaning the forecast entries in the table twice or thrice a month we want the last entry to overwrite the previous within the same month .The PBHI table is storing the history of records for forecasting and that too in proper order.but when we are extracting the data through Generic datasource the records are not in proper order...

shall i use some internal table in the startup routine in update rules to sort the records and then load it or is there some other soln..

Regards
Shikher

Answer:
I have created a startup routine in the transfer rules and able to solve the problem..
But still i am not able to figure out the root cause of the problem...

How can i get the name of the extractor function for generic extractor.

Regards
Shikher
Copyright ?2007 - 2008 www.jt77.com