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: 

Screen exit in badi FTR_CUSTOMER_EXTENT for tcode FTR_EDIT

Former Member
0 Kudos

Hi,

I need to add new tab to standard screen interest rate instrument (SAP t-code FTR_EDIT). In the new tab i need to add input parameter to save customised field in table vtbfha. I'm using SAP ECC6.

When searching for any user exit or badi, i found out badi FTR_CUSTOMER_EXTENT. There is no sample code that i can refer to.

I've looked at that BaDi and there is an option to add FCodes and Subscreen.

Is there possiblities that we can add new tab and input parameter to the standard screen.

How can i proceed from there.

Kindly help.

Thanks,

Biah

How

1 REPLY 1

Former Member
0 Kudos

Hi,

Yes definitely you can add tab (screen enhancement) to the existing screen. The all you need to do is create implementation for that badi (FTR_CUSTOMER_EXTENT).

First create screen '9000' using function group or program.

In method EVT_APPLICATION_START there is changing parameter 'PC_TAB_BADI_TABS'.

Now in this method write down the code as:

DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.

         

     LS_BADI_TABS-REPID    = 'Program Name'.

     LS_BADI_TABS-TEXT_TAB = 'New Tab'.  "Text (max. 30 CHAR) to display

      LS_BADI_TABS-DYNNR    = '9000'. "Subscreen

     MODIFY PC_TAB_BADI_TABS  FROM LS_BADI_TABS

        TRANSPORTING REPID DYNNR TEXT_TAB

         WHERE  FCODE = 'OPEN_TRTM_CUST_01'.

Hope it works. <removed by moderator>

Thanks

Vishvesh

Message was edited by: Thomas Zloch