2008 Mar 13 10:09 AM
Hallo Guys,
I need to increment ID-field in DB table. Another record in table means id = id+1.
Is there any FM how to do it dynamicly or automaticly? Or is there a special setting in
table(data element) so I don't have to do it in my program by inserting new record?
Thanks.
Hallo Guys,
I need to increment ID-field in DB table. Another record in table means id = id+1.
Is there any FM how to do it dynamicly or automaticly? Or is there a special setting in
table(data element) so I don't have to do it in my program by inserting new record?
Thanks.
2008 Mar 13 10:32 AM
2008 Mar 13 10:35 AM
You should use a number range with internal numbering , and FM NUMBER_GET_NEXT (NUmber range: Assigns next free number).
Number ranges are managed by transaction SNRO.
2008 Mar 13 10:38 AM
Sorry the first answer was not visible while I was typing mine, which is the same !
2008 Mar 13 10:41 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |