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

Odpowiedzi na najczęściej zadawane pytania / Answers to most often asked questions
Post Reply
moderator
Posts: 205
Joined: Wed Jun 22, 2016 7:45 pm

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

Post 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.
Post Reply