Dear Experts,
I am developing a Infoset query using SQ02, where i would like to write a small piece of ABAP code to generate a serial number as described below.
Assignment | Serial No to be generated |
420000474800040 | 1 |
420000474800040 | 2 |
420000432600020 | 1 |
480006954800010 | 1 |
480006954800010 | 2 |
480006954800010 | 3 |
First column data is coming in my output as a result of my query, but i would to see/generate the serial number as same as second column.
Ex: For the first time if the ASSIGNMENT number is coming it should starts with 1 and if the same ASSIGNMENT number (first column value) is repeating in a new row, then the custom serial number to be increased by 1,
Please note that Assignment field's field name is ZUONR and Serial No field's field name is ZZEKKN.
Regards,
Srinu