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

job scheduling

Former Member
0 Likes
433

Dear All,

I have a requirement : During creation of material for say plant X, in the background in the user-exit , it should also add data for plant Y for the same material.

Since this user exit uses workarea of MARC (plant table ) I can take data for only one plant at a time.

For this,<b> I need to schedule updation of this Material some 60 secs later after this material is released from lock .</b>

Kindly suggest ways of achieving the same. I was trying <b>Job open, job submit</b> but then <b>passing of parameters</b> is not possible according to my analysis.

Rewards for helpful answers is sure!!

Regards,

Shweta

Dear All,

I have a requirement : During creation of material for say plant X, in the background in the user-exit , it should also add data for plant Y for the same material.

Since this user exit uses workarea of MARC (plant table ) I can take data for only one plant at a time.

For this,<b> I need to schedule updation of this Material some 60 secs later after this material is released from lock .</b>

Kindly suggest ways of achieving the same. I was trying <b>Job open, job submit</b> but then <b>passing of parameters</b> is not possible according to my analysis.

Rewards for helpful answers is sure!!

Regards,

Shweta

2 REPLIES 2
Read only

Former Member
0 Likes
414

Use

COMMIT WORK AND WAIT.

Or Use

WAIT UPTO 60 SECONDS.

Read only

0 Likes
414

Prashant,

This would stop the processing as a whole .But the requirement is to

a) <b>let the current material continue with its processing</b>

b) updation of plant level data to the same material happen after 60 secs or so that the material is not locked in creation mode.

eg :

Code of <b>user exit</b> called by MM01 or Material_maintain_dark :-

code for creation of material

schedule next 5 lines to run after X secs such that the<b> material is released from lock</b>

-


-


-


-


-


|

regards,

Shweta