on 06-12-2014 2:15 PM
Hi, How can i know if the supplier is in approval? the Attribut MV_IN_APPROVAL (class /SRMSMC/CL_SUPPLIER ) should be an indicator for approval, but it will not be set if the supplier is in approval.
Thanks and Regards
Min
DATA: ls_supplier_keys TYPE /srmsmc/s_supplier_keys,
lo_supplier TYPE REF TO /srmsmc/if_supplier,
lv_wf_active TYPE xfeld. lo_supplier ?= mo_model.
ls_supplier_keys = lo_supplier->get_supplier_keys( ).
lv_wf_active = lo_supplier->get_in_approval( ls_supplier_keys ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.