what is difference between update and modify
Answers were Sorted based on User's Feedback
Answer / vishwas
Update only used for updating existing record.If the record
does not exist a new record is not created.
Modify is used for updating an existing record, if it is
present and create a new record if none exist.
Is This Answer Correct ? | 100 Yes | 17 No |
Answer / ram
Update:update keyword used for change the existing record.
Modify:if the record is there then record will be modified
otherwise new record will be inserted.
Is This Answer Correct ? | 27 Yes | 3 No |
Answer / harish
update:- update not inserte new record but change the
existing record.
modify:- it is used to modify the record but if record does
not exist then it insert the new record.
Is This Answer Correct ? | 19 Yes | 7 No |
Answer / jacky.jhan
reference from SAP Library
1.UPDATE
This statement allows you to change one or more lines in
the database table target
2.Modify
If the database table contains no line with the same
primary key as the line to be inserted, MODIFY works like
IINSERT - that is, the line is added.
If the database already contains a line with the same
primary key as the line to be inserted, MODIFY works like
UPDATE - that is, the line is changed.
Choose me!
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / kumar
INSERT - adds a new record to the table. If the row (key) exists, issues an error.
UPDATE - updates an existing record to the table. If the row (key) does not exist, issues an error.
MODIFY - If the key exists, modifies the record. If the key does not exist, adds the record to the table.
Is This Answer Correct ? | 10 Yes | 3 No |
Answer / susmitha
The UPDATE statement is used to update existing records in a table.
Modify is used with alter statement for updating an existing record, if it is present and create a new record if none exist.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mahesh kumar chinnam
Update:update keyword used for change the existing record.
Modify:if the record is there then record will be modified
otherwise new record will be inserted.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / someone
If key is not available, update will add the new data to
table where as modify will throw an error.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / sailaja
update statement writes the modified observations to the
new data set that u name in the dataset without modifying
the master and transaction dataset whereas modify statement
modifies observations directly in the master data set
Is This Answer Correct ? | 2 Yes | 6 No |
Answer / chander
I am Sorry for above-written answer this is the correct
answer
MODIFY - is used for modifying the existing data on the
basis of primary key and if there is no data in table then
UPDATE command will add new record into table.
UPDATE - is used for only modifying the existing data on
the basis of primary key.
Is This Answer Correct ? | 15 Yes | 40 No |
how many structures are in sap R/3(ABAP)
what is call back in alv?
. How to transport scripts ?
What is the main difference between Smartforms and SAP scripts?
19 Answers Accenture, Deloitte,
Difference between MACRO and SUBROUTINE ?
what is at new carrier
how many fields in mara table.
Can you create a Lock Object? What are Lock Objects?
how to create a button in selection screen? how to add a gui status in a selection screen?
What are the ABAP commands that link to a layout set?
What Is Roll Area In ABAP?
Are EVENTS Possible in LSMW?If so how to achieve?