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

2020-08-26 17:12发布

         点击此处--->   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。

         点击此处--->   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。

付费偷看设置
发送
2条回答
粗暴的香蕉
1楼-- · 2020-08-26 18:09

您始终必须定义一个变体才能在SM36中创建作业

也许可以探索在后台启动报表时SAP如何创建临时变体

CJones
2楼-- · 2020-08-26 17:56

如果某个程序变体具有某些参数或选择选项,则它需要在后台运行程序。 最终按照Frederic的建议创建一个临时变量(使用SUBMIT ... VIA JOB ... WITH ...而不是调用功能模块JOB_SUBMIT)。

一周热门 更多>