Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MM01 Batch Input Error

Former Member
0 Likes
452

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

2 REPLIES 2
Read only

Former Member
0 Likes
402

Do the recordng in SHDB.

YOu can probably see that the number of views that you see in the recording mode is not 22 at a time.

You need to press a page down or two page downs to reac the 22nd view.

record that page down user action also. Then modify the BDC recording part in your code also, in order to handle the page down user action.

Regards,

Ravi

Read only

0 Likes
402

I must change my views from stuation of material type.

I have some case for material types. So Can I understand view number from its comment.