Close request status of BCS cube from process chain
I am loading data from a BCS transactional cube to an OpenHub target using a DTP.
The DTP only picks up requests in closed status: green.
I would like to close the current open request, used for adding transactions done by users, from a process chain and then run the DTP from a second variant.
Does anybody know an ABAP program for this that I could call from the ABPA process chain variant?
There is a standard FM to do this: RSAPO_CLOSE REQUEST.
Include this FM in a program and schedule the program to run in a process chain eberytime before you load data from this cube.