Skip to Content
avatar image
Former Member

Change value of Overall limit in limit tab ME21N

Hi Experts,

I am facing the following problem:

We are creating a Purchase Order out of an Purchase requisition. We want the overall limit ("Gesamtlimit" inside the screenshot) to be filled. I tried everything within the badi ME_PROCESS_PO_CUST but there is no way to access this data. (ESUH-SUMLIMIT).

Is there a way to change this value with the above mentioned badi or not? if you have made any experience with that or need more information please let me know.

Thank you very much in advance.

Regards

Patrick

unbenannt.jpg (126.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 15, 2016 at 03:17 PM

    First cast your item (IM_ITEM) reference to class interface CL_PO_ITEM_HANDLE_MM and then use interface IF_SERVICES_MM methods and other available methods. (Consider BADI ME_PROCESS_PO_CUST~POST how to read Item service data the launching pad of your research.)

    lr_item_handle ?= im_item. " from process_item
    " or ls_items-item from process_header/check after a GET_ITEMS

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded