...
data: fo_req type ref to if_purchase_requisition.
data: f_document type mepo_document.
data: fo_resetable type ref to if_releasable_mm.
data: f_success type mmpur_bool. ...
In the previous article I've shown how to check if we can reset the rejection of the purchase requisition. In the same way you can check if rejection is allowed or if release is allowed or if reset ...
...
data: fo_releasable type ref to if_releasable_mm.
if co_factory is initial.
" Get requisition factory if we don't pass one
call function 'MEREQ_GET_FACTORY'
importing ...