2025 Jun 06 1:52 PM - edited 2025 Jun 06 2:00 PM
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.
Request clarification before answering.
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 <<<<<<
...
*&-------------------------------------------------------------------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.