In this requirement we need to get data from SAP Standard Program, for this sample we need to get data from SAP Program tcode KE25 ( Program RKEB0601 ).

We will submit parameter PERIOD as Period, ARTNR ( Product /Material ) and WERKS ( Plant ), parameter Werks or plant is Free selection so we need to use function module FREE_SELECTIONS_RANGE_2_EX to submit to free selection.

Declare all need of variable.

This is our selection screen

We need to insert value of T_SELTAB internal table.

Then pass T_EXPRS to SUBMIT.

Incoming search terms: