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: 

updating a table from se38

lokareg
Explorer
0 Kudos
442

can I do both insert and update in se38, instead of modify

3 REPLIES 3

manfred_reinart
Product and Topic Expert
Product and Topic Expert
315

If you mean to say - using INSERT <db-table> and UPDATE <db-table> in ABAP programs - the answer is yes.
After making yourself familiar a bit with ABAP programming concepts please use F1 help for the description of the options and syntax.

TMNielsen
Contributor
315

And please don't use the tags ABAP Extensibility, SAP BTP, ABAP environment, ABAP Connectivity, SAP Advantage Database Server, NW ABAP Data Archiving, SAP HANA Cloud, SAP HANA database. Those tags has nothing to do with your question. For example SE38 does'n even exist in SAP BTP, ABAP environment, so adding that tag just makes it harder to understand the question.

You also used ABAP Development and that is the only relevant tag for your question.

Good luck learning ABAP.

Kind regards

Thomas Madsen Nielsen

TarunTakshak
Participant
315

Hi lokareg,

Yes you can

Below is the syntax for insert & update

INSERT <db_table> FROM wa.
INSERT INTO <db_table> values wa.
UPDATE <db_table> from wa.
UPDATE <db_table> SET <field-name> = P_SALARY WHERE EMP_NO = P_EMPNO

Thanks

Tarun