cancel
Showing results for 
Search instead for 
Did you mean: 

Direct Access with Selection

Former Member
0 Kudos

Hi,

I want to use the Datasource 0RPM_BUPA_AVL with Direct Access. There is a mandatory field (BEGDAT) and I don't know how to pass the field value, cause there is no InfoPackage It has to be variable. Without filling the field value I recieve an error (Selection criterion BEGDA is missing in the data request - Error in substep - Error reading the data of InfoProvider XYZ)

Thanks for your assist.

Lars Goldhahn

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gurus,

I've found out that I have to use "Inverse Routine", so I've tried out the following:

METHOD inverse_expert_routine.

*$*$ begin of inverse routine - insert your code only below this line*-*
TYPE-POOLS : sbiwa.
Data: c_t_selection TYPE sbiwa_t_select,
      l_s_selection LIKE LINE OF c_t_selection.
l_s_selection-fieldnm = 'BEGDA'.
l_s_selection-sign = 'I'.
l_s_selection-option = 'EQ'.
l_s_selection-low = '20100101'.
APPEND l_s_selection TO c_t_selection.
*$*$ end of inverse routine - insert your code only before this line *-*

  ENDMETHOD.                    "inverse_expert_routine

  METHOD new_record__expert_routine.

But it doesn't work. Do you have any ideas?

I know it's a very simple example, but for the first step to check if it will work it's OK.:)

Thanks a lot