on ‎2019 Apr 05 9:54 PM
Hi,
I have written a class extending AbstractJobPerformable and marked its entry in xml file also. Job is not getting created in database until I run "essential data" during update.
In production I cannot run the essential data. Could you help me identify how the job get created via essential data so that i can run that part only.
Thanks
Request clarification before answering.
It is true that during the phase of essential data creation, for each Spring definition of a class implementing the JobPerformable interface, a ServicelayerJob instance gets created and the springId attribute of ServicelayerJob is set to reference the Spring bean. You can check my answer https://answers.sap.com/questions/12771553/what-is-difference-bw-job-and-abstractjobperformab.html?c...
However, you can do this by importing the following ImpEx and thus skipping the System update:
INSERT_UPDATE ServicelayerJob;code[unique=true];springId
;id-of-your-spring-bean;id-of-your-spring-bean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.