Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

add new fields in PO

hi there

I have added 2 new fields at item level in a PO, using the exit MM06E005 but I want the fields to appear for only certain PO types

so in screen painter, I assigned the attributes 'Groups' to ZDM(which is the new PO type) but that field is getting displayed for all PO types

is there somthing ive missed out?

Tags:
Former Member
replied

Hi

In the exit EXIT_SAPMM06E_016,

SET PARAMETER ID 'ZBSART' FIELD i_ekpo-bsart.

In PBO of SAPLXM06, Screen number 0111,

GET PARAMETER ID 'ZBSART' FIELD gv_bsart.

IF gv_bsart NE 'ZDM'.
  LOOP AT SCREEN.
      screen-invisible = 1.
      MODIFY SCREEN.
  ENDLOOP.
ENDIF.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question