Skip to Content

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

Jun 03, 2017 at 07:55 PM


avatar image
Former Member

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.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers