Skip to Content
0
Former Member
Mar 19, 2007 at 03:45 PM

MM01 Batch Input Error

21 Views

Hi I have 23 view for one material. When I start batch input selecting all views (SELA) after that I want takeout 2 view because I don't need them. My code is :

call function 'CONVERSION_EXIT_ALPHA_INPUT'
       exporting
            INPUT   = tab-bismt
      importing
           OUTPUT  = tab-bismt
       exceptions
            others  = 1.

select single pstat from mara into v_vpsta where matnr = tab-bismt.

call function 'SELECTION_VIEWS_FIND'
exporting
bildsequenz = '21'
pflegestatus = v_vpsta
tables
bildtab = i_bildtab.


Loop at i_bildtab Into wabildtab.
  If wabildtab-dytxt = 'XXX Grubu Urun Verileri' Or wabildtab-dytxt = 'Kalite yonetimi'.
     CONCATENATE 'MSICHTAUSW-KZSEL(' wabildtab-IDXBD ')' Into Ad.
     perform isle using ''   ''  Ad ''.
  Endif.
Endloop.

When I execute this code it is give me MSICHTAUSW-KZSEL(22) not found. But I now this material have 23 view.

What is problem? I think table control of views cann't keep all view rows. How can I fix it?

Thanks

Mehmet