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

to change material using BAPI

Former Member
0 Likes
6,630

Hi All,

We are using BAPI_MATERIAL_SAVEDATA to change a material. But end user is not having the authorization to modify using this bapi. because this BAPI is used for both creation and for changing so it is checking creation object Authorization and it is failing.

Kindly suggest me some other BAPI to Change the material to avoid the above problem.

7 REPLIES 7
Read only

Former Member
0 Likes
2,112

Hi Murugaperumal,

Try using BAPI_MATERIAL_EDIT.......it is only to change an existing material.

Regards,

Arnab

Read only

Former Member
0 Likes
2,112

FYI

BAPI_MATERIAL_DELETE Flag Material for Deletion

BAPI_MATERIAL_DISPLAY Display Material

BAPI_MATERIAL_EDIT Change Material

You can use BAPI_MATERIAL_EDIT to change the material data.

Read only

Former Member
0 Likes
2,112

Hi Murugaperumal,

Once you got the answer of your question, please markit answered because you have 7 unresolved ques out of 9, Please mark them with appropriate choice.

Thanks a lot.

Read only

Former Member
0 Likes
2,112

try these..


/SAPMP/BAPI_MATERIAL_SAVEDATA  Mill Products: Create and Change Material Master
BAPI_MATERIAL_MAINTAINDATA_RT  Create and change material master data (retail)
BAPI_MATERIAL_EDIT             Change Material

Read only

Former Member
0 Likes
2,112

I have tried with BAPI_MATERIAL EDIT it is executing the screen in foreground. My requirement is to update material in back ground with extension fields. because we are going to update one customize field. Kindly suggest me the solution.

Read only

0 Likes
2,112

Do u mean, how to differentiate btwn foregrnd and back ground, if so, use SY-BATCH field.

if not, r u getting some difficulty for executing it in back grnd, over fore grnd?

custom field: but, my personal opinion is , its beeter to go with MATERIAL_SAVE_DATA and ask the basis folks, to grant the authorisation to the end user.

thanq

Edited by: SAP ABAPer on Mar 24, 2009 4:04 AM

Read only

Former Member
0 Likes
2,112

Hi,

I was trying to change the contract end date for Real Estate Module.I am using bapi BUS1505_CHANGE using LSMW.

But the record is not at all changing saying that 'No Data was Changed' even though i get status 53.

Can anyone please help ?