There is a field called order ID which is a key in ZTABE. While creating entries in SM30, im adding other fields and press enter. As soon as i press enter, it generates a default value '$00000000001' which I have assigned as a temporary value which I am going to replace with the number range that I am going to generate later. I create a number range in SNRO and then in even '01' of TMG, i call the FM 'NUMER_GET_NEXT' where ZTABLE-ORDER_ID = '$00000000001'. This generates a number range. I assign this number range to the order id field of table.
↧