Skip to Content
author's profile photo Former Member
Former Member

Checking data in START ROUTINE using grouping???

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 ...



Ordernumber | LastChangedOn | QTY

111 20.01.2005 10

111 21.01.2005 -10

222 20.01.2005 20

222 21.01.2005 -10



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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 25, 2005 at 02:58 PM

    First of all you shoul implement the ASAP available in 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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.