Ansicht
Dokumentation

/BUILD/EXECUTE - Execute the build framework

/BUILD/EXECUTE - Execute the build framework

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can start remotely the build framework in your system.

With the framework you can start different actions in your system.

Mandatory importing fields are:

  • PHASE input depends on the values in the Build Script of the development package
  • Provide one of the following values:
  • TRKORR if you want to start based on a transport

  • SWC if you want to start for a complete software component

  • PACKAGES if you want to start based on a list of development packages

Optional importing fields are:

  • RUNTIME_VALUES depending on the plug-ins which are used some could require an input from the pipeline. These values can be given with this table
  • ASYNCHRONOUS
  • If X (default), then the build is only started (if possible) and you get the build id with and state back. You need to check for the final state with a separate function module

  • If space, then the build is performed, and you get the build id with state back. This time the final build state is returned. With a separate function module, you can then extract the build information

  • AS_JOB_ASYNC
  • If space (default), see ASYNCHRONOUS modes

  • If X, will schedule a job (visible in SM37) to start the build. You get the build id with state back. You need to check for the final state with a separate function module

BUILD_ID is returned if the build was accepted and started. With other function modules you can then check if the build end.

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

Example

Notes

Please note, the framework only works if some preconditions are met. Like the build script is available for the corresponding development packages. Further depending on the action, you want to perform some runtime values are needed. For an overview of the available plug-ins and their configuration please check the report /BUILD/PLUGIN_OVERVIEW

Further information





Parameters

ASYNCHRONOUS
AS_JOB_ASYNC
BUILD_ID
BUILD_SCRIPT
EXCEPTION_MESSAGE
OBJECTS
PACKAGES
PHASE
RUNTIME_VALUES
SWC
TRKORR

Exceptions

Function Group

LD/SAPLCORE_API

ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3164 Date: 20240419 Time: 033952     sap01-206 ( 46 ms )