Hello All,
There is delta DTP which is part of daily process chain which will load the data from DSO say XYZ (standard) to Cube say ABC as usual in the transformation level their is some business logic is written in the start routine.
We have a lookup on DSO 0SD_O06 in the transformation from DSO XYZ to Cube ABC and fetching the billing condition data based on some condition. The Billing conditio DSO 0SD_O06 is having data in Millions.
The same code is running in production as well as test system.
But the strange thing is, in PROD system, The DTP is taking around 1HR to load 80,000 data but in Test System, the DTP is taking 1 HR to load only 150 records.
We checked in both the system and the data flow is in sync in both system.
Key Fields of DSO -- 0FISCVARNT, 0BILL_NUM, 0BILL_ITEM, 0DOC_NUMBER, 0S_ORD_ITEM, DKNUMV, 0ME_CONDINU, 0KNART 0KNCOUNTER
Start Routine in Test System:
SELECT BILL_NUM BILL_ITEM FISCVARNT KNART KNVAL DOC_CURRCY /BIC/DKBETR
FROM /BI0/ASD_O0600
INTO TABLE GT_COND
FOR ALL ENTRIES IN SOURCE_PACKAGE
WHERE
BILL_NUM = SOURCE_PACKAGE-BILL_NUM AND
BILL_ITEM = SOURCE_PACKAGE-BILL_ITEM.
SORT GT_COND BY BILL_NUM BILL_ITEM FISCVARNT KNART.
Start Routine in Production System:
SELECT BILL_NUM BILL_ITEM FISCVARNT KNART KNVAL DOC_CURRCY /BIC/DKBETR
FROM /BI0/ASD_O0600
INTO TABLE GT_COND
FOR ALL ENTRIES IN SOURCE_PACKAGE
WHERE
FISCVARNT = 'K4'
BILL_NUM = SOURCE_PACKAGE-BILL_NUM AND
BILL_ITEM = SOURCE_PACKAGE-BILL_ITEM.
SORT GT_COND BY BILL_NUM BILL_ITEM FISCVARNT KNART.
Is this because of the missing condition FISCVARNT = 'K4' in the code in test system or is due to some other factors.
Please provide your valuable inputs.
Best Regards,
Abhimanyu Sharma.