Skip to Content

This weblog provides source code for creating custom develop road map (as shown below) with parent node and child node highlighting the navigation of the page in a process dynamically.


I have used MVC architecture to create the same. (We can also create it as a BSP Extension Element)

Created a Model class ZCLS_ROAD_MAP_CONTROL_MD with super class CL_BSP_MODEL
And declared the attribute G_PHTMLB_ROADMAPITEMS of type PHTMLB_ROADMAPITEMS


Created a method GET_ROAD_MAP_DATA in the Modal class and called in the interface IF_BPS_MODEL~INIT


In the method GET_ROAD_MAP_DATA internal table was filled in with values (as an example I have hard coded the values as below )

Created the controller and controller class ZCLS_ROAD_MAP_CONTROL and declared the attribute MODEL and VIEW_NAME


In DO_INIT method of controller class the following code was written

In DO_REQUEST method of controller class the following code was written

View was created named as ROADMAP.HTM and declared the variables













To report this post you need to login first.


You must be Logged on to comment or reply to a post.

Leave a Reply