‎2008 Jun 11 6:17 PM
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.
‎2008 Jun 11 6:24 PM
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