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

Update a material in Update Task

prashanthprabhu
Associate
Associate
0 Likes
439

Hello,

I want to update a material data (marc data) using a BAPI/FM. I want to update the material in a update task.

Reason: I have to update the material data as well a custom table in a single LUW.

Can you pls give some hints towards this.

Regards, PP.

1 REPLY 1
Read only

Former Member
0 Likes
384

I guess, BAPI_MATERIALSAVEDATA (forgot correct name) will work for you. if thats the case, write a custom wrapper FM for this BAPI and then call that custom FM in update task. Finally, i guess, in the process of updating your custom table, your UPDATE/MODIFY/INSERT statemtn will have a implicit COMMIT WORK, hence that will take care of updating both (MARC and custom) tables

Thank you