cancel
Showing results for 
Search instead for 
Did you mean: 

Supplier Lifecycle Management - how can ich know if Supplier is in approval

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

  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 ).

Answers (0)