06-01-2009 2:43 PM
Hi
Which BADI do I use to insert items creating a purchase requisition (ME51N)?
Thanks in advance.
06-01-2009 2:45 PM
Check this badi..
ME_BAPI_PO_CUST Customer BAdI for BAPI_PO_CREATE1 and BAPI_PO_CHANG
ME_BAPI_PR_CUST Customer BAdI for Enjoy Purchase Requisition BAPIs
next go to t-code Se15>expand the enhacement tab>enter package(ME) under Badi's tab and
execute you will get the list of Badi's
available...
Prabhu
Edited by: Prabhu Das on Jun 1, 2009 7:17 PM
06-01-2009 2:45 PM
Check this badi..
ME_BAPI_PO_CUST Customer BAdI for BAPI_PO_CREATE1 and BAPI_PO_CHANG
ME_BAPI_PR_CUST Customer BAdI for Enjoy Purchase Requisition BAPIs
next go to t-code Se15>expand the enhacement tab>enter package(ME) under Badi's tab and
execute you will get the list of Badi's
available...
Prabhu
Edited by: Prabhu Das on Jun 1, 2009 7:17 PM
06-01-2009 3:07 PM
Prabhu thanks for answering
ME_BAPI_PR_CUST has two methods, in my case do I have to use OUTBOUND (Method for Changing Export Data of Enjoy PReq BAPI)
Regards.
06-02-2009 6:41 AM
Dear mgg,
BADI which can be use to insert items creating a purchase requisition ME51N are put a break point and check for its triggering
ME_CHECK_ALL_ITEMS Run Through Items
ME_SUBITEM_FIELDSTATUS BAdI to Control S
SMOD_MRFLB001 Control Items for
Cheers
fareed
06-04-2009 10:41 PM
Thanks Fareed, but I was checking and test with break point for inserting items but doesn't work.
I'm using this BAdI ME_PROCESS_REQ_CUST with PROCESS_ITEM but only have 3 parameters: IM_ITEM, IM_COUNT and IM_REF_ITEM, but trying this code, never back to transaction:
DATA: ls_mereq_itemx TYPE mereq_itemx,
ls_mereq_item TYPE mereq_item.
* ls_mereq_item = im_item->get_data( ).
ls_mereq_item-MATNR = 'M955_RG'.
CALL METHOD im_item->set_data
EXPORTING
im_data = ls_mereq_item.
Thanks in advance.
06-11-2009 3:20 PM
06-28-2010 11:55 AM
Hi mgg,
I have similar requirement. Would be great if you share how you achieved.
Thanks in advance.