Saving Cth_data in an exit
I am in the IP u2013 WAD environment
I am running an exit type planning function, from the IF_RSPLFA_SRVTYPE_IMP_EXEC_REF.
I am running this exit in a planning sequence with a filter.
My exit needs to control when I save my CTH_DATA back to the infoprovider. For various reasons I do not want to use a process chain and raise events for the trigger of the save data.
The code should be along the lines below:
IF condition XYZ is met
SAVE DATA TO PROVIDER
Matthias Nutt replied
I doubt that this is possble without modification. A planning function changes data or creates new data. This part can be done in an exit planning function as well. The next steps which are not done be the planning function but by the planning framework are e.g. checking the data for consistency, running the characteristic derivations and as well checking the data against the data slices. So your SAVE should be done after all this has happend. You should not do this in your planning function, for the reasons I have mentioned. Please check if your requirement is really necessary.