方法一:

data:list_tab type table of abaplist.
  data:vlist(300type occurs with header line.

 submit rm07mlbs with matnr in m_matnr exporting list to memory and return.

    call function 'LIST_FROM_MEMORY'
      tables
        listobject = list_tab
      exceptions
        not_found  4
        others     8.

    call function 'LIST_TO_ASCI'
      exporting
        list_index         -1
      tables
        listasci           = vlist
        listobject         = list_tab
      exceptions
        empty_list         1
        list_index_invalid 2
        others             3.

方法二:

posted on 2016-11-04 14:48  倩倩很happy  阅读(1013)  评论(0)    收藏  举报