Ansicht
Dokumentation

/OPT/VIM_COMPUTE_CHECKNUM_DK - DK - 001: Compute check digit / check input for valid check digit

/OPT/VIM_COMPUTE_CHECKNUM_DK - DK - 001: Compute check digit / check input for valid check digit

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Calculates or checks a Norwegian reference number with a form of the Modulo-10 procedure (key '..21212')

Example

Ref.num. 1 2 3 4 5 6 7 8
Multipl. 1 2 1 2 1 2 1 2
Total 1+ 4+ 3+ 8+ 5+1+2+ 7+1+6 = 38
MOD-10 - remainder 40 - 38 = 2

Correct ref.number: 123456782

Notes

This method only processes numerical values. Do not specify any special characters such as '<' or '>'.





Parameters

C_VALUE
I_CHECK_CORRECT

Exceptions

NUMBER_NOT_CORRECT

Function Group

/SAPLVIM_FG7A4

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 722 Date: 20240329 Time: 144419     sap01-206 ( 16 ms )