Application Development 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: 

How can I run a batch input thru a JOB

willydo15
Member
0 Kudos

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

matt
Active Contributor

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.

former_member186746
Active Contributor

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

srikanthnalluri
Active Participant
0 Kudos

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