Application Development 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: 

error in bapi_material_savedata

Former Member
0 Kudos
108

Hi,

how can I write coding for following condition.and which BAPI I have to use Please give me some hints..*

The condition is as follows.

* Read material master main table MARA** Read the table AUSP with each material number, where AUSP-OBJEK = MARA-MATNR and AUSP-ATINN = MG_PRODUCTTYPE and AUSP-KLART=001** Retrieve the characteristic value from AUSP-ATWRT** Access table MVKE with MARA-MATNR** Copy AUSP-ATWRT (MG_PRODUCTTYPE characteristic value) to field MVKE-MVGR4** Derive MVKE-MVGR3 (Material Group3) based on the values from MVKE-MVGR5*

2 REPLIES 2

Former Member
0 Kudos
56

Well, you wrote most of it already...just need to insert it into an exit or wherever you want it to go. Don't have the exit name handy but I'd bet you can find it.

Dan

madhu_vadlamani
Active Contributor
0 Kudos
56

HI Shailesh,

What is the requirement . Do you want to create new material or change the material .Please explain clearly.

Regards,

Madhu.