Skip to Content
0
Former Member
Feb 03, 2011 at 02:17 PM

What to use after method if_delivery_address_mm~get_address_detail ?

125 Views

Hi,

I'm facing a very strange situation in ME52N where I get a random abend (AM 010, Address doesn't exist).

I've implementend IF_EX_ME_PROCESS_REQ_CUST~CHECK and added some code to validate the delivery address of items.

The abend occurs when I copy items (from another document), to a document that already containt items, then I modify the delivery address of the copied items... Save... and BANG!

Finally, my question is what to use after method if_delivery_address_mm~get_address_detail to get the delivery address in all cases?

CALL METHOD lwa_items-item->if_delivery_address_mm~get_address_detail

RECEIVING

re_cmmda = ls_cmmda.