Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order item custom tab triggering issue

0 Kudos

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.

https://blogs.sap.com/2013/12/12/adding-extra-tabs-in-standard-transactions-for-sales-and-contracts-...

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

0 REPLIES 0