2007 Jan 23 9:32 AM
hi,
i have doubt how to handle the search help in case field with listbox in dialog programming
regards,
Mahesh.G
2007 Jan 23 9:35 AM
Hi Mahesh,
Refer the std program . - DEMO_DYNPRO_DROPDOWN_LISTBOX
RSDEMO_DROPDOWN_LISTBOX
in the PBO use the function module VRM_SET_VALUES
set the attribute of the field in screen painter as Drop down list.
NAME1 is the name of the field.
data: NAME1 type VRM_ID,
LIST1 type VRM_VALUES,
VALUE1 like line of LIST1.
select * from ZES_RFQ_REJECT into table IT_RFQREJ.
NAME1 = 'ZES_RFQ_ITEM-REJ_CODE'.
loop at IT_RFQREJ into IS_RFQREJ.
VALUE1-KEY = IS_RFQREJ-REJ_CODE.
append VALUE1 to LIST1.
clear IS_RFQREJ.
endloop.
call function 'VRM_SET_VALUES'
exporting
ID = NAME1
VALUES = LIST1.
clear LIST1.
Reward points if this Helps.
Manish
hi,
i have doubt how to handle the search help in case field with listbox in dialog programming
regards,
Mahesh.G
2007 Jan 23 9:35 AM
Hi Mahesh,
Refer the std program . - DEMO_DYNPRO_DROPDOWN_LISTBOX
RSDEMO_DROPDOWN_LISTBOX
in the PBO use the function module VRM_SET_VALUES
set the attribute of the field in screen painter as Drop down list.
NAME1 is the name of the field.
data: NAME1 type VRM_ID,
LIST1 type VRM_VALUES,
VALUE1 like line of LIST1.
select * from ZES_RFQ_REJECT into table IT_RFQREJ.
NAME1 = 'ZES_RFQ_ITEM-REJ_CODE'.
loop at IT_RFQREJ into IS_RFQREJ.
VALUE1-KEY = IS_RFQREJ-REJ_CODE.
append VALUE1 to LIST1.
clear IS_RFQREJ.
endloop.
call function 'VRM_SET_VALUES'
exporting
ID = NAME1
VALUES = LIST1.
clear LIST1.
Reward points if this Helps.
Manish
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |