10-13-2008 8:17 AM
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?
10-13-2008 9:12 AM
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.
10-13-2008 8:24 AM
add code in the exit in such a way that the fields are displayed only for certain type of PO..
Raghav
10-13-2008 8:31 AM
Hi sia,
Write ur code in the exit between
if <tablename>-BSART = 'ZDM'.
endif.
Regards,
Amit
10-13-2008 8:38 AM
sorry for that
but do u know in which exit, I should insert the code and what I should code?
10-13-2008 9:12 AM
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.