Hello SriHari,
Do you mean you are interested in how to make 'Forward' a menu with items?
I set breakpoint in ICCMP_INBOX -> InboxItems.htm, there are statements:
controller->if_bsp_wd_dyn_btn_control~GET_LOCAL_TOOLBAR_BUTTONS
You can debug into method GET_LOCAL_TOOLBAR_BUTTONS, here we can see the gt_buttons. For 'FORWARD' it is type 'MORE'. In debugging mode, if I remove 'MORE', the 'forward' button will become a normal button.
For this entry, there is a column named 'ITEMS'. It contains internal table which is the items under 'FORWARD'.
Best Regards, Corrine