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 question

Former Member
0 Likes
1,166

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
Read only

Former Member
0 Likes
1,125

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,125

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

Read only

0 Likes
1,125

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

Read only

Former Member
0 Likes
1,125

Krishen - what transaction is this?

Rob

Read only

0 Likes
1,125

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

Thanks to all.

Help is appreciated.

Read only

0 Likes
1,125

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.

Read only

Former Member
0 Likes
1,125

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

Read only

Former Member
0 Likes
1,126

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

Rob

Read only

0 Likes
1,125

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

Read only

0 Likes
1,125

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

Read only

0 Likes
1,125

Rob, my friend. thanks so much..

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