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

Former Member
0 Kudos
74

Hi,

Suppose if we do BDC for tcode ca02, in one of the screens i find a table control containing some data. here i want to insert data into that table control. the data (value) that i want to insert into table control from internal table needs to be checked . if it contains value already, then give an error message. how to do?

next question is how can we get the records from the table control in the screen into internal table while doing BDC?

Thanx,

Kranthi

2 REPLIES 2

Former Member
0 Kudos
45

Hi,

There is no way you can get the data dynamically from a screen while running BDC. Check the DB table from which the table control in CA02 is getting populated. Get all the data before running BDC, & then decide about the error message.

Former Member
0 Kudos
45

I think there is no way to validate the fields dynamically.

For the second query, .....

declare itab1 like same structure of itab. and code as follows....

PAI.

loop at itab.

module transferdata.

endloop.

Module transferdata code:

module transferdata input.

append itab to itab1.

endmodule.

Cheers.