Working with Value Lists when creating scripts
I am creating a script and have run into some issues where I am working with value lists. I have been attempting to use the help provided by Saloni in the thread http://scn.sap.com/thread/3218997 however I am not able to get my script working.
Is the correct way to work with value lists in a script done as follows:
Get from a value list:
If we have a value list extension field called client_sensitive that contains a drop down of Yes or No then use
Set a value list field:
If we have a value list extension field called risk_tier that is linked to a value list called project_risk that contains low/medium/high then use
// 0 is used here to set the field as the first entry in the value list
Currently I am getting an error of Class or variable not found: ValueListTypeIBeanHomeIfc.sHOME_NAME when I try to use this.
Any help with this would be greatly appreciated.
Vikram Shanmugasundaram replied
The problem seems to be in the import statement.
It should look like below, without the .* at the end.
Hope this helps.