You can call up the Service Mapping Tool (SMT) in your ABAP program by way of a class-based API. Your program must carry out the following steps:
Create object of type CL_SMT_ENGINE
Optional: Carry out method Prefetch for all input data
Optional: End the prefetch mode by calling up the method PREFETCH-END
Call-up method EXECUTE for all input data.
For further information, see