在"变量"参数中未传递任何值时,JOB_SUBMIT中发生错误

2020-08-26 17:12发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)专家,我在JOB_SUBMIT中...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


专家,我在JOB_SUBMIT中出错"。

当我在VARIANT参数中传递变量名称时,将创建作业,但是当我未在VARIANT参数中传递值时,则获取" INVALID_JOBDATA"。

根据要求,可以创建一些背景报告而不会产生变化。

调用功能'JOB_SUBMIT'
导出
AUTHCKNAM = LD_AUTHCKNAM
JOBCOUNT = LD_JOBCOUNT
JOBNAME = LD_JOBNAME
REPORT = LD_REPORT
VARIANT = LD_VARIANT
进口
= LD_STEP_NUMBER
例外
BAD_PRIPARAMS = 1 BAD_XPGFLAGS = 2 JOBNAME_MISSING = 4
JOB_NOTEX = 5
JOB_SUBMIT_FAILED = 6
LOCK_FAILED = 7 > PROGRAM_MISSING = 8
PROG_ABAP_AND_EXTPG_SET = 9
OTHERS = 10。

--------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -

"错误:INVALID_JOBDATA"

呼叫功能'JOB_SUBMIT'
导出
AUTHCKNAM = LD_AUTHCKNAM
JOBCOUNT = LD_JOBCOUNT
JOBNAME = LD_JOBNAME
REPORT = LD_REPORT
IMPORTING
STEP_NUMBER = LD_STEP_NUMBER <
BAD_PRIPARAMS = 1
BAD_XPGFLAGS = 2
INVALID_JOBDATA = 3
JOBNAME_MISSING = 4
JOB_NOTEX = 5
JOB_SUBMIT_FAILED = 6
LOCK_FAILED = 7
程序丢失= 8
> PROG_ABAP_AND_EXTPG_SET = 9

其他= 10。