To define the behavior of a sales order business object at runtime, we need to add a corresponding action entity to the generated business object. For our sample scenario, we are going to create an action SET_TO_PAID to change the status of the sales order item to PAID after a buyer pays for a product provided by a seller.
The BOPF framework assigns the new action to the business object node and creates an action class that implements the BOPF action interface /BOBF/IF_FRW_ACTION.