cancel
Showing results for 
Search instead for 
Did you mean: 

How to log the execution of Planning Sequence into a DSO ?

0 Kudos
962

Hi,

we have a requirement to store the log details such as the Planning Sequence name, User Name, Execution Date and Time.


I have tried using the Class CL_RSPLFA_SRVTYPE_IMP to access the details but I am unable to access the Planning Sequence Name within this Class. As per the Class documentation, the Planning Sequence must be available in sy-msgv4. But, it is not working.


I have referred the following link to implement this.

Link: SAP Integrated Planning Planning Sequence Logging | SAPBWBW


Can you tell me why the description of Planning Sequence is unavailable or if there is any other way to get this done?



Regards,

Hitesh Jena

View Entire Topic
Former Member
0 Kudos

Hi,

Theoretically, you can add as a first step in planning sequence, planning function type of fox calling to some function module which writes to memory (EXPORT TO MEMORY) planning sequence name.

Then, at logging point, you can import a value from memory.

BR,

0 Kudos

I included a Planning Function that logs the details into the system log. Within the same set of code, I included a Planning Function to load the data into a Direct Update DSO. I then used this for reporting.