Question:
Dear,
We have the following escenario:
- we have a Portal where the user can see and change the value of some key figures. Then when they have changed this values they send them to APO (BAPI_PVSRVAPS_CHANGEKEYFIGVAL). The problem is that when the user has changed these key figures a macro should run online.
Checking the code of the BAPI I have found a user exit, but I donīt know how can I trigger a macro from an ABAP program.
Thanks a lot in advance,
Joan
Answer:
Hi
Did u try submitting the program 'SAPAPO/TS_BATCH_RUN'??.
This should solve ur problem.
Just in case u need more info.
1. Create the Macro
2. Define a Planning Activity
3. Create the Selection-IDs
4. Create a DP background Job with the selection-Id & the required
aggregation level
5. Create variant for the program /SAPAPO/TS_BATCH_RUN with the Job
Name created above
6. Submit this program with the above variant.
Regards
Ameen
Answer:
Hi,
Thanks for your information, but I need to run the macros on-line.
Do you have any other idea??
Thanks a lot in advance,
Joan