‎2008 Apr 14 8:27 PM
Hello,
How can we access the screen data in MIGO while implementing an
enhancement using BADI.
Version used: SAP Enterprise (CIN)
‎2008 Apr 15 5:25 PM
Hi,
according to this BADI documentation, this BADI overwrites standard SAP
authority checks,
If I understand the documentation correctly, the proper way to implementthis
BADI is to create an implementation class that inherits from class
CL_HRPAD00AUTH_CHECK_STD, and just to redefine the specific methods thatyou
need to change (you should also call SUPER-><method name> if you do notwant
to loose the original functionality).
When the implementation is empty, like you did, the returning field
IS_AUTHORIZED will always be SPACE, so the authority check will alwaysfail.
‎2008 Apr 15 5:32 AM
Hi Neelam,
Proceed as follows to see the Custom exits available for MIGO.
1. Execute the TCode SMOD
2. Place the cursor Enhancement input field and enter MBCF0005
3. Select the option Components and press Display
4. You'll see two Function Module exits available
5. Now implement one of these exits using the TCode CMOD.
If you are specific with BAdi then use the followiing two BAdi's and see.
(a) MB_MIGO_BADI and (b) MB_MIGO_ITEM_BADI
Hope that this will help you out to achieve your requirement. Reward accordingly.
Thanks and Regards,
Maddineni Bharath.
‎2008 Apr 15 5:25 PM
Hi,
according to this BADI documentation, this BADI overwrites standard SAP
authority checks,
If I understand the documentation correctly, the proper way to implementthis
BADI is to create an implementation class that inherits from class
CL_HRPAD00AUTH_CHECK_STD, and just to redefine the specific methods thatyou
need to change (you should also call SUPER-><method name> if you do notwant
to loose the original functionality).
When the implementation is empty, like you did, the returning field
IS_AUTHORIZED will always be SPACE, so the authority check will alwaysfail.