Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I run a batch input thru a JOB

willydo15
Newcomer
0 Kudos
814

Hi, please I need help,

I'm trying to run a batch input using a JOB.

After setting bdcdata I'm using:

call transaction 'ZVKM1' using bdcdata
mode ctumode
update cupdate
messages into messtab.

When I run the program manually, everything works fine (ctumode = N / cupdate = L )

But when I schedule a JOB using that program, It doesnt work, I've checked all fields that i'm sending and they are just the same as if I were doing it manually.

Please any idea? or is not possible?

Thanks.

3 REPLIES 3
Read only

matt
Active Contributor
411

It is possible to run a BTC job in background. Given that your transaction is a Z transaction, that's all anyone can say. You've clearly got some issue in your transaction.

Please consider that "doesn't work" gives absolutely no useful information whatsover.

Read only

former_member186746
Active Contributor
411

Hi,

Place an external break-point and figure out where your Z transaction behaves differently in the background.

Do you use the same user-id in the job? Sometimes user parameter-id's influence execution behaviour.

Kind regards, Rob Dielemans

Read only

srikanthnalluri
Active Participant
0 Kudos
411

Debug the job, it will help you to find why it is not working.

Debugging the back ground job. If the job ended in errors - (SM37->Extras->Debug job) or input the command JDBG

If the job running (for a while) - Debug using the SM51