Skip to Content
avatar image
Former Member

ME21n and me22n implicit enhancement

Hi Experts,

I have requirement to disable some fields in me21n , but they are not there in the SPRO configuration

I tried with implicit enhancement , two fields are disabled but three of them are not , though code is there.

fields that I couldn't disable are : ( itm , higher-level item and Subitem Category ) marked in red arrow in the image.

fields that I could disable with implicit enhancement are : (Purchasing doc and item ) marked in black arrow in the image.

Please advise if there is any way to disable these fields.

snap.png (14.6 kB)
snap.png (14.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 09, 2017 at 01:56 PM

    The table control is determined in function module MEGUI_BUILD_PO_ITEMOV_PLUGIN:

      CALL METHOD item_overview->set_tables
        EXPORTING
          im_fcode_prefix = 'MEPO1211'
        CHANGING
          ch_tc_table     = dyn_1211items[]
          ch_tc_structure = tc_1211
          ch_dynpro_data  = mepo1211.
    

    You need to manipulate the content of tc_1211 (or ch_tc_structure within the method).

    You need to find where to insert your code, I am afraid there's no better solution than an enhancement point (e.g. within the method).

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 09, 2017 at 01:22 PM

    As you can see from OSS note 120901 - Hiding of columns by table control is not possible

    Add comment
    10|10000 characters needed characters exceeded