hello friends,
here is my code.
TYPE-POOLS: VRM.
TYPES : BEGIN OF TY_TA20R1,
NAME TYPE PLAN_ACTIVITY_NAME,
ACTICITY TYPE PLAN_ACTIVITY,
END OF TY_TA20R1.
DATA : NAME1 TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
******** Internal tables
DATA : IT_TA20R12 TYPE TABLE OF TY_TA20R1,
WA_TA20R12 TYPE TY_TA20R1.
AT SELECTION-SCREEN OUTPUT.
SELECT NAME FROM TA20R1 INTO TABLE IT_TA20R12.
LOOP AT IT_TA20R12 INTO WA_TA20R12.
VALUE-KEY = WA_TA20R12-NAME.
VALUE-TEXT = WA_TA20R12-NAME.
APPEND VALUE TO LIST.
ENDLOOP.
NAME1 = 'PR_NAME1'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME1
VALUES = LIST.
START-OF-SELECTION.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : PR_NAME1(22) AS LISTBOX VISIBLE LENGTH 20 TYPE C.
SELECTION-SCREEN END OF BLOCK B1.
from the above code, if i click drop down i'm getting drop down list as it is in table(TA20R1) and its showing fine,
the problem is, if i select one from the drop down and press enter, it's creating one more entry and it is in total capital letters.
example: i have 'abc' in my drop down and i have selected 'abc' and hit enter. now one more entry 'ABC' is creating in list, and it is totally in capital.
can any one share manual way of drop down option or the possibilities to be in original way of entry instead of changing to capital entry or any other way to solve ????.
i am very much thankful for your suggestions.
I have attached my full code.
Regards,
Praneeth.