on 2024 Oct 28 5:24 AM
Hi Exparts,
I am currently testing running jobs via API on S/4HANA Cloud Public Edition.
I can run the jobs successfully, but I don't know how to get the results.
I tried several APIs that are supposed to return results, but the return value does not change whether the job log status is success or error.
Is there any way to get information related to the job log?
Ideally, I would like to obtain the Log Status that is displayed as shown below.
The APIs I tried are as follows:
Schedule an Application Job
https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/719bbb943fc84cd884fa889d...
⇒Although JobStatus and ReturnCode appear to indicate the result, the values do not change depending on the log status.
Read Application Job Status
https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/66cfe7da5a28422b9d05adc4...
⇒Although JobStatus and ReturnCode appear to indicate the result, the values do not change depending on the log status.
Read Detailed Job and Step Information
https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/01ff6d4fa9c84f3788e5c057...
⇒It appears that JobStatus, JobAppRC, StepStatus and StepAppRC are related to the result, but the values do not change depending on the log status.
Best Regards,
Megumi Inoue
Request clarification before answering.
I solved this issue myself.
We can get more detailed data by using the following API.
Read an Application Job Without Parameters
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
30 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.