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 for VA02 transaction

Former Member
0 Kudos

Hi,

I have a sales order with 30 line items, and I want to change only the data of X line item. Then how to select line item X in BDC for VA02 transaction.

And I should be able to add a new line item after 30th line item. In this case how to place the cursor at 31st line item.

I can't use BAPI_SALESORDER_CHANGE as some of the fields are missing in BAPI, so I should only use BAPI. I'm using SAP 4.6c version.

Regards

Jaker.

3 REPLIES 3

Former Member
0 Kudos

This is a common problem in BDC.

You can overcome this by using the "item to top" button at the bottom of the items list, if you click on that button, it will allow you to enter the POSNR for the required item and then pressing enter will position that item on the top of the list screen.. this way you are always assured that the item you want to modify is always at line number 1 in the screen...

Former Member
0 Kudos

Hi,

You can use the POSITION button (sy-ucomm = POPO) and give the item number which will bring the item of the top and also puts the cursor on that particular line item.

THanks

Naren

former_member156446
Active Contributor
0 Kudos
perform bdc_field       using 'BDC_CURSOR'
                              'VBAP-POSNR(01)'. "this is when I selected first row... you need to have X#