Skip to Content
0
Former Member
Aug 08, 2005 at 04:35 AM

BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE

362 Views

Hi,

I need some help on Badi.My requirement is to auto determine the route in Tcode ME22N when a shipping point/Contition is changed for an Item .Iam using the method Process_Schedule method of the interface IF_EX_ME_PROCESS_PO_CUST defined in the defnition ME_PROCESS_PO_CUST.Here i need to map to the corresponding structure to carry forward to the screen after the method call.I have used Get and Set methods of the shipping data.Iam facing problem while executing the Transaction.Its giving a short dump specifying null reference. There is a code before the call like

--->> mmpur_dynamic_cast l_if_item my_model (????)

ls_ekpv =

l_if_item->if_purchase_order_item_mm~get_shipping_data( ).

If i use the mmpur_dynamic_cast parameter its saying i need to define but if i check out in Standard code iam unable to go the declaration point .

Else if i dont use the call method is going for null reference could any one please help me in this regard its bit Urgent.

Thanks & Regards

Vamsi