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: 

How to disable tab in detail screen in MIGO T.code

Former Member
0 Kudos

Hi ,

I want to disable serail number tab in detail tab in MIGO transaction and also want to create same subscreen like Serail number with additional 2 fields.

Could some one help me how to disable above mentioneed tab and add new tab to MIGO transaction.

I tried with BADI MB_MIGO_BADI but I 'm not getting how to disable the Serail number tab ( Program SAPLMIGO Screen Number : 0360).

Regards,

Narendra.

5 REPLIES 5

eduardo_hinojosa
Active Contributor
0 Kudos

Hi Narendra,

Wellcome to SDN. Please, see Note 752637 - MIGO: Serial numbers ready for input although not relevant, perhaps it will be relevant for your case.

I hope this helps you

Regards

Eduardo

0 Kudos

Hi ,

Thanks for the reply.I check the note and same is not suitable for my requirement.

My requirement is to disable the Serial number tab even if applicable for PO in MIGO and want to add new subscreen same as Serial number tab with including another 2 custom fields.

Regards,

Narendra.

0 Kudos

Hi

So, it works properly. You cannot delete an standard tab without a modification. You can add in a new tab your customer fields using the badi MB_MIGO_BADI.

I hope this helps you

Regards

Eduardo

0 Kudos

Hi Eduro,

I don't want to delete the standard screen .I want to desable or hide the same in MIGO transaction.

I created custom sceen with required fields but while going MIRO ,I'm getting 2 screens one is SAP screen and one is my customscreen.

I want to disable or Hide the standard screen from MIRO permanently.

Regards,

Narendra.

0 Kudos

Hi

The call to this screen is hardcoded in report LMIGODC2 (include of SAPLMIGO)



*   set subscreen for serial numbers
    if goitem-sernp is initial.
      g_sub_serial = '0361'.            "no serial numbers
    else.
      data l_serialize type abap_bool.
      CALL METHOD lcl_migo_buffer=>serial_relevance_check
        EXPORTING i_sernp = goitem-sernp
                  i_bwart = goitem-bwart
                  i_sobkz = goitem-sobkz
                  i_kzbew = goitem-kzbew
                  i_kzzug = goitem-kzzug
                  i_kzvbr = goitem-kzvbr
        IMPORTING e_serialize = l_serialize.

      if l_serialize = abap_false.
        g_sub_serial = '0361'.            "no serial no. during GM
      else.
        g_sub_serial = '0360'.             "serial numbers active.
      endif.
    endif.

Debug it and check what possible solutions you have.

Regards

Eduardo