We are executing planning functions in SEM via a process chain. The process chain calls an ABAP program, UPC_PLANFUNCTION_EXECUTE, which will in turn execute the planning functions. What I'm looking for is a way to log the number of records read, changed and added. I'm also am trying to find a way to log if someone already has the data locked.
Has anyone ever done this before and can help?