/AWS1/IF_PIP=>PUTJOBFAILURERESULT()¶
About PutJobFailureResult¶
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
Method Signature¶
METHODS /AWS1/IF_PIP~PUTJOBFAILURERESULT
IMPORTING
!IV_JOBID TYPE /AWS1/PIPJOBID OPTIONAL
!IO_FAILUREDETAILS TYPE REF TO /AWS1/CL_PIPFAILUREDETAILS OPTIONAL
RAISING
/AWS1/CX_PIPINVALIDJOBSTATEEX
/AWS1/CX_PIPJOBNOTFOUNDEX
/AWS1/CX_PIPVALIDATIONEX
/AWS1/CX_PIPCLIENTEXC
/AWS1/CX_PIPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_jobid TYPE /AWS1/PIPJOBID /AWS1/PIPJOBID¶
The unique system-generated ID of the job that failed. This is the same ID returned from
PollForJobs.
io_failuredetails TYPE REF TO /AWS1/CL_PIPFAILUREDETAILS /AWS1/CL_PIPFAILUREDETAILS¶
The details about the failure of a job.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->putjobfailureresult(
io_failuredetails = new /aws1/cl_pipfailuredetails(
iv_externalexecutionid = |string|
iv_message = |string|
iv_type = |string|
)
iv_jobid = |string|
).