cancel
Showing results for 
Search instead for 
Did you mean: 

Run a Script after the MA is published to SAP ERP.

Former Member
0 Kudos

Hello, I'm trying to run a script after the MA is published, in order to automatically change it's status.

I already have the script done and working, the only problem is that I need to know where to put it (or what type of script it should be) in order to run after the MA  has been published successfully.

Thanks in advance !

Oscar Obeso.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

May be you can go for Explicitly Called Script and run the script every hour or so to update the status of the published contracts.

Praveen

Former Member
0 Kudos

That is also a good solution.

But what I did to fix it was to make a Script to run on validation.

Then, on that phase I checked the date of sent to external. If that date was null, it meant that Agreement had never been published.

Otherwise, it meant i had been published, and so I checked for the status to change it if neccesary.

Thanks for the answers, they are valid solutions too.

Oscar Obeso.

Answers (1)

Answers (1)

former_member89217
Contributor
0 Kudos

Sounds like this should be a Document Lifecycle script using the Saved target.   However, if someone has the document open for edit already this can be problematic.  It is also confusing to have the document change after a save operation.

Gary