Hi gurus,
I am unable to see the customer defined subscreen in PO item. I am using badi ME_GUI_PO_CUST.
data: wa_subscriber like line of re_subscribers.
check im_application = 'PO'.
check im_element = 'ITEM'.
clear re_subscribers[].
if ( sy-tcode = 'ME21N' or sy-tcode = 'ME22N').
wa_subscriber-name = subscreen1.
wa_subscriber-dynpro = '0100'.
wa_subscriber-program = 'SAPLZPOM'.
wa_subscriber-struct_name = 'ZEKPO_EXT'.
a label can be defined
wa_subscriber-label = text-001.
the position within the tabstrib can be defined
wa_subscriber-position = 5.
wa_subscriber-height = 7.
append wa_subscriber to re_subscribers.
endif.
if ( sy-tcode = 'ME23N' ).
wa_subscriber-name = subscreen1.
wa_subscriber-dynpro = '0200'.
wa_subscriber-program = 'SAPLZPOM'.
wa_subscriber-struct_name = 'ZEKPO_EXT'.
a label can be defined
wa_subscriber-label = text-001.
the position within the tabstrib can be defined
wa_subscriber-position = 5.
wa_subscriber-height = 7.
append wa_subscriber to re_subscribers.
endif.
This is a reference code from sample code. Can anyone please help me out to solve the problem. and one more question is
what is the relationship between badi ME_GUI_PO_CUST and ME_PROCESS_PO_CUST.