Banner
Banner

Attention: open in a new window. PDFPrintE-mail

2009
14
Jul

How to create a Business Object Event container

The following code snippet creates an event container and inserts an element into it.

INCLUDE <cntn01>.

* KUNNR is the parameter linked to the Business Object Event (type KNA1-KUNNR)

data: itab_kunnr type standard table of kna1-kunnr,
        wa_kunnr like kna1-kunnr.

wa_kunnr = '123'. append wa_kunnr to itab_kunnr.
wa_kunnr = '234'. append wa_kunnr to itab_kunnr.
wa_kunnr = '345'. append wa_kunnr to itab_kunnr.

swc_container lt_customer.

  swc_create_container lt_customer.
  swc_create_element lt_customer 'KUNNR'.
  swc_set_element lt_customer 'KUNNR' itab_kunnr.

Last Updated (Tuesday, 30 November 1999 00:00)
Banner
Free software downloads