Workflow: step specific tab
I need to display two tables in a work item and to handle that I have created a custom screen. I am calling my screen in Work Item Display tab in workflow. Now when is use the demo screen provided by SAP (program SAPLSWL0 and screen 0100) it works fine. It shows an empty screen because data is not available but it at least shows a blank screen. I have coped that screen into a custom program and screen as a starting point. When I provide this custom program and screen number I get a short dump when trying to display the work item. I get below exceptions:
I don't know why I am getting this dump because I am using SAP code and it works if I provide SAP program and screen. Can anyone provide example of how to add a custom tab in work item display? Has anyone encountered similar issue while adding a custom tab in work item? Any help would be appreciated.