cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make visible customer data item level tab for PO with item category E

fernando_martin
Active Participant
0 Likes
383

Hello,
in our purchase orders we have a customer data tab at item level which was created with enhancement MM06E005. This is working  fine except when we use item category E (Enhanced Limit), where the tab disappears.

I have checked BADI ME_PROCESS_PO_CUST and method FIELDSELECTION_ITEM. I do not find any existing coding to make this tab visible/invisible. I tried this code. but when it comes to item category E program does not stop at breakpoint in BADI. Also I try breakpoint in enhancement exits and does not stop either.

    l_changeable im_header->is_changeable).
    LOOP AT ch_fieldselection REFERENCE INTO DATA(ld_fieldselection)
                                  WHERE metafield mmmfd_cust_10.
      IF l_changeable IS INITIAL.
        ld_fieldselection->fieldstatus '*'" Display
      ELSE.
        ld_fieldselection->fieldstatus '+'" Change
      ENDIF.
    ENDLOOP.

In transaction SPRO there are no options to handle customer data tab visibility.

Anyone has faced this issue?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

You need to implement OSS Note 3307066.

TADIR Entry Object Description
R3TR - FUGR - MEGUI LIMU - REPS - LMEGUICIY

*$*$----------------------------------------------------------------$*$*
*$ Correction Inst.         0020751259 0001573021                     $*
*$--------------------------------------------------------------------$*
*$ Valid for       :                                                  $*
*$ Software Component   S4CORE                                        $*
*$  Release 108          All Support Package Levels                   $*
*$*$----------------------------------------------------------------$*$*
*&--------------------------------------------------------------------*
*& Object          REPS LMEGUICIY
*& Object Header   FUGR MEGUI
*&--------------------------------------------------------------------*
*& CLASS LCL_CUST_ITEM_VIEW_MM IMPLEMENTATION
*&--------------------------------------------------------------------*
...
      CALL METHOD lo_item->get_data
        IMPORTING
          ex_data = ls_mepoitem.

      IF ls_mepoitem-pstyp = cl_mmpur_constants=>pstyp_a. "S/4 LIMIT
*>>>> START OF DELETION <<<<<
        CALL METHOD deactivate.
*>>>> END OF DELETION <<<<<<<
*>>>> START OF INSERTION <<<<
*        CALL METHOD deactivate.                          " 3307066
*>>>> END OF INSERTION <<<<<<
...
*&-------------------------------------------------------------------