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 question

Former Member
0 Kudos

Hello experts

I am trying to write a BDC program using call transaction for updating shipment events.

On my recording, I need to click on 'Insert row' button and then select the appropriate row from the window that comes and update the event accordingly. Now I am stuck here with one thing. Sometimes on the pop-up window that's coming, it is not selecting the row what I wanted.

Please help with this.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Krishen - according to note 724274, transaction VT02N is not suited to batch input. It suggests using the old transaction (probably VT02).

Rob

10 REPLIES 10

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This is the trouble with BDCs, selecting tables from a row is a hassle. But Sometimes there is a "Position to" button or a field where you can enter the line index and it will then put this record on the first viewable line of the table control, then you simply select the first line in TC. If you do not have such a button or field, the this task becomes increasing more difficult.

Regards,

Rich Heilman

0 Kudos

Hi Rich and all,

the position thing never works it brings different index different times . I myself had a horrible experience.

i had a requirement to select one of the record from the pop up window , i know which record to select but unforunately the recording doesn't provide you with that facility.

i'm afraid you have to look for alternate solution.

one more thing its returned a correct value when i closed the pop up window. i just used to close that window and used manual coding to fill in that field.

let me if i'm wrong

Thanks

Former Member
0 Kudos

Krishen - what transaction is this?

Rob

0 Kudos

it is vt02n. Could nt still figure out yet how to solve.

Thanks to all.

Help is appreciated.

0 Kudos

if i store a value in a variable say 'n'...is it possible to read the record of index 'n' from the pop-up window atleast?

if i know the answer for the above question, i think i can figured out this.

please give ur input and let me know what u think.

thanks.

Former Member
0 Kudos

Hi,

Check this link for a sample code of how to use table control for the BDC.

It might give you some hint..

http://sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Thanks,

Naren

Former Member
0 Kudos

Krishen - according to note 724274, transaction VT02N is not suited to batch input. It suggests using the old transaction (probably VT02).

Rob

0 Kudos

Hi Rob!

Thanks a ton.

But it is not allowing me to update the events in vt02. when I am trying to save, it gives message 'Transaction Vt02 is old!'. Even when I pressed enter, its not saving it.

If anybody can give an idea on this how to save it through vt02, that will be super!

Kind regards

0 Kudos

Have you read tyhe message? I think it tells you how to proceed.

In any event, you should be able to ignore the message in batch input.

Rob

0 Kudos

Rob, my friend. thanks so much..

Thanks others also (mainly Rich and Naren) who always takes time and effort to respond others questions...