12-20-2013, 06:42 AM
Unfortunately, I have not worked on SAP applications. I Would be of least help to you, However, I am willing to share my General Knowledge with you if that probably may lead you to the right answer.
It is clear that GetColor is not the correct method to be used here or rather it is not returning back the value it should. You should look for a different method or option here. Here is what I would do,
1. Drill down the spied color cell object and check if you have Items.Cells or some hirearchy as below. Look for BackgroundColor or Color or BGcolor which may have a HexaDecimal value for the Green Color.
2. It is most likely that the Cell could be a object here which holds the color property. Try to look for the color property in that direction.
3. If you have hit the wall without any option and if you have the luxury of a developer sitting beside you who has developed it or rather who has access to the codebase, then talk to him and see what is the property being set for that object. He should be able to exactly show you how the color value is being set and to which object it corresponds. You may already have read this but if you havent this may be of some help. (http://help.sap.com/saphelp_46c/helpdata...ameset.htm)
Finally, dont lose hope. Try to google around your problem, post your query on multiple sites and keep looking. Every problem has a solution and without a solution there does not exist a problem
It is clear that GetColor is not the correct method to be used here or rather it is not returning back the value it should. You should look for a different method or option here. Here is what I would do,
1. Drill down the spied color cell object and check if you have Items.Cells or some hirearchy as below. Look for BackgroundColor or Color or BGcolor which may have a HexaDecimal value for the Green Color.
2. It is most likely that the Cell could be a object here which holds the color property. Try to look for the color property in that direction.
3. If you have hit the wall without any option and if you have the luxury of a developer sitting beside you who has developed it or rather who has access to the codebase, then talk to him and see what is the property being set for that object. He should be able to exactly show you how the color value is being set and to which object it corresponds. You may already have read this but if you havent this may be of some help. (http://help.sap.com/saphelp_46c/helpdata...ameset.htm)
Finally, dont lose hope. Try to google around your problem, post your query on multiple sites and keep looking. Every problem has a solution and without a solution there does not exist a problem
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.