Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Suppose we are transfer data through BDC from legacy to SAP
and their is some duplicate data in legacy system but we
don’t want this in SAP system .So how can we check that this
data is already exist ?

Answer Posted / dillip kumar mishra

We have to check the key field is there in database table or not.
if we are storing uploaded data into internal table let's say ITAB.
Then we should check like as follows.
loop at itab.
select * from <database table> where <primary key> = itab-key.
if sy-subrc = 0.
logic for update.
else.
write:'Document Exists'.
continue.
endif.
endloop.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What two statements are required in an abap program to output an icon using a written statement?

1178


What are the different methods of bdc? : abap bdc

1096


what is user specific parameter?

2118


How is the command suppress-dialog useful?

1161


What is the difference between rfc and bapi function modules? : abap bdc

1198


What are the types of indexes in abap?

1232


what precautions or prerequisites do you follow to update a record into database table and how

6147


How do you populate data into a multiple line field? : abap bdc

1181


In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary

1221


What are the other modules integrated with om? : sap abap hr

1061


What is an authorization in sap?

1335


What is the disadvantage of a call by reference?

1163


What are the function module in bdc?

1335


What is a variable in the sap abap?

1091


Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?

2137