Introduction: 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.
ABAP PARTLets start with ABAP part. The following steps will show you how to create an RFC that returns all the items of a BOM
Step 1: Create an structure ZITEMS that has following fields.
Step 2: Create an RFC function module "Z_EXPLODE_BOMS" that has following parameters.
Step3:
Add the following code to your function module. Generate and activate your function module.