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

default tablecontrol size in VA01

Former Member
0 Likes
476

Hi,

I'm creating BDC program for VA01 transaction, in this I mark defsize to X in CTU_PARAMs, it is fine. But my requirement is I need to create SO for multiple items(say more than 10 items). Here how do I know the size of table control, so that I can send entries to multiple items, by resetting index to 1 every time when the table control is full.

Thanks&regards

Srinivas

3 REPLIES 3
Read only

Former Member
0 Likes
440

I had a similar issue. The way I dealt with it was to use the "Item to top" function (POPO).

I calculated the item number of the last material line I had added, then I put a POPO into the BDC, used the previous item number to put that to the top of the screen, then entered the new material in vbap-matnr(2). This being the empty line after the first line.

Read only

0 Likes
440

Hi Paul,

Thank you for ur response. I unable to get u mean, there is no such option, but I saw an option create item which is '+' symboled icon, below the tablecontrol, whenever I press it I able to create item at second index, means all the items previously added moves up, is it the good way to do it.

Thank you

Read only

0 Likes
440

Sounds like using the '+' icon works the same, so that is a good way of doing it.