Skip to Content
0
Former Member
Nov 21, 2012 at 09:51 AM

Read Dynpro-Multiselection

47 Views

Hello Community,

i've got the Problem, that I want to read a field with Multiselection-Function in a Dynpro.

The field has the type PerNr und includes the possibilities to select single-values, a range of values, non-values and a range of non-values.

CALL FUNCTION 'GET_DYNP_VALUE' doesn't help me, because it gives me just the shown value and not the ranges e.g.

I looped the Field-Value like this:

TYPES: BEGIN OF pernr_tab,
pernr TYPE PERNR_D,
END OF pernr_tab.

DATA lt_pernr TYPE TABLE OF pernr_tab,


RANGES: R_TXT_PERNO_QUELL FOR TXT_PERNO_QUELL.

LOOP AT R_TXT_PERNO_QUELL.
APPEND R_TXT_PERNO_QUELL-low TO lt_pernr.
APPEND R_TXT_PERNO_QUELL-high TO lt_pernr.
ENDLOOP.

It gives me all needed values but without any order.

May you help me? Thanks a lot!