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

Additional fields in MIGO transaction

Former Member
0 Likes
4,016

Hi Everybody,

We have a requirement where we need to have additional fields in MIGO transaction when the user chooses 'distribute qty' option to split the quantity, the normal screen shows the following fields,

1. Qty in UnE

2. Stock type

3. Movement type

4.Stor location, we need Serial number, Drum number in Screen number 1000 of SAPLMIGO program, Can any one tell me how do I achieve this functionality,

Rgds,

6 REPLIES 6
Read only

Former Member
0 Likes
1,887

Hi

You should use BADI MB_MIGO_BADI to add additional fields in MIGO.

Max

Read only

0 Likes
1,887

Hi,

The issue is we are running in 4.6C version of SAP and MB_MIGO_BADI is available from 4.7 version onwards.

Rgds,

Read only

0 Likes
1,887

Hi,

Any help on this would be highly appreciated.

Rgds,

Read only

Former Member
1,887

In MIGO the badi is not for modifying screens even if you were on 470 . There is no exit / badi in MIGO to add additional fields.

However it the fields you are trying to add is present in structure GOITEM or GOSPLIT ( check in SE11 ), you can enable these fields on screen using tcode OMJX/ OMJY/ SFAC. Also the fields should be there in element list of screen. these transactions are to customize which fields will be visible/ required etc on MIGO. The field you are trying to add donot seem to be part of sturcuture GOITEM or GOSPLIT . Can you give the table/ fieldname or data element name which you are trying to add.

Cheers

Read only

0 Likes
1,887

Very helpful answer, Thanks for the quick response, we are planning to maintain a ztable for this purpose because the fields we want to include ( Serial number & Drum number )are not from standard table/structure, is there any possibility to add ztable fields in these transactions.

Thanks in Advance,

Rgds,

Read only

Former Member
0 Likes
1,887

The only option I see is design your own custom screen with the required fields and call it as popup ( Modal Dialog Box ) from user exit ZXMBCU02 .

This user exit will be triggered when you click on "CHECK" or "SAVE" button.

There is no way to modify MIGO screen itself , so maybe you will have to pass the item number etc from MIGO and have a table control on your custom screen for data entry.

For saving data into database donot use this exit as a user may just check and go out and you will unnecssarily push the data into z table . In this exit do an export to memory for your custom fields.

In another exit ZXMBCU01 , do an import from memory and update the required Z table . This exit is called while updating material document in update task.

However to goto popup screen for displaying chnaging custom fields you will have to press "CHECK" button , maybe a user training issue.

Cheers