Solution : https://service.sap.com/sap/support/notes/1366729 (SAP Service marketplace login required)
Key words :
call function 'job_close' exporting jobcount = g_jobcount jobname = g_jobname strtimmed = 'x' exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8, call function 'job_open' exporting jobname = g_jobname importing jobcount = g_jobcount exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3, job g_jobname number g_jobcount, update dmc_mt_tables set calculated = 'x', update dmc_mt_tables set generated = '-', update dmc_prjct set projecttype = '2', g_jobname type btcjob, g_jobcount type btcjobcnt, terms dmis tdms reason, &--------------------------------------------------------- & report zdmc_set_tdms_projecttype & &----------------------------------------------------------report zdmc_set_tdms_projecttype
Related Notes :
1366797 | TDMS: Necessary adjustment of old projects |
1003051 | TDMS 3.0 corrections - Composite SAP Note |