2007 Dec 03 12:13 AM
Hi,
I need to add custom fields to transaction FM_FUNCTION. I have been unable to find any user exits or badi. Does anyone know how I may go about making changes to this transaction?
Thanks in advance,
M
2007 Dec 03 12:39 AM
Hello,
If there is no user-exit available, you have two options.
First option is to enhanace table TFKB with an append structure containing the field that you need then register standard object <b>R3TR/ FUGR/ 0FMP_ADD_ON</b> via SSCR so that you can modify the Table Maintenance screen of View V_FM_TFKB to add your changes in.
The other option is a bit of a workaround from the user's perspective -> First enhance table TFKB with an append structure containing the field that you need (same as above). Then copy the standard Maintenance View V_FM_TFKB to, say, ZV_FM_TFKB. Now generate Table Maintenance Dialog for ZV_FM_TFKB in your customer Function Group range - modify generated screen if you have to (look & feel). Now either copy parameter transaction FM_FUNCTION to ZFM_FUNCTION and change the value of VIEWNAME to ZV_FM_TFKB via SE93 <b><u>or</u></b> change standard transaction FM_FUNCTION directly with field VIEWNAME value to ZV_FM_TFKB so that this always points to your new View with the enhancements you've added. Please make sure/discuss with users if you are changing values of standard transaction as it might impact business if someone's using the standard transaction and wants to see the standard screen.
Good luck and don't forget to reward points.
Cheers,
Sougata.
Message was edited by:
Sougata Chatterjee
Hi,
I need to add custom fields to transaction FM_FUNCTION. I have been unable to find any user exits or badi. Does anyone know how I may go about making changes to this transaction?
Thanks in advance,
M
2007 Dec 03 12:39 AM
Hello,
If there is no user-exit available, you have two options.
First option is to enhanace table TFKB with an append structure containing the field that you need then register standard object <b>R3TR/ FUGR/ 0FMP_ADD_ON</b> via SSCR so that you can modify the Table Maintenance screen of View V_FM_TFKB to add your changes in.
The other option is a bit of a workaround from the user's perspective -> First enhance table TFKB with an append structure containing the field that you need (same as above). Then copy the standard Maintenance View V_FM_TFKB to, say, ZV_FM_TFKB. Now generate Table Maintenance Dialog for ZV_FM_TFKB in your customer Function Group range - modify generated screen if you have to (look & feel). Now either copy parameter transaction FM_FUNCTION to ZFM_FUNCTION and change the value of VIEWNAME to ZV_FM_TFKB via SE93 <b><u>or</u></b> change standard transaction FM_FUNCTION directly with field VIEWNAME value to ZV_FM_TFKB so that this always points to your new View with the enhancements you've added. Please make sure/discuss with users if you are changing values of standard transaction as it might impact business if someone's using the standard transaction and wants to see the standard screen.
Good luck and don't forget to reward points.
Cheers,
Sougata.
Message was edited by:
Sougata Chatterjee
2007 Dec 03 12:57 AM
Thanks for replying. I have been able to add my custom field to TFKB, but since no user-exit is available, I am unable to modify the transaction screen, so I may pass values to and from the table.
The second option you mentioned is not allowed, they do not want to create a Z copy of the FM_FUNCTION transaction.
Best Regards,
Marcia
2007 Dec 03 2:22 AM
If they don't want to create a Z copy of the FM_FUNCTION transaction then the <u>only</u> way to achieve this would be to register the object <b>R3TR/ FUGR/ 0FMP_ADD_ON</b> in SSCR and then modify its Table Maintenance screen to be able to "see" the values you passed via the append structure in table TFKB i.e. as per option 1 in my previous post.
Cheers,
Sougata.
<b>How about rewarding points for my contribution??</b>
Message was edited by:
Sougata Chatterjee
2007 Dec 03 3:42 PM
Table maintenance (SM30) alerted me that V_FM_TFKB is obsolete. I will have to continue searching for another way.
Best Regards,
M
2011 Nov 14 4:53 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |