Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown

Former Member
0 Kudos

Hi experts,

i have a urgent requirement like .i have to modify one standard report's input field

to dropdown .And in the dropdown i have to put some numeric value .

Please help me ...if possible send me the code .

Reward point is sure.

Thanks ..

3 REPLIES 3

Former Member
0 Kudos

VRM_SET_VALUES

TYPE-POOLS VRM.

DATA: NAME TYPE VRM_ID,

LIST TYPE VRM_VALUES,

VALUE LIKE LINE OF LIST.

NAME = 'CARRID'.

value-key = 'LH'.

value-text = 'Lufthansa'.

append value to list.

value-key = 'IA'.

value-text = 'Indian Airlines'.

append value to list.

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

ID = NAME

VALUES = LIST.

Former Member
0 Kudos

Hi,

Do like this

Create a domain and maintain a fixed values in that domain. Create data element for that domain and write the code as below in your report

Parameters: p_num(3) TYPE <dataelement>  AS LISTBOX  VISIBLE LENGTH 15               DEFAULT '1',

Regards,

Satish

0 Kudos

Thnaks Satish..

In addition to that I have one more requirements like ..

Drill down detail list

For a drill down report, when a vendor line is selected, execute the report with the SUMMARIZATION LEVEL selection as 0. Use the same/selected Vendor and Company Code number. Page one of the report has all relevant information for the vendor.

Thanks ..

Satya