Page 1 of 1

Przykład implementacji BADI/ Example of BADI /BCC/JPK_IF_EXT_DOC~modify_where

Posted: Wed Aug 24, 2016 11:46 am
by moderator

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.