Ansicht
Dokumentation

/BUILD/GET_BUILD - Returns the information of the given build id

/BUILD/GET_BUILD - Returns the information of the given build id

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module returns you the information of a given BUILD_ID. You have to check the BUILD_RUN_STATE if it is finished. Only then you can ensure the whole build is done or failed. You need to retry it some time.

Further we recommend calling the module during the poll of the BUILD_RUN_STATE only with this one value. If it is finished, you can call it again and request the further exporting values. The values are only returned and calculated if you request them. If they are not needed during the poll, then you can save performance by requesting only BUILD_RUN_STATE.

The module is returning the BUILD_RUN_STATE (overall status of the build process) and the BUILD_RESULT_STATE (the highest status of the performed ABAP plug-in classes)

Possible BUILD_RUN_STATEs are:

  • INITIALIZING
  • ACCEPTED
  • RUNNING
  • FINISHED
  • FAILED

Possible BUILD_RESULT_STATEs are:

  • SUCCESSFUL
  • WARNING
  • ERRONEOUS
  • ABORTED

Further the RUNTIME_VALUES of a build are also returned. The runtime values can be given as starting values for the build framework but also generated during the execution of the different tasks.

The logs of each build task are also returned. The build has a TASK 0 which contains the overview of the build run and the list of executed tasks. A task execution is synonymous to the execution of a ABAP build plug-in. The response of this function module is the result of each task for the given BUILD_ID

During the build also artefacts (files) could be created from the process and be returned for further usage. This depends on the plug-ins which are performed during the build phase. The list of results you can find in TASK_RESULTS. With another function module you can load the file.

When the module ends with return code 0 but you did not get a response then please also check the EXCEPTION_MESSAGE. We did not raise an exception to provide you the message via RFC.

Example

Notes

Further information





Parameters

BUILD_ID
BUILD_RESULT_STATE
BUILD_RUN_STATE
EXCEPTION_MESSAGE
RUNTIME_VALUES
TASK_LOGS
TASK_RESULTS

Exceptions

Function Group

LD/SAPLCORE_API

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2761 Date: 20240329 Time: 073046     sap01-206 ( 61 ms )