07-13-2009 12:33 PM
Hi all,
I need to find either a user exit, customer exit or a BADI for the transaction FMX1 and FMX2, as need to grey out one of the field on the output screen when we execute these transactions.. So can you please help me how can I find that.
Thanks,
Rajeev
07-13-2009 12:40 PM
using transaction and screen variants
you can do it.
TCODE FOR TRANSACTION VARIANT IS SHD0
07-13-2009 12:39 PM
07-13-2009 12:39 PM
Hi Rajeev,
Create an ABAP program with the following code(click the first link). After that execute this program and enter T.Code for which you need to fin d tge User-Exit. In return you will get the list of User-exits applicable to that T.Code. Click on any entry and you will be directed to SMOD transaction. There select COMPONENTS radio button and click on DISPLAY. This will give you your User-Exits.
http://erpgenie.com/sap/abap/code/abap26.htm
For further knowledge visit the following links
http://abaplovers.blogspot.com/2008/02/finding-user-exits-in-sap.html
07-13-2009 12:40 PM
using transaction and screen variants
you can do it.
TCODE FOR TRANSACTION VARIANT IS SHD0
07-13-2009 12:45 PM
Thanks for the replt PBS.. but can you please explain me in detail how can I do it... as being an ABAPER i don't know much about it.
THanks,
Rajeev
07-13-2009 12:40 PM
Hi,
Finding Badi:
goto se24, see the class cl_exithandler
double click on method GET_INSTANCE
put a session breakpoint on CALL METHOD CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE (in this EXIT_NAME indicates the badi name)
now when u execute ur program or tcode, if there is any badi for this then it goes in debugging mode.
regards
Sajid
07-13-2009 12:42 PM
HI,
To find the exits.
Kindly do any of the follows:-
1. Get the package of the transactions FMX1 and FMX2 from SE93.
It is FMRE.
go to SMOD and do F4. Click on information system and put the package.
It will give you the list of exits available for the package
FMFR_AD1 Menu Exit for Earmarked Funds, Menu "Extras", +AD1
FMFR_AD2 Menu Exit for Earmarked Funds, Menu "Extras", +AD2
FMFR_AD3 Menu Exit for Earmarked Funds, Menu "Extras", +AD3
FMFR_AD4 Menu Exit for Earmarked Funds, Menu "Extras", +AD4
FMFR_AD5 Menu Exit for Earmarked Funds, Menu "Extras", +AD5
FMFR_AD6 Menu Exit for Earmarked Funds, Menu "Extras", +AD6
FMFR_DC1 Menu Exit for Earmarked Funds, Menu "Document", +DC1
FMFR_DC2 Menu Exit for Earmarked Funds, Menu "Document", +DC2
FMFR_DC3 Menu Exit for Earmarked Funds, Menu "Document", +DC3
FMFR_DC4 Menu Exit for Earmarked Funds, Menu "Document", +DC4
FMFR_ED1 Menu Exit for Earmarked Funds, Menu "Edit", +ED1
FMFR_ED2 Menu Exit for Earmarked Funds, Menu "Edit", +ED2
FMFR_ED3 Menu Exit for Earmarked Funds, Menu "Edit", +ED3
FMFR_ED4 Menu Exit for Earmarked Funds, Menu "Edit", +ED4
FMFR_EV1 Menu Exit for Earmarked Funds, Menu "Environment", +EV1
FMFR_EV2 Menu Exit for Earmarked Funds, Menu "Environment", +EV2
FMFR_EV3 Menuexit for Earmarked Funds, Menu 'Environment', +ev3
FMFR_EV4 Menuexit for Earmarked Funds, Menu 'Environment', +ev4
FMFR_JP1 Menuexit for Earmarked Funds, Menu 'Goto', +jp1
FMFR_JP2 Menuexit for Earmarked Funds, Menu 'Goto', +jp2
FMFR_JP3 Menuexit for Earmarked Funds, Menu 'Goto', +jp3
FMFR_JP4 Menu Exit for Earmarked Funds, Menu "Goto", +JP4
FMRESERV Management of Earmarked Funds (Reservations,...)
FMRS_DC1 Menu Exit for Value Adjust., Menu "Value Adjustment", +
FMRS_DC2 Menu Exit for Value Adjust., Menu "Value Adjustment", +
FMRS_ED1 Menu for Value Adjustments, Menu "Edit", +ED1
FMRS_ED2 Menu for Value Adjustments, Menu "Edit", +ED2
FMRS_EV1 Menu Exit for Value Adjustments, Menu "Environment", +E
FMRS_EV2 Menu Exit for Value Adjustments, Menu "Environment", +E
FMRS_JP1 Menu Exit for Value Adjustments, Menu "Goto", +JP1
FMRS_JP2 Menu Exit for Value Adjustments, Menu "Goto", +JP2
RFFMBW00 Transfer of document number table determined externally
2. Go to SE80 and put the package FMRE.
Check for the enhancements in the ENHANCEMENT folder.
3. Go to SPRO and seach for the documentation for enhancements in Funds Management.
Regards,
Ankur Parab
07-13-2009 12:44 PM
Hi rajeev,
if you want to grey out one of the field on the output screen in any transaction.
You can do that from Transcation Varient which is used to hide the fields or display additioal fields in any transaction code.
Transaction code for tha same is - SHD0
you can get help about this transaction in SHD0 tcode help it self.
thanks & regards
Naresh
07-13-2009 12:51 PM
Hi Naresh,
Thanks for the reply... if I am not wrong if I use the transaction Variant.. then I will have to create a custom transaction for the standard one ryt? in my case it will be something like ZMX1 for FMX1.... but I am not sure if the business people will agree on this./...please suggest
Thanks,
Rajeev
07-14-2009 6:21 AM
Hi Rajeev,
No need to create a new transaction code for this.
when you enter into initial screen of SHD0 just enter your transaction code as FMX1 and give some screen variant name.
in every step it will show all screen elements and you can do disable it or mandatory or etc...
after that in final step when your saving the data it will ask for transport request.
here you don't need to define any new transaction code for the same.
you can carry one these changes with that transport request.
try to serach some documents about SHD0 def you will get solution for this.
Thanks & Regards
Naresh
07-15-2009 2:19 PM
Hi Naresh,
I tried everywhere and it's says that at the end we wil have to create a custom transaction. Can you please advise.
Thanks,
Rajeev
07-15-2009 3:04 PM
Hi Rajeev,
I will check once and let you know by tommarow about this.
Thanks & Regards
Naresh
07-15-2009 3:16 PM