Hi All,
I am new to SAP BO Design Studio, I have 4 filters (4 Dropdown) Project(, Projectmanager,Project Start, Project End.
Source for application is BW.
//My Code on "On startup"
DDB_FILTER.setItems(DS_1.getMemberList("Z1PROJ", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
DROPDOWN_1.setItems(DS_1.getMemberList("Z1PROJMA_PER", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
DROPDOWN_3.setItems(DS_1.getMemberList("START_EARST", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 20));
DROPDOWN_4.setItems(DS_1.getMemberList("END_LATFI", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 20));
//On DDB_Filter "On Select"
DS_1.setFilter("Z1PROJ", DDB_FILTER.getSelectedValue());
DROPDOWN_1.setItems(DS_1.getMemberList("Z1PROJMA_PER", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
DROPDOWN_3.setItems(DS_1.getMemberList("START_EARST", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 20));
DROPDOWN_4.setItems(DS_1.getMemberList("END_LATFI", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 20));
//show Data in Text-Label
//shwo Project_Name
TXT_STRING_VAR.setText(DDB_FILTER.getSelectedText());
TXT_FILTER.setText(TXT_STRING_VAR.getText());
//show Project_Manager
TXT_STRING_VAR.setText(DROPDOWN_1.getSelectedText());
TXT_PROJT.setText(TXT_STRING_VAR.getText());
//show Start_Date???
TXT_STRING_VAR.setText(DROPDOWN_2.getSelectedText());
TXT_PROJStART.setText(TXT_STRING_VAR.getText());
//show End_Date???
TXT_STRING_VAR.setText(DROPDOWN_3.getSelectedText());
TXT_PROJEND.setText(TXT_STRING_VAR.getText());
My problem is, if I execute the application localy, so I see in the Dropdowns for the start and the end Date only a "#".
how can I see the correct data in the Dropdown and in the Text-Label or in a Date Field?
Thanks,
Markus