‎2006 Jan 10 6:15 PM
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
‎2006 Jan 10 6:21 PM
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
‎2006 Jan 10 6:21 PM
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
‎2006 Jan 10 6:25 PM
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
‎2006 Jan 10 6:33 PM
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
‎2006 Jan 10 6:37 PM
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
‎2006 Jan 10 6:44 PM
Perfectly Rob!
You've used the right words to say what I said in my bad English.
Thanks Rob
Max
‎2006 Jan 10 7:14 PM