Enable Your Process Chains to React to Outcomes of ABAP Programs

  • by David Eady, Reporting Team Lead, SI Corporation
  • January 1, 2006
Process chains in BW have a built-in process type that allows you to execute ABAP programs. However, the process chain has no way of knowing whether the ABAP program succeeded or failed. You can create a custom process type that executes ABAP programs and returns a success or failure code to the process chain.
Key Concept
A process chain is a scheduled sequence of processes that BW executes in a specified order. A process type is the kind of process being executed, such as starting an InfoPackage to load data from one object to another, combining two different process chain parts in one depending on the outcome of one of the parts, or starting an ABAP program.

Process chains play a vital role in maintaining a BW system. Process types exist for most typical BW tasks, from loading data to deleting data target contents to rolling up aggregates. One type even calls ABAP programs. This offers a large degree of freedom and creativity when designing process chains because the BW administrator can incorporate very sophisticated logic in the ABAP programs. A drawback to the ABAP process type is that it does not return a success or failure notification to the process chain. This means that the process chain cannot make conditional logic choices based on the outcome of the ABAP program.

You can overcome this limitation by creating your own version of the ABAP process type that returns a success or failure indicator to the process chain. All you have to do is copy the existing ABAP process type and make a single configuration change to the copied process type. I’ll demonstrate the capability with the example of a data load that is conditional upon the date.

David Eady

David Eady is the reporting team lead of the SI Corporation MIS team headquartered in Chattanooga, TN. The reporting team is responsible for all aspects of SAP information delivery. David has been with SI Corporation for six years and has been involved with BW for the last four years. He has a BS degree in industrial engineering from Mercer University and lives with his wife and two daughters in the foothills of northwest Georgia.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.