Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/PM0/ABT_SVC_SMPL_APPL_NR_CONV - Conversion Exit for Sample Application

/PM0/ABT_SVC_SMPL_APPL_NR_CONV - Conversion Exit for Sample Application

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book


This function module converts character strings with five places of uppercase letters into a seven-digit number.

For instance, you can use this function module to convert an alphabetic sample application ID into a seven-digit number. Thus you can check which number in the number range 100000 - 9999999 is used for the sample application ID.

A mapping of numbers 0-25 to characters A-Z has been defined for the function module. Using the table, the function module gets five numbers from five assigned characters, and then returns a seven-digit number using the following expression:

First number * 264    +   second number   * 263   + third number *262   + fourth number* 26   + fifth number.

When the function module is called, the system checks the authorization object PM0/ABBTX.

The system returns the following data:

  • A seven-digit number converted from the input character string (parameter EV_OUTPUT)
  • List of error and status messages (parameter ET_MESSAGES)



The function module can only be called synchronously. It does not return any error messages.

If a runtime error occurs, you can call the application log with transaction SLG1.

Further information




Function Group


SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1746 Date: 20211128 Time: 120243     sap01-206 ( 34 ms )