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

BDC Screen Resolution Problem

Former Member
0 Likes
994

Hi Guys

we have been having a lot of BDC failing issues due to screen resolutions.for example in the sales order change screen if we try to add a line item at the 3rd line it works.this is how the BDC was recorded.now when we need to add it at say the 5th line item,its failing becoz that needs a few scrolls.again the code works from R/3 in fullscreen mode but fails from XI as XI runs the BDC in standard window mode.

is there a way to make the screen size large enough while running the BDC so that we have enough line items in the display.

we use the following

perform bdc_transaction tables messtab

using 'VA02'

CTU

MODE

UPDATE.

where ctu = 'X'

mode = 'N'

update = 'S'.

if there is no other way out i will have to add logic to scroll down to the correct line item.anyone experienced similiar problems?

please let me know

thanks for ur patient reading

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
906

Hi

First thing: it should be better user BAPI.

Second thing: you should simulate the PLACE ITEM TO TOP functionality.

So if you have n items in your order, you have to place the n-item to top and so you can add the new item in second position.

If you have to insert another item, you place the last item you have added in top and so you insert it in second position.

In this way you can always add tne new item in the second position of table control.

Max

6 REPLIES 6
Read only

Former Member
0 Likes
907

Hi

First thing: it should be better user BAPI.

Second thing: you should simulate the PLACE ITEM TO TOP functionality.

So if you have n items in your order, you have to place the n-item to top and so you can add the new item in second position.

If you have to insert another item, you place the last item you have added in top and so you insert it in second position.

In this way you can always add tne new item in the second position of table control.

Max

Read only

0 Likes
906

hi max.thanks for your quick reply.

actually we cancel the first few line items and then replace them with new ones.in this case the cancelled line items are still there with a reject indicator.so the new line items always go at the bottom.

i know what u mean to say but sadly it isnt possible in our case.any other work around?

thanks again

Read only

0 Likes
906

Hi

No I don't think or I don't know other possibilities.

I know it can't modify the screen resolution by programming:

so or you can try to use a BAPI or you try to change your abap code.

Max

Read only

0 Likes
906

I think Max meant that you should use ok-code 'POPO' to move the last item of the order to the top of the display. It shouldn't matter if items are deleted. Then put the new item on the second item of the display.

Is that right Max?

Rob

Read only

0 Likes
906

Perfectly Rob!

You've used the right words to say what I said in my bad English.

Thanks Rob

Max

Read only

0 Likes
906

Oh, I think your English is pretty good.

Rob