on 03-13-2007 12:23 PM
Hi,
I have an internal table containing 3 fields ; matnr, locno and country.
I need to pass these values to the function module RSDRI_INFOPROV_READ to retrieve values from the infocube based on the entries in the internal table. How do I go about it? Please help ASAP.
Hello Debaprasad,
You basically need to store contents of your internal table in the I_T_RANGE parameter.
For example, you can store the matnr data this way (assuming the name of your internal table is IT_DATA):
DATA: g_s_range TYPE rsdri_s_range,
g_t_range TYPE rsdri_t_range.
DATA: l_s_data type line of <place the type of your internal table here>.
CLEAR g_s_range.
g_s_range-chanm = '0MATERIAL'.
g_s_range-sign = rs_c_range_sign-including.
g_s_range-compop = rs_c_range_opt-equal.
g_s_range-low = l_s_data-matnr.
append g_s_range to g_t_range.
You can also check out the RSDRI_INFOPROV_READ_DEMO program in SE38 for an example of how to call the RSDRI_INFOPROV_READ function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.