Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DTP routine for selection of single values?

Hi,

Can we have the DTP routine for selecting the two single values. As I have seen in SCN most of it is for ranges. I need to select the data from data source with ac_doc_typ is having a value starting with K. Examle KA, KB etc.

Regards,

Darshan MS

replied

Hi Darshan

Of course you can have single selections. All you have to do is to append the corresponding selections as:

I EQ <value1>

I EQ <value2>

...

etc.

to the internal table l_t_range.

I've never tried it with pattern, but theoretically it should work. In this case EQ is to be replaced with CP:

I CP K*

br

Roland

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question