Application Development 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: 

disabling G/L Account field in MIGO transaction

Former Member
0 Kudos

HIiya Gurus,

I have got a requirement to disable the GL Account field in Accounting tab in the MIGO transaction. since i am an abaper i am not sure how to disable this field. i have gone through the transaction SPRO , but unfortunately for the filed G/L Account field KONTO there are only 2 options :--

either to make it optional or mandatory.

But my requirement is to make it disabled (greyed out), IS it possible to Grey out that field.

In my customization this field is set as Option.

Kindly provide me with your valuable suggestions.

Cheers,

ZIa

1 REPLY 1

Former Member
0 Kudos

Hi,

Use this BADI 'MB_MIGO_BADI'

Do write the code in PBO of the screen.......which you have created ....

In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use

LOOP AT SCREEN.

IF SCREEN-NAME = 'ZZGBAGS'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards

krishna

Edited by: Krishna Gowrneni on May 1, 2009 12:25 AM

Edited by: Krishna Gowrneni on May 1, 2009 12:39 AM