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

MIGO add default value using BADI/User-Exit

Former Member
0 Likes
2,846

Hi Experts,

I have a requirement to enter/add a default value in the Quantity>Ext. Amount LC of the item level screen in MIGO depending on the movement type using BADI/User-Exit. I have tried using a BADI for showing error messages but not for having a default value in the screen. Is this possible? I have searched and can't find any answer on my problem.

Example:

MIGO > GR >Others

Quantity>Ext. Amount LC should automatically have 0.01 Value

1 ACCEPTED SOLUTION
Read only

SimoneMilesi
Active Contributor
0 Likes
2,085

Hello, did you already tried to implement BAdI MB_MIGO_ITEM_BADI?

Hi Experts,

I have a requirement to enter/add a default value in the Quantity>Ext. Amount LC of the item level screen in MIGO depending on the movement type using BADI/User-Exit. I have tried using a BADI for showing error messages but not for having a default value in the screen. Is this possible? I have searched and can't find any answer on my problem.

Example:

MIGO > GR >Others

Quantity>Ext. Amount LC should automatically have 0.01 Value

5 REPLIES 5
Read only

SimoneMilesi
Active Contributor
0 Likes
2,086

Hello, did you already tried to implement BAdI MB_MIGO_ITEM_BADI?

Read only

0 Likes
2,085

When I tried to change the value of is_goitem-exbwr using MB_MIGO_ITEM_BADI.

Im having an error "The field IS_GOITEM-EXBWR" cannot be changed.

Also when I searched about this BADI it only enables you to set the storage location and item text in the transaction for goods movement

Read only

0 Likes
2,085

You are right, sorry.

MB_MIGO_BADI will be fit better, with method LINE_MODIFY

Read only

Former Member
0 Likes
2,085

Hi,

I have found the answer using IF_EX_MB_MIGO_BADI~LINE_MODIFY.

CS_GOITEM-EXBWR = '0.01'.

SET PARAMETER ID 'EXBWR' FIELD 'CS_GOITEM-EXBWR'.

Read only

0 Likes
1,317

When entering the order, can the movement type be updated automatically?

Jady_1-1756830515035.png