Application Development 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: 

BDC mm01 error

Former Member
0 Kudos

I am applying a BDC on mm01. While selecting the Views , Only the top 17 views are being selected properly . I want to two (23 and 24 ) views after that in my selection.

This problem occurs at the time of coding.(SE 38).

The tabs after that are also not being picked properly.

Thanks in advance for the help.

Edited by: devrath.sampat on Feb 14, 2012 8:58 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I checked mm01 and saw that only 17 views appear within one box.

I mean that views 23 and 24 are visible only when the cursor is scrolled down. The code for that is :

Add this after view 17

perform bdc_field       using 'MSICHTAUSW-KZSEL(17)'
                              'X'.

perform bdc_field       using 'BDC_OKCODE' '=P+'.

and after this count no. 23 and 24 from 01 onwards i.e View 18 will be 1, view 19 will be 02 and so on.......

For 23.

perform bdc_field       using 'MSICHTAUSW-KZSEL(06)'
                              'X'.

4 REPLIES 4

Former Member
0 Kudos

HI Sampat,

If by default u want to select the 2,23 & 24 view.

just work the below changes

'MSICHTAUSW-KZSEL(01)' 'X'

to 'MSICHTAUSW-KZSEL(17)' 'X'

now this might be in ur recording

then change or add the code same as tat as shown below

'MSICHTAUSW-KZSEL(02)' 'X'

'MSICHTAUSW-KZSEL(23)' 'X'

'MSICHTAUSW-KZSEL(24)' 'X'

Thanks,

Madhukar

Former Member
0 Kudos

I checked mm01 and saw that only 17 views appear within one box.

I mean that views 23 and 24 are visible only when the cursor is scrolled down. The code for that is :

Add this after view 17

perform bdc_field       using 'MSICHTAUSW-KZSEL(17)'
                              'X'.

perform bdc_field       using 'BDC_OKCODE' '=P+'.

and after this count no. 23 and 24 from 01 onwards i.e View 18 will be 1, view 19 will be 02 and so on.......

For 23.

perform bdc_field       using 'MSICHTAUSW-KZSEL(06)'
                              'X'.

0 Kudos

Thanks Nipul,

It worked . When i used +P it scrolled once and i counted the views from 01 again.

Hi Madhukar,

Thanks for the help. As Nipul mentioned it was a cursor scrolling issue. That worked fine.

0 Kudos

thanks nipul i had the same query