Skip to Content
-2

Hide Valuation Price from Item Overview in PR (ME5*N)

Hi Experts,

Is there anyway to hide the Valuation Price from item overview in PR (ME5*N)

I checked the technical information that the program name is RM_MEREQ_GUI and scree number 0014, but the screen number does not exist.

Thank you

pr.png (238.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 08, 2017 at 01:30 PM

    Dynpro 14 of SAPLMEGUI (is the main screen, but actually a container for subscreens)

    You noticed you are clicking in an ALV grid area, so did you look for build of field catalog (gt_fieldcatalog in build_dynpro_fields method of SAPLMMEGUI) and then work with display variants, enhancement and BAdI to adapt it.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      You're right, editing gt_fieldcatalog in program LMEGUICJM method build_dynpro_fields works as expected. It's just that I forget to state that this should only work for certain PR doc. type, and when I check the method build_dynpro_fields is triggered first before BAdI IF_EX_ME_PROCESS_REQ_CUST~PROCESS_HEADER and only triggered once. So, I still haven't found any spot to update the ALV every time user change the document type.

      Thank you for your help.

  • Sep 08, 2017 at 01:57 PM

    The price is taken from the material master if you have a material number entered, but it is a mandatory field if you have a text item. The information is needed in case of a release strategy by value.

    Hiding a mandatory field may not be the best idea.

    Also the overview screen is meant for fast entry, if you do not allow to make an entry here you actually force your users to click through the item detail tabs which can be quite annoying if you have to create a PR with hundreds of items.

    Price information can often be hidden by removing the authorization activity 09 Price display from the user roles.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 11, 2017 at 10:27 AM

    HI

    for ur issue hide field in field catalog.

    in function group

    MEGUI

    in above function group local class is lcl_req_item_grid

    this class is inherited from standard class CL_GRID_VIEW_MM

    in standarda class field catalog table is there that name name is GT_FIELDCATALOG

    so.

    solution is while create object for above local class and find location of filling fieldcatalog table.

    there remove that field from that field 'Valuation Price'

    u can reach above using implicit enhancement.


    Add comment
    10|10000 characters needed characters exceeded