on 01-25-2005 2:40 PM
Hello everyone,
My problem is.....
When iam loading from ZODS1 to ZODS2 then i have to summarize before loading to ZODS2 in start routine to check a condition.
Iam explaining with an same example ...
ZODS1
-
Ordernumber | LastChangedOn | QTY
111 20.01.2005 10
111 21.01.2005 -10
222 20.01.2005 20
222 21.01.2005 -10
ZODS2
-
Ordernumber | QTY
222 10
In ZODS2 i should have only ORDERNUMBER "222" because QTY=0 or <0.
So to check the QTY is <=0 in START ROUTINE i want to group the data coming from ZODS1 using Ordernumber.
So can you please explain the process to be implemented to group the records.
Thanks
KT
First of all you shoul implement the ASAP available in http://service.sap.com/bw named "How to Aggregate Data in the Update Rules for Performance" (it explains how to smmarize data). Using the exposed tecnique you sould be able to obtain only two records, then you should delete those records where QTY Kf is less or equal to 0.
Be aware that however the StartRoutine works on the DataPackage, and there is no warranty about the fact that 2 records involved are in the same DataPack ... without changing some parameters in ROIDOCPRMS Table!
Depending on the sys lanscape such a modification could be difficult to be implemented.
Hope it helps
GFV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.