Skip to Content

Set default Block ID EBAN-BLCKD as 1 on PR creation ME51N

Hi All,

I have an urgent requirement where I need to set default Block ID as 1 ( EBAN-BLCKD ) on creation of Purchase requisition under ME51N. I am not able to find specific BADI or Exit. I have gone through BADI ME_PROCESS_REQ under method PROCESS_ITEM and try to set the Block ID as 1 but it doesn't help.

DATA: lst_itemdata TYPE mereq_item.

CALL METHOD im_req_item->get_data

RECEIVING re_data = lst_itemdata.

lst_itemdata-blckd = 1 .

CALL METHOD im_req_item->set_data

EXPORTING im_data = lst_itemdata.

Please help me in this.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers