Hi Sujirach,
1.
It is dependent on what exactly is your requirement. You can access both values on all scripts and all contexts. Depending on your requirement you should choose the best context and target.
2.
When cancelling an MA, system will automatically send the message to PI via the same interface as for initial publish (MI_OB_AGREEMENT)
Regards,
Bogdan