cancel
Showing results for 
Search instead for 
Did you mean: 

Any new SD functionality in S/4 to trigger activities after a document has been saved?

Jelena
Active Contributor

In ECC, whenever we needed to trigger some activities after an SD document has been saved (could be sales or billing document, for example), our options were pretty much limited to (a) a standalone program that would run in a background job and select new/updated documents; (b) an output with special function.

Are there any additional / better options for this in S/4 (specifically 2020)? I haven't heard of any but thought I'd check here if anyone has intel on this.

Bonus question: how would ABAP developers even find such information (new SD features in S/4 relevant to development)? It's not like we can subscribe to "SD news for ABAPers Weekly" magazine...

Thank you!

matt
Active Contributor
0 Kudos

See here - it might be what you need. But it's been so long, I've forgotten exactly how it works and how I used it. But I'm pretty sure it was something similar to what you need.

https://answers.sap.com/questions/6551265/how-to-register-to-an-aftercommit-event-.html

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert

hi Jelena, re the bonus question your best bet is the What’s New Viewer for S/4HANA and the What’s New Viewer for ABAP Platform. These give brief but helpful summaries of changes from release / FPS across S/4HANA history. Including APIs and other techniques introduced. They can be found in the help portal at https://help.sap.com/s4hana_op and go to the

Accepted Solutions (0)

Answers (2)

Answers (2)

gregorw
Active Contributor

Hi Jelena,

for Side-By-Side extensions you would have a look at the SAP S/4HANA Business Events on api.sap.com. In this case the Sales Order Events. But to consume them you need BTP Event Mesh and build an event driven architecture.

If you want to consume inside the S/4HANA system you might check the answer to BOR type and event for transaction ABF1. Then implement an Event Handler. An example for such a handler class is CL_SD_SLS_DRF_BOR_HANDLER. The Linkage from the Event to the Class / Method is defined in Transaction SWE2.

Hope that helps.Best Regards
Gregor
Jelena
Active Contributor
0 Kudos

Yes, it needs to be inside S/4HANA, not in BTP and such. I'll take a look at that post. Thanks for a reply!

Neeraj_Jain
Active Contributor
0 Kudos

Hello Jelena Perfiljeva,

Please refer below SAP Blog. Might be it's helpful to you.

https://blogs.sap.com/2021/10/01/output-management-for-changed-documents-in-sap-s-4-hana./

Regards,

Neeraj Jain

Jelena
Active Contributor
0 Kudos

Thanks for sharing but I've already noted output as one of the known options since ECC times. I'm looking for other options that might be new in S/4 (or that I'm simply unaware of).

Thanks!