1.numberrange的通用tcode:snro
2.number range的通用讀取函式:number_get_next
3.如有跳號現象,可以禁用物件的buffer試試
4.幾個關於number range的函式組:
snr0 online maint. of number ranges& groups
snr1 inte***ce for number ranges and groups
snr2 maintenance of number range objects
snr3 number range checks, assignment& info.
snr4 number ranges utility
5.使用自定義的number range objects
1).create number range object using oysn (或者snro).
2).then call the following function modules.
form get_next_id changing p_discrep.
data: last_id like zrecaudit-discrep,
quant
likeinri-quantity,
"dummy
code
likeinri-returncode. "returncode
call function 'number_range_enqueue'
exporting
object
= 'zrecaudit'
exceptions
foreign_lock
= 1object_not_found = 2
system_failure
= 3others
= 4.
if sy-subrc = 0.
callfunction 'number_get_next'
exporting
nr_range_nr
= '01'
object
= 'zrecaudit'
importing
number
= last_id
quantity
= quant
returncode
= code
exceptions
interval_not_found
= 1number_range_not_intern = 2
object_not_found
= 3quantity_is_0
= 4quantity_is_not_1
= 5interval_overflow
= 6buffer_overflow
= 7others
= 8.
callfunction 'number_range_dequeue'
exporting
object
= 'zrecaudit'
exceptions
object_not_found = 1
others
= 2.
endif.
endform.
" get_next_id
6.常用維護特定number range的tcode:
補充:
關於SAP的號碼範圍 number range
1.number range的通用tcode snro 2.number range的通用讀取函式 number get next 3.如有跳號現象,可以禁用物件的buffer試試 4.幾個關於number range的函式組 snr0 online maint.of number ranges g...
關於多語言編碼範圍
中文的unicode碼的範圍4e00 9fa5 英文和asc碼相容,只不過高位元組是0x00 低位元組 ascii 1 標準cjk文字 code point range block name release u 3400.u 4db5 cjk unified ideographs extension...
SAP中關於功能範圍優先順序的問題
應該說財務使用者對於功能範圍的應用基本都了解。但對於功能範圍的優先順序問題就不一很清楚。試想,我們可以在總賬科目中設定功能範圍,可以在成本中心中設定功能範圍,可以在內部訂單中設定功能範圍,可以在成本要素中設定功能範圍。那麼,如果一筆記賬,即有科目,又包含成本中心,又有內部訂單,而三者的功能範圍又不一...