2020-08-17 02:32发布
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)嗨, 我们可以安排一份脚本以... 显示全部
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
嗨,
我们可以安排一份脚本以上的工作吗?
谢谢!
Alyssa
你好,
我尝试执行一个脚本来一步创建链。 它的工作。 但是我需要创建多个步骤。 您能帮上忙吗?
定义= jcsSession.createJobDefinition(); jDefinition.setName(jdName); jDefinition.setJobDefinitionType(jcsSession.getJobDefinitionTypeByName(JobDefinitionType.JOB_CHAIN)); jDefinition.setPartition(partition); JobChain jchain = jcsSession.createJobChain(); jchain.setJobDefinition(jDefinition); JobChainStep jcstep = jchain.createJobChainStep(); jcstep.setSequenceNumber(Long.valueOf(0)); jcstep.setName(stepName); JobChainCall jccall = jcstep.createJobChainCall(); JobDefinition jDefinitionStep = jcsSession.getJobDefinitionByName(" SAP_AbapRun"); jccall.setJobDefinition(jDefinitionStep); jccall.setSequenceNumber(Long.valueOf(0)); JobChainCallInExpressionParameter jcciep = jccall.createJobChainCallInExpressionParameter(); jcciep.setLocalJobDefinitionParameter(jDefinitionStep.getJobDefinitionParameterByName(" SAP_SYSTEMS"));; jcciep.setExpression(" XXX"); JobDefinition jDefinitionStep = jcsSession.getJobDefinitionByName(" SAP_AbapRun"); jccall.setJobDefinition(jDefinitionStep); jccall.setSequenceNumber(Long.valueOf(0)); JobChainCallInExpressionParameter jcciep = jccall.createJobChainCallInExpressionParameter(); jcciep.setLocalJobDefinitionParameter(jDefinitionStep.getJobDefinitionParameterByName(" SAP_SYSTEMS"));; jcciep.setExpression(" XXX"); 队列队列= jcsSession.getQueueByName(partition," System"); JobChainCallSchedulingParameter jccsp = jccall.createJobChainCallSchedulingParameter(); jccsp.setName(SchedulingParameterName.Queue); jccsp.setExpression(queue.getBusinessKey()。getPath()。toString())jcsSession.persist();
最多设置5个标签!
你好,
我尝试执行一个脚本来一步创建链。 它的工作。 但是我需要创建多个步骤。 您能帮上忙吗?
定义= jcsSession.createJobDefinition(); jDefinition.setName(jdName); jDefinition.setJobDefinitionType(jcsSession.getJobDefinitionTypeByName(JobDefinitionType.JOB_CHAIN)); jDefinition.setPartition(partition); JobChain jchain = jcsSession.createJobChain(); jchain.setJobDefinition(jDefinition); JobChainStep jcstep = jchain.createJobChainStep(); jcstep.setSequenceNumber(Long.valueOf(0)); jcstep.setName(stepName); JobChainCall jccall = jcstep.createJobChainCall(); JobDefinition jDefinitionStep = jcsSession.getJobDefinitionByName(" SAP_AbapRun"); jccall.setJobDefinition(jDefinitionStep); jccall.setSequenceNumber(Long.valueOf(0)); JobChainCallInExpressionParameter jcciep = jccall.createJobChainCallInExpressionParameter(); jcciep.setLocalJobDefinitionParameter(jDefinitionStep.getJobDefinitionParameterByName(" SAP_SYSTEMS"));; jcciep.setExpression(" XXX"); JobDefinition jDefinitionStep = jcsSession.getJobDefinitionByName(" SAP_AbapRun"); jccall.setJobDefinition(jDefinitionStep); jccall.setSequenceNumber(Long.valueOf(0)); JobChainCallInExpressionParameter jcciep = jccall.createJobChainCallInExpressionParameter(); jcciep.setLocalJobDefinitionParameter(jDefinitionStep.getJobDefinitionParameterByName(" SAP_SYSTEMS"));; jcciep.setExpression(" XXX"); 队列队列= jcsSession.getQueueByName(partition," System"); JobChainCallSchedulingParameter jccsp = jccall.createJobChainCallSchedulingParameter(); jccsp.setName(SchedulingParameterName.Queue); jccsp.setExpression(queue.getBusinessKey()。getPath()。toString())jcsSession.persist();
一周热门 更多>