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

on BDC

Former Member
0 Likes
293

one Object on BDC....thing is to change devilary class of items on Sales order. using VA02 which runs in Bakground mode for importing valid data and eliminate duplicate entries.

........problem..is how can i eliminate duplicate entries.? plz Answer anybody.

1 REPLY 1
Read only

Former Member
0 Likes
266

hi,

in bdc we add records from Interna table header line(workarea) to body by using

APPEND statement. you use COLLECT statement insted of using APPEND statement.

the COLLECT statement aviods the duplicate records from table, if any record exisisting with the same record number, the current record contents are added to the exisisting record.

<b>sample code</b>

form bdc_field using fname1 fvalue1.

refresh bdcdata.

bdcdata-fname = fname1.

bdcdata-fvalue = fvalue1.

COLLECT bdcdata.

endform.

regards,

Ashokreddy