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

problem with background job

Former Member
0 Likes
536

Hi Experts,

There is one background job which runs everyday and check with the enddate of order and picks it if it is same with the program run date and extends the enddate by one month and increases the price accordingly. But sometimes it is not picking some material though the enddate is same with the program run date.For one order it has picked and changed the enddate but it did not change the price.I have checked in sm37 .I did not get any error message also.

When i am running the program manually it is working fine.

Please suggest me regarding the above.

Thanks,

Trupti.

Hi Experts,

There is one background job which runs everyday and check with the enddate of order and picks it if it is same with the program run date and extends the enddate by one month and increases the price accordingly. But sometimes it is not picking some material though the enddate is same with the program run date.For one order it has picked and changed the enddate but it did not change the price.I have checked in sm37 .I did not get any error message also.

When i am running the program manually it is working fine.

Please suggest me regarding the above.

Thanks,

Trupti.

3 REPLIES 3
Read only

Former Member
0 Likes
505

You must ensure in your batch-input that the selection is correct. Check the cursor position in the bdcdata. And check also that the treatment doesn't take into account everytime the same line.

Christophe

Read only

0 Likes
505

Hi Christophe,

Thanks for your quick reply. Actually it is a simple report program which is running in background. in the variants we are giving some materials as input. In the report program it is picking those order having the same material and whose end date is same as the program running date .Then it is extending the enddate and increasing the price.

Could you please suggest me regarding this.

Thanks,

Trupti.

Read only

Former Member
0 Likes
505

Hi,

What method are you using to update tha date and increase the price.

If the updation is done within a loop, then proper use of COMMIT WORK should be done.

Regards,

Himanshu