public void DeleteSMONJob()

in code/src/main/java/DataProviderSMON.java [162:188]


    public void DeleteSMONJob() throws JCoException
    {
        System.out.println("Executing RFC '/SDF/SMON_REORG'...");

        final JCoDestination destination = JCoDestinationManager.getDestination(config.destination_name);

        if (function_delete == null) {
            function_delete = destination.getRepository().getFunction("/SDF/SMON_REORG");
        } else {
            System.out.println("Use function definition from cache...");
        }

        if (function_delete == null) {
            throw new RuntimeException("RFC '/SDF/SMON_REORG' not found! Check the SAP user authorization and required SAP release (ST-PI >= SP08)!");
        }

        //START IMPORT PARAMETERS
        function_delete.getImportParameterList().setValue("GUID", config.guid);
        //END IMPORT PARAMETERS

        try {
            function_delete.execute(destination);
        } catch (final AbapException e) {
            System.out.println(e.toString());
            return;
        }
    }