‎2007 Mar 19 3:45 PM
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
‎2007 Mar 19 3:50 PM
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
‎2007 Mar 19 3:56 PM
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.