Application Development and Automation 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: 
Read only

Editable ALV Report

Former Member
0 Likes
415

How to create drop down list in alv reports.?(drop down calendar)

Please give some example code if possible...

Moderator Message: Please search before posting

Edited by: Suhas Saha on Sep 2, 2011 12:25 PM

How to create drop down list in alv reports.?(drop down calendar)

Please give some example code if possible...

Moderator Message: Please search before posting

Edited by: Suhas Saha on Sep 2, 2011 12:25 PM

1 REPLY 1
Read only

Former Member
0 Likes
388

Hi,

use the type pool:VRM.

VRM contains two values i.e key,text

key means id.

value means text whatever text we displayed in dropdown list.

DATA: ITab TYPE VRM_VALUES,

WA LIKE LINE OF ITab.

WA-KEY = '1'.

WA-TEXT = TEXT-001.

APPEND WA TO ITab.

..........

use the fm vrm_set_values to display the dropdown list.

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

ID = 'xxxx'(whatever fieldname for dropdown list)

VALUES = ITab

Read this fm you get the clear idea.

regards,

haritha.