Hi Srinivas,
Before posting in scn I followed your link and come to know that you created Ztables and their might be relation between tables and two fields coming from same context nodes.
In my case account group and grouping holds data avialable in sap tables like
CRMC_T077D - account group TB001 - Crm groupings
and two fields coming from different context nodes in same view.
Still I tried your approach and error occurred at this line
SELECT * FROM zregion INTO TABLE lt_state WHERE countryid = lv_value.
In my scenario the error coming like ACCOUNT_GROUP not available as there is no field available in TB0001.
Kindly guide me on this.
Regards,
shivaprasad.D