I need to define a subscreen which needs to be called conditionally from main screen (Based on the button in Mainscreen subscreen needs to be called).. How do I handle that? Can somebody provide a sample code logic.. When i try to display subscreen unconditionally, I get 'Enter transaction code' message.
Main screen
Matnr
subscreen
Material details