Schedule Revision same as in WPS1
I want to schedule the Revision same as in standard SAP transaction WPS1. For that I am using the method SCHEDULE of class CL_REVISION_WPS in a Custom FM, but it's not working for me.
The SAP uses the Method BF_REVISION_SCHEDULE of class CL_WA_REVISIONS_WPS in WPS1 Transaction, but this is a Private Method and we can't use this method.
Can anyone please suggest me, how we can Schedule the Revision same as in WPS1. Is there any FM/BADI/BAPI etc..