08-18-2014 10:13 AM
Dear all,
I have implemented ZBADI_SLS_HEAD_SCR_CUS_B in order to create new tabs in the sales order transaction. This has worked like a charm. (thanks to http://scn.sap.com/community/abap/switching-enhancing-and-adapting-standard-programs/blog/2013/12/12...)
However as we have a lot of extra fields .. I was wondering if it was possible to extend this and have more than the 5 extra tabs.
Using a repair to change the following constants did not help.
CONSTANTS: cv_badi_max_tabs_cus TYPE i VALUE '5',
cv_badi_max_tabs_int TYPE i VALUE '5'.
Regards
08-18-2014 2:39 PM
I got up to 9 tabs in the header...
So what you need to do is :
1) http://scn.sap.com/community/abap/switching-enhancing-and-adapting-standard-programs/blog/2013/12/12...)
2) add more then the 5 tabs in activate_tab_page
3) repair MV45ATOP and adapt cv_badi_max_tabs_cus to the number you need
4) with transaction VFBS you need to add the necessary entries to: (the error messages in the sales transaction will guide you)
- T185V
- T185F
- T185
And there you go.
08-18-2014 11:56 AM
Hi Koenraad,
Thanks for your kind words towards my blog
Regarding your question,
Yes SAP allows adding upto 5 tabs.
Regards,
Satish
08-18-2014 12:00 PM
I think appending 5 different entries to CT_CUS_ITEM_TAB from LS_ITEM_SCR will help you achieving your requirement.
regards,
Satish
08-18-2014 12:06 PM
Satish,
I know... but I need more then 5 :-). I want moreeeeeeeeeeeeeeeeeeee...
A next step seems to be adding entries to table TAXITABS. Now I have more then 5 tabs.. however the screens past 5 don't work.
I get an error msg "Requested function K_CUS_BADI_6 is not available here".
Keep on searching
08-18-2014 12:15 PM
Ok, but SAP allows only upto 5 tabs as per my knowledge. If You come with the solution, Please let us know
regards,
Satish
08-18-2014 1:31 PM
I'm on to something but it involves adding many entries in the screen flow control (VFBS)
08-18-2014 2:39 PM
I got up to 9 tabs in the header...
So what you need to do is :
1) http://scn.sap.com/community/abap/switching-enhancing-and-adapting-standard-programs/blog/2013/12/12...)
2) add more then the 5 tabs in activate_tab_page
3) repair MV45ATOP and adapt cv_badi_max_tabs_cus to the number you need
4) with transaction VFBS you need to add the necessary entries to: (the error messages in the sales transaction will guide you)
- T185V
- T185F
- T185
And there you go.
10-21-2014 1:06 PM
Also use VFBS to fill in the missing entries in TAXITABS table.