2013 Oct 23 2:36 PM
Hi All,
i looked for a BAdI/User Exit useful to hide infotype tabs in PPOME/PPOSE according some data that i have to evaluate on time, but seems ther's nothing useful to do it...
Debugging the code i have seen that in function module RH_OM_GET_TABTYPES there is this part of code
* exit!!! "CAMPUS Management IBS Public Sector
IF NOT dm_exit_fm IS INITIAL.
CALL FUNCTION dm_exit_fm
EXPORTING
scenario = scenario
object = object
TABLES
tabtypes = tabtypes
EXCEPTIONS
OTHERS = 0.
ENDIF.
it is just what i need but the problem is that there is a routine to set the variable dm_exit_fm never called
FORM omdetailmanager_set_exit_fm USING exit_fm TYPE funcname. "#EC CALLED
* set name of exit function module
CLEAR dm_exit_fm.
dm_exit_fm = exit_fm.
ENDFORM. "omdetailmanager_set_exit_fm
however if it was called, there should be a place where i can say the name of my function module to call...
Do you have some suggestions that help me to solve this problem?
Thanks a lot
KR
Massi
Hi All,
i looked for a BAdI/User Exit useful to hide infotype tabs in PPOME/PPOSE according some data that i have to evaluate on time, but seems ther's nothing useful to do it...
Debugging the code i have seen that in function module RH_OM_GET_TABTYPES there is this part of code
* exit!!! "CAMPUS Management IBS Public Sector
IF NOT dm_exit_fm IS INITIAL.
CALL FUNCTION dm_exit_fm
EXPORTING
scenario = scenario
object = object
TABLES
tabtypes = tabtypes
EXCEPTIONS
OTHERS = 0.
ENDIF.
it is just what i need but the problem is that there is a routine to set the variable dm_exit_fm never called
FORM omdetailmanager_set_exit_fm USING exit_fm TYPE funcname. "#EC CALLED
* set name of exit function module
CLEAR dm_exit_fm.
dm_exit_fm = exit_fm.
ENDFORM. "omdetailmanager_set_exit_fm
however if it was called, there should be a place where i can say the name of my function module to call...
Do you have some suggestions that help me to solve this problem?
Thanks a lot
KR
Massi
2013 Oct 23 2:51 PM
That doesn't look like a user exit to me.
Maybe you should try search for others?
Go to class CL_EXITHANDLER, Method GET_INSTANCE, then put a breakpoint after 'call method cl_exithandler=>get_class_name_by_interface' i.e. at line 28 'case sy-subrc'; then run your transaction again and you will get all of the user exits and badis available.
Hope this helps.
2013 Oct 23 3:13 PM
seems not:
http://scn.sap.com/thread/3308415
(they are not doing exactly same as you, but the same applies)
2013 Oct 24 10:54 AM
Hi,
thanks for the answers but unfortunately they are not suitable for my problem.
I have already tried to ses all the badi called when i run PPOME (also with the method you mentioned) but seems that none of them allow me to do what i need.
The link you sent me it's not a similar problem because we were able to add our infotype custom and it works fine but we need it appears just for some type of employees and in particular condition...
(i don't understand why they put that part of code that is perfect for my requirement and after it is impossible to acces in)
Thanks a lot
Massi