Role of BADI in BPC
Hello Gurus, Where exactly does BADI come into picture in BPC? From reading the description of BADI, it seems like its similiar to what ABAP does. so what would be the difference between the two?
Rich Heilman replied
> And the role of BADI in BPC is, In NW platform of BPC all the functionalities like, adding any BPC object, Processing etc are implemented using BADI.
> In BPC for NW we have two stacks, Java and ABAP stack. Java Stack is nothing but the one used in providing the user interface like the status update when you process a dimension etc.
> ABAP stack is mainly for getting the task to be performed from .Net Server through Java Stack and trigger the process(Function Module) accordingly in NW system.
Actually, that's not right at all. BAdIs are NOT responsible for all functionalites in BPC. BAdIs are object oriented version of user exits, or customer exits. The definitions and hooks are placed specific at certain points in the product, so that you can implenment your own code at those points. They are not predefined packages of code, they do NOT even contain code untill you implement them. We only supply the definition, and the actual call to the BAdI in the main codeline. You then implement the BAdI, insert your own code, and this code is executed at the correct time.
Also, in BPC NW, we do not even use the java stack for anything. It is not responsible for the user inteface at all. The user interface for BPC is written in VBA which makes web service calls to the .net server, which then makes RFC calls to the ABAP tier.