Hi!
I need only those belnr gjahr pair (since they form composite key) from BSEG which has KTOSL = WRX more than once.
Example:
belnr = 11111; gjahr = 2013; ktosl = 'WRX'
belnr = 11111; gjahr = 2013; ktosl = 'KBS'
belnr = 11111; gjahr = 2013; ktosl = 'WRX'
belnr = 222222 ; gjahr = 2013; ktosl = 'EBS'
belnr = 222222 ; gjahr = 2013; ktosl = 'WRX'
belnr = 222222 ; gjahr = 2012; ktosl = 'WRX'
I need only those pair of "belnr, gjahr" which has more than 1 record for transaction type = 'WRX'
so final out put should be - 11111 2013
PS. i need to do this without internal table.
Thankyou much,
KS