...
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. ...
... of release is allowed. To do that you'll have to replace following piece of code from previous example fo_releasable->is_reset_rej_allowed( ) with one of the following: fo_releasable->is_rejection_allowed( ...
...
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 ...