Code: Select all
METHOD /bcc/jpk_if_ext_doc~modify_where.
* reading data from additional selection screen select option S2_VALUT
/bcc/jpk_cl_data=>append_so( EXPORTING iv_so = 'S2_VALUT' CHANGING ot_so = /BCC/JPK_CL_WB=>GR_DATA1_TMP ).
CASE iv_doc_item.
WHEN 'I'.
CLEAR: ov_where.
MOVE 'kukey EQ is_febko-kukey AND valut IN gr_data1_tmp' TO ov_where.
ENDCASE.
ENDMETHOD.