Getting number range interval for document type
My requirement is to display number range interval for any docnument type in SD.
I will elaborate my req. clearly.
We can see document type of SD in TVAK table. If we give document type for ex. ZOR the we will see number range internal assignment (NUMKI). The complete number range we can search through transaction VN01 through NUMKI value. But I didnt get any table to relate NUMKI or Sales document type and internal number range.
Please help me in searching database table to relate Document type or NUMKI and internal number range.
Relation is as below:
TVAK --> AUART = "Sales Document Type" NRIV --> OBJECT = "RV_BELEG" and NRRANGENR = TVAK-NUMKI
Alternatively you can use FM: NUMBER_GET_INFO with the Number Range Number and Object to extract Intervals.