‎2012 Apr 04 8:04 AM
Hello everyone,
My requirement is related to the batch field in MIGO.
When we run MIGO for goods receipt outbound delivery a batch is determined and displayed in the batch tab.
I need to disable i/p for batch field. i searched the forum for this but i guess setting batch in non-editable mode is not possible w/o the use of enhancement.
So i have decided to display an error message if the batch is changed.
I believe BADI MB_MIGO_BADI method LINE_MODIFY will suffice my requirement. Can someone help me figure out the right way to go about it.
Any help would be appreciated.
Regards,
Xineohpi.
‎2012 Apr 04 8:08 AM
Hi
I think this should be done by customization, So please ask your Functional Consultant to do this.
‎2012 Apr 04 8:23 AM
I checked that. However, this check can not be implemented for all scenarios. The check will be based on certain material types and other logic.
‎2012 Apr 04 8:33 AM
Hi
Then do this with screen variant tcode SHD0 or implement any enhancement.
‎2012 Apr 04 8:30 AM
Hi
I think you can do this by creating a screen variant SHD0 Simply.No requirement to implement a BADI .
Regards
Ajit
‎2012 Apr 04 8:33 AM
Thanks for ur reply but I was instructed using screen variants on MIGO is not the best of solutions...
‎2012 Apr 04 8:38 AM
my dear friend,
Screen Variant option given by sap to use it and it is better for your requirement.the badi you are going to implement is not for that purpose.and implementing badi for such purpose not a good idea.
You have another option that sap provide there Enhancement option You can use it.
Regards
Ajit
‎2012 Apr 04 10:23 AM
I really appreciate your suggestions.
But I have established that i can not use screen variant and i do not wish to use enhancements because modifying standard code will be my last resort. Since i have a badi which can suffice my requirement, i would like to try my luck with it first...
Now i know the badi, the only problem is i do not have an indicator to indicate change on the field or a new and old internal table. i am trying to figure out a solution for this.
Regards,
Xineohpi
‎2012 Apr 04 1:41 PM