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: 

FTR_CREATE enhancement ..for additional tab

Former Member
0 Kudos

Hello Gurus,

I have a requirement to create additional tab in FTR_CREATE transaction. Can you people please help me how to find out correct BADI, because when i search  confusing to find the correct one. Please help me how to code that BADI like how to write coding in interface to implement that BADI. There will be a standard table where the data will be stored, how to find out that table. These things is ther any easy or defined way.

Thanks & Regards..

1 ACCEPTED SOLUTION

thanga_prakash
Active Contributor
0 Kudos

Hello,

Try with below BADI.

With the BADI FTR_CUSTOMER_EXTEND you can create two additional tabs.

You can define custom fields in the appends to the table VTBFHA.

You can program your BAdI implementation for your custom fields to appear in the custom tabs.

In the function group FTR_CUSTOM_BADI_SAMPLE (transaction code SE80) you can find an example of implementation provided by SAP.

If you check in the above function group, there are sample subscreens designed.

May be you can refer to it and try the same.

Regards,

Thanga

4 REPLIES 4

thanga_prakash
Active Contributor
0 Kudos

Hello,

Try with below BADI.

With the BADI FTR_CUSTOMER_EXTEND you can create two additional tabs.

You can define custom fields in the appends to the table VTBFHA.

You can program your BAdI implementation for your custom fields to appear in the custom tabs.

In the function group FTR_CUSTOM_BADI_SAMPLE (transaction code SE80) you can find an example of implementation provided by SAP.

If you check in the above function group, there are sample subscreens designed.

May be you can refer to it and try the same.

Regards,

Thanga

0 Kudos

Hello bro thanks,

Two portions of my doubt, like one is How to find Enhancement and Table to append and another is how to code to get desired output.

One of the above two you explained that coding help can be from FTR_CUSTOM_BADI_SAMPLE , thanks alot.

Another one is, bro how you found out that  the particular BADI FTR_CUSTOMER_EXTEND is need to be used for that particular transaction and even that particular Table VTBFHA can be used.

Thanks bro for  your time and concern, please may i know the other part  asap.

Thanks & Regards,

0 Kudos

Hello Bro,

I guess there is a spelling mistake in the badi name it is FTR_CUSTOMER_EXTENT.

Also the steps on which I found the BADI is as below.

For User Exit's

goto to tcode->status->program name->double click on that,

then goto to-> attribute take the package name and

Goto SMOD tcode ->Utilities->give the package name and F8

then a list of exits will displkay for that tcode as well as that package.

For BADI's,

1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE

keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'

then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.

2)Goto to tcode->status->program name->double click on that program will display's

then  press crtl+F then cl_exithandler

Also there are lot of ways to find it apart from this.

Regards,

Thanga

0 Kudos

Thanks bro for your reply,

What i understood is .. using CL_EXITHANDLER keeping break point we can find the badi, through

by checking value of EXIT_NAME, so is there any easy way that we can decide the particular badi is correct one or we need to go through documentation of all the badi values coming in EXIT_NAME.

To find out the table where we need to append the only way is to go through documentation or any easy way.