Ansicht
Dokumentation
/PM0/ABT_SVC_SMPL_APPL_NR_CONV - Conversion Exit for Sample Application
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
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)
Example
Notes
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
Parameters
ET_MESSAGESEV_OUTPUT
IV_INPUT
Exceptions
Function Group
/SAPLABT_SVC_SAMPLE_APPLPERFORM Short Reference ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 1746 Date: 20240425 Time: 081458 sap01-206 ( 35 ms )