In this weblog i am going to present ABAP & JAVA code to explode BOMs in a nice htmlb tree structure. This is a very good example of how an ABAP developer with JAVA skills could produce useful application that run in enterprise portal.
Lets start with ABAP part. The following steps will show you how to create an RFC that returns all the items of a BOM
Create an structure ZITEMS that has following fields.
Create an RFC function module “Z_EXPLODE_BOMS” that has following parameters.
Add the following code to your function module. Generate and activate your function module.