/NAM/CONVERT_BASE62_TO_BASE10 - Get Number with Base10

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Functionality

The function module will take two alphanumeric values as import parameters.

These two values will then be converted to their respective decimals.

Finally, the export parameters will consist of the converted numbers.

Example

The offset is fixed = A00000

Suppose the first input value is BLY7VK

Now the output value will be,

OUTPUT_NUM = BLY7VK - OFFSET_NUM

,, = BLY7VK - A00000

,, ,, = ( 11*62^5 + 21*62^4 + 34*62^3 + 7*62^2 + 31*62^1 + 20*62^0) - ( 10*62^5)

,, = ( 10077461152 + 310303056 + 8103152 + 26908 + 1922 + 20 ) - ( 9161328320 )

= 10395896210 - 9161328320

,, = 1234567890

Similar logic can be applied to the second input value.

Notes

Further information


Parameters

PV_INPUT_NUMBER
PV_OUTPUT_NUM

Exceptions

NO_CONVERSION

Function Group

/SAPLBASE_CONVERSION

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 1066 Date: 20120524 Time: 230651     triton ( 33 ms )