Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get Conditions data in BADI " IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM"

Dear SAP Gurus,

My requirement is as follows,

I need to put a check in BADI "IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM" based on KSCHL filed, It is available in the BADI(GET_CONDITIONS, SET_CONDITIONS). I am not able to get the values in internal table.

Please help,

Thanks & Regards,



Hello Pavan ,

Hi once you call the instance methode get_condition it returns you a export parameter MMPUR_TKOMV which is a type pool and contains TKOMV , TKOMK ,and TKOMP that is all you want .

Data :           l_tkomv  type mmpur_tkomv .

 CALL METHOD im_item->get_conditions
           EX_CONDITIONS = l_tkomv.  .

IM_TYPE is already there in process_item as import parameter refering to IF_PURCHASE_ORDER_ITEM_MM .

You will have everrthing in your l_tkomv and do what you want based on that .

Hope that solves your problem .


Anjaneya .

Edited by: Anjaneya Bhardwaj on Aug 31, 2011 9:55 AM

Edited by: Anjaneya Bhardwaj on Aug 31, 2011 9:56 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question