Skip to Content
avatar image
Former Member

URGENT:Field routine in standard DSO not working correctly.

Hi guys,

The scenario is like this:

I have to calculate average inspection lot quantity.

Created a Generic DS and data flows to Write optimized DSO, from there to a standard DSO where i have written a field routine to calculate the average inspection lot based on LOSMENGE,MJAHR and MATNR fields, The average is to be calculated on based of MATNR, so i have kept MATNR as semantic field in Std DSO and i have key field as inspection lot number only, as it is unique for every record.

The problem is my DTP is not working. It is not failing, it is just sorting the records based on keys and nothing more.

I dont think its ABAP code issue.

Could you tell me if the approach i am following is correct, i.e reading the WDSO contents in field routine of std.DSO and calculating the average in it.

Regards,

Dhiya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 23, 2015 at 07:37 AM

    Hi Dhiya,

    Could you please share the Screenshot of the DTP monitor.

    Regards

    Vivek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2015 at 07:41 AM

    Hi Vindhya,

    you could calculate the average value of "inspection lot quantity" easily in Bex Query.

    any way can you give a data example here? and you field routine code as well.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2015 at 08:41 AM

    Hi,

    The problem has been resolved by debugging the code, there was a statement missing in the logic which i rectified later on.

    Thanks guys

    Add comment
    10|10000 characters needed characters exceeded