How to Fetch Your Infopackage Details From R/3 System.
Sharing a small piece of code which help you a lot in indentifying the BW system or Info package details at R/3 system while you write your custom code in CMOD at data source level. This code will help you in following below situations.
1) Remote Function Call: If you need to call Function Module written in BW system from R/3 system for any manual manipulation.
2) To Identify BW Load request details at CMOD code Level.
3) When a R/3 system is connected to Couple of BW system.
4) From one R/3 system when the data has to be sent differently for same data source to two different BW systems at CMOD level.
Read more at : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26901