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

INSERT DATA INTO DB TABLE USING BAPI

Former Member
0 Likes
1,424

hi all,

I have a doubt...How to write a INSERT statment in BAPI Source code.

Actually My requirement is , By Using BAPI I have to insert data (like Material No. and Material Description) into MAKT table . How to write that code ?

Actually I have a scenario where Message broker(Integration Tool) system is there, he has to insert data into SAP DB table makt ( for that he was taken matnr and maktx as field to insert into makt) using BAPI .

What I did is :

I was created a custome BAPI with those fields. But I'm not getting Idea how to write INSERT Statament in BAPI source code.

can any one help me .

Thanks in advance...

with regards,

Lokesh.

1 REPLY 1
Read only

Former Member
0 Likes
551

Never insert in standard tables

Use this bapi

BAPI_MATERIAL_SAVEDATA

You can create or change the material master data with it, you can use it for the descriptions only