cancel
Showing results for 
Search instead for 
Did you mean: 

WD4A Select options without interval

selvakumar_mohan
Active Participant
0 Kudos

Hi All,

I am using the select options in my WD4A report. For a particular attribute i dont want the interval to be be there.

In ABAP we achieve this by:

SELECT-OPTIONS :lp_carr FOR ztms_ty_tnd_ratio-carrier NO INTERVALS

.

Can you please help me in doing the same in WD4A.

Thanks,

Selvakumar M.

Accepted Solutions (1)

Accepted Solutions (1)

former_member40425
Contributor
0 Kudos
selvakumar_mohan
Active Participant
0 Kudos

Hi ,

I was able to acheive the no interval in the select option by setting a parameter I_NO_INTERVALS as show below.

* add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = '/SCMTMS/BUPA_INTERNAL_ID'
it_result = lt_range_table
i_read_only = read_only
I_NO_INTERVALS = ABAP_TRUE

Thanks,

Selvakumar M.

Answers (2)

Answers (2)

uday_gubbala2
Active Contributor
0 Kudos

Hi Selva,

You can achieve this through coding by setting the i_no_intervals flag of method add_selection_field.

wd_this->m_handler->add_selection_field(
i_id = 'PLANT'
it_result = lt_range_table
I_NO_INTERVALS = 'X'
i_read_only = read_only ).

Regards,

Uday

abhimanyu_lagishetti7
Active Contributor
0 Kudos

LR_HELPER->ADD_SELECTION_FIELD( I_ID = 'DATAB'

I_NO_INTERVALS = ABAP_TRUE

I_NO_EXTENSION = ABAP_TRUE

IT_RESULT = WD_THIS->LT_DATAB ).

Abhi