cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Date change in migo for certain movement.

former_member797394
Participant
0 Kudos

Hello experts,

I need to disable Document Date and Posting Date field for change, when 201 movement is chosen. Is there a way to do this? If yes, how and where I need to do this?

I hope for your understanding.

View Entire Topic
Neeraj_Jain
Active Contributor
0 Kudos

Hello Khasan Yusupkhujaev,

You can make use of the following BADI. Might be it's helpful to you.

BADI Interface : IF_EX_MB_MIGO_BADI

BADI Definition Name : MB_MIGO_BADI

Method Name is : STATUS_AND_HEADER

Parameter that holds the Header structure is : IS_GOHEAD TYPE GOHEAD.

Please confirm if it works for you.

Regards,

Neeraj Jain

former_member797394
Participant
0 Kudos

Could you please an example code, please, since I am not very much familiar with BADI implementation, yet.

I hope for your understanding.

Neeraj_Jain
Active Contributor
0 Kudos

Please check with your ABAP Consultant. It will work.