05-30-2017 12:28 PM
Dear Team,
I have added a custom tab in sales order item and the screen is triggering perfectly. I have verified my development with the below link, It is exactly same.
I have an issue - sometimes the custom screens calls in 'Sales A' standard tab of the item. My custom screen overwrites the standard Sales A tab, if I entered into the another tab and comes to the Sales A tab then it refreshed with standard tab. I have kept a condition in the BADI_SLS_ITEM_SCR_CUS method IF_EX_SLS_ITEM_SCR_CUS~ACTIVATE_TAB_PAGE to call the custom tab only for few items. But sometimes when I checked randomly the tab is not appearing in non relevant item and if click on the tab button it is going to dump. As per my understanding I guess as a additional steps in order to control the screen sequence in effective manner we need to maintain T180(tcode-VFBS) table with the function codes.
It would be great if someone can throw some light on this how to fix this issues please. Thanks!
Abdul