Skip to Content
avatar image
Former Member

Header counter in DSO

Hello,

I have a simple question: in a BW transformation based on SD sales orders items, I'm trying to count just the individual headers. I know it can be done in BEx, but I was thinking about doing it in the end routine. So basically I'm trying to achieve a result_package like:

Doc nr Doc item Counter

1 1 1

1 2 0

1 3 0

Any ideeas? I've tried with "at new" control block but it's not working...

Thanks,

Tudor

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 03, 2016 at 06:58 AM

    Hi,

    You can sort the result package with document number and update the counter with 1 for each unique document number. Be careful that it will cause inconsistency in case of some changed documents are original documents are in the same data package. I feel it will be a better idea to use a BEx formula formula variable counter.

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded