Hello friends
Im not great at abap and we have an issue which I am wondering would even be possible at a transformation level in SAP BW.
We have an MR Detailed Report based on a generic source. The DSO has the following fields that are involved in our issue:-
Service order no., MR Date, Status ('met', 'unsuccessful', 'cancel', etc.). This contains multiple line items for service order no.
We require the Status and MR Date field to be added into another report (Daily call report based on 0CRM_RUOI) which has Service order no. as the common factor. This DSO contains single line item against each service order no.
The requirement is as follows:-
Out of multiple line items in MR Detailed, we require the latest MR Date and the Status = Met in case all line items have status = 'Met' else 'not met'.
Hence,
S.O. No. MR Date Status
1 7th Apr MET
1 1st Apr CANCEL
1 8th Apr MET
should give result
1 8th Apr NOT MET
The problem is that since routines take in data package by package, a transformation over MR Detailed DSO to Daily call report DSO will still lead to multiple line items in case another record with same Service order number is in later packages.
Please help me understand the scenario.
Thanks