Dear All,
I have an workflow which triggers on creation/ change of contract agreement tcode - ME31K or ME32K. Work flow is working fine. I am using class local class methods to get approvers etc.
I have created custom container I_LV_INITIATOR inside work flow.
Whenever user is changing the contract through ME32K , value of container I_LV_INITIATOR is filled with
user id of person who has created the contract .
But the requirement is if purchase document category (EKKO-BSTYP) = 'K' then I want this container I_LV_INITIATOR
to be filled with user id of person who has changed the contract not with the one who has created the contract. and If I manually test the work flow from SWUS , value of container I_LV_INITIATOR is filled with user id of person who is manually processing the work flow.
Kindly help or give any suggestion f we could achieve this in enhancement or exits.
Thanks,
Arpita