Control-M for SAP job failing with following error "Control-M For SAP: 0001 = Use Extended in account definitions is set to No" as seen in job log below: ====================== 12:29:39 4/7/2018 STARTED AT 20180407122847 ON <Agent_Hostname> 5101 12:29:39 4/7/2018 JOB STATE CHANGED TO Executing 5120 13:37:34 4/7/2018 ENDED AT 20180407133734. OSCOMPSTAT 0. RUNCNT 1 5100 13:37:34 4/7/2018 Message from Agent: Control-M For SAP: 0001 = Use Extended in account definitions is set to No 5169 13:37:38 4/7/2018 ENDED NOTOK. NUMBER OF FAILURES SET TO 1 5134 13:37:38 4/7/2018 JOB STATE CHANGED TO Analyzed 5120 13:37:39 4/7/2018 Job STATE CHANGED TO Post processed 5120 ====================== In cmsap log at Agent side, we can see also the error as follows: ====================== 09 09:36:03:729 I 33 BAPITask.call[64] Execute BAPI: /BMCCTRLM/VAR_SHOW' with account 'NPC' 09 09:36:03:729 I 33 BaseCMCommand.getAccountWrapper[98] getAccountWrapper 09 09:36:03:729 E 41 CommandManagerImpl.execute[221] Failed to execute [task 33]: <?xml version='1.0' encoding='UTF-8'?><ECSCM><HEADER><ACTION>BAPI</ACTION><DESTINATION>NPC</DESTINATION></HEADER><BODY><BAPI name="/BMCCTRLM/VAR_SHOW"><Import name="INPUT"><Parameter name="PROGRAM" value="ZNCA_CGN_UPD_ITMS_NO_FACT_TEC"/><Parameter name="VARIANT" value="ZVAR_REPRO1"/><Parameter name="MOVE_OR_WRITE" value=""/></Import></BAPI><DBGLVL>4</DBGLVL><requestID>pid_3196.th_5780.date_20180409093603729.19170</requestID></BODY></ECSCM> error code [1] : java.lang.Exception: Use Extended in account definitions is set to No at com.bmc.ctm.cmsap.domain.command.cm_actuators.BAPITask.call(BAPITask.java:72) at com.bmc.ctm.cmsap.domain.command.cm_actuators.BAPITask.call(BAPITask.java:29) at com.bmc.ctm.cmsap.domain.command.cm_actuators.AsyncTaskWrapper.call(AsyncTaskWrapper.java:40) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ====================== For error above we can see Connection Profile 'NPC' is failing to execute BAPI named "/BMCCTRLM/VAR_SHOW' |
From the Control-M Connection Profile configuration, Edit the properties of the SAP Account, open the "advanced options" tab and define the field "Use Extended" to Yes |