Hello Raghunath,
As you mentioned you would be migrating to BI 4.0, I would like to bring to your notice that a lot of features have been removed from ReportEngine SDKs from BI 4.x onwards.
The SAP Note provided was for XI 3.1 which will not be applicable to BI 4.x.
You would have to move towards the Webi Restful web services sdks as it is the future and is as an replacement for ReportEgine SDKs. You can choose any language to develop your app as it is platform independent.
You can find the documentation at
http://help.sap.com/bobip40?current=bobi#section7
Refer to 'SAP Crystal Reports RESTful Web Service Developer Guide' as per your product version.
Also in case of any queries regarding the Restful webservices you can post your queries in the below forum
http://scn.sap.com/community/restful-sdk
Refer to the blogs available at below link to understand the RestFull services better.
-Prithvi