Application Development and Automation 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: 
Read only

Badi

Former Member
0 Likes
483

Hello,

How can we access the screen data in MIGO while implementing an

enhancement using BADI.

Version used: SAP Enterprise (CIN)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
456

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.

2 REPLIES 2
Read only

Former Member
0 Likes
456

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.

Read only

Former Member
0 Likes
457

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.