2024 Feb 12 12:27 PM - edited 2024 Feb 16 2:22 PM
Hello Experts,
I would like to run a custom program after the order is being saved into database.
What would we like to achieve?
We would like to run BAPIs right after the sales order is saved so we can pull data from the database and run our BAPIs with those parameters.
I have found a place in program SAPMV45A at the end of include MV45AF0B_BELEG_SICHERN (line 3371) where the order should have been created, this is where we placed our new code.
What we have tried and did NOT work?
There is an update task running in parallel to MV45AF0B_BELEG_SICHERN what is actually saving the order into database.
Unfortunately, the task is not finished running until the end of MV45AF0B_BELEG_SICHERN.
This means there is no sales order data saved into the database at the moment our code is running.
We also tried to put our code in program MV45AZZ, but this is called from include MV45AF0B_BELEG_SICHERN before the commit statement.
Please help us identify the enchantment point(s) where the sales order is already saved into database and we could run our custom code.
Any other suggestions are also welcome.
Request clarification before answering.
Hi
You can use the enhance spot at of MV45AF0B_BELEG_SICHERN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
127 | |
9 | |
7 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.