[BOR] Bussiness Object Repository
The Business Object Repository (BOR) is the object-oriented repository in the R/3 System. It contains the SAP business object types and SAP interface types as well as their components, such as methods, attributes and events.
well, first things first, you need to make an BOR, in order to get any work around of workflow, simply just go to tcode 'SWO1' and hit enter.
from the above picture we know 5 elements of BOR, which is :
- Key Fields
this is needed to Arranges the various interfaces in accordance with the component hierarchy, enabling functions to be searched and retrieved quickly and simply.
this is need to run the entire bor, this bor needs an input to get all the data but not run the method yet.
this one function is using the Key Fields before to get specific data needed in the method.
like an Function Module but this method stores locally inside BOR, and can not be called globally.
Contain any event needed to call this bor, for example, if i want to using this bor on my workflow, i need to call this event i listed inside my bor. so that bor and workflow can run simultaneouly.
And Here's my BOR Code