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 ?
Answers were Sorted based on User's Feedback
Answer / upendra
before upload the data using bdc check the data in program and delete the duplicate data
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
HOW TO CREATE INDEXES IN TABLES?
What is the significance of at line-selection event?
Can we call reports and transactions from interactive reporting lists?
Different types of luws. What are they?
What is sap abap data classes?
What loop do you code for a READ DATASET Statement
How to pass the variables to forms?
what are command are they abap ?
hoe can we write the include programs in reports
in which method i can upload data to two transactions? and how? somebody tell me.
10> Can u give me one example where we should use only CALL TRANSACTION method in BDC?
what is secondary index?