Hi,
I created implementation for the badi ME_GUI_PO_CUST.
In the method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE
I've written the below code
***
DATA: ls_subscriber LIKE LINE OF re_subscribers.
CHECK im_application = 'PO'.
CHECK im_element = 'HEADER'.
CLEAR re_subscribers[].
ls_subscriber-name = subscreen1.
ls_subscriber-dynpro = '9000'.
ls_subscriber-program = 'SAPMZTEST'.
ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
ls_subscriber-label = 'New'.
ls_subscriber-position = 5.
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
****
I've created one module pool program SAPMZTEST and a sub screen 9000 for that program .
If it is not the correct procedure pls guide me.
I could not see a new tab in PO header. Could anyone pls let me know what should I do to get a new tab?
Thanks,
Poornima