Skip to Content
0
Former Member
Sep 11, 2006 at 05:32 AM

ME_PROCESS_REQ_CUST Badi CHECK Method

1053 Views

have put the folowing code in CHECK Method

METHOD if_ex_me_process_req_cust~check .

*

DATA i_items TYPE mmpur_requisition_items.

DATA: wa_item LIKE LINE OF i_items,

lv_if_item TYPE REF TO if_purchase_requisition_item,

lt_itm_data TYPE mereq_item.

*

break ranjeet.

CALL METHOD im_header->get_items

RECEIVING

re_items = i_items.

LOOP AT i_items INTO wa_item.

lv_if_item = wa_item-item.

CALL METHOD lv_if_item->get_data

RECEIVING

re_data = lt_itm_data.

ENDLOOP.

in the above code i am not able to get the account assgn. details like in PROCESS_ACCOUNT Method how can i do that.

i have to put some conditions combining item details and Account Assignments, same is not possible in PROCESS_ACCOUNT Method as in this i am not able to get Item details as in PROCESS_ITEM and vice versa.

so i want to check condition in CHECK Method.

thanx

abhishek