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

Reg: Material Master

Former Member
0 Likes
1,064

Hi

i got a requirement that if user change the MRP rate in Material Master then it should be reflected to item catagory of BOM

Please help me out regarding this

Thanks in advance

Rao

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,021

Hi Vishal

Thanks for your reply, but that FM will not update exiting item category of BOM, we need any FM that will update item category of BOM which is already exits

Thanks in advance

regards

Rao

8 REPLIES 8
Read only

Former Member
0 Likes
1,021

Hi,


BAPI_MATERIAL_MRP_LIST         Material - MRP List
BAPI_MATERIAL_PLANNING         Material - Single-Item Planning Single/Multilevel
BAPI_MATERIAL_STOCK_REQ_LIST   Material - Current Requirements/Stock List

Arunima

Read only

Former Member
0 Likes
1,021

Hi Arunima

i want to update item category(POSTP)

Read only

0 Likes
1,021

Hi,

You first need to identify user exit/BADI which triggers just

before material is saved, in which you can write your own logic

to update item category of BOM.

You can use FM : CSAP_MAT_BOM_MAINTAIN to update BOM details

or you can write your own update statement.

MARA, MAST, STKO and STPO are tables you require.

STPO-POSTP need to be updated.

MARA and MAST are linked which gives you BOM details which

You can use to query STKO/STPO tables

Regards,

Vishal

Read only

Former Member
0 Likes
1,021

Hi Arunima

can u tell me how to usge these BAPI's

Read only

Former Member
0 Likes
1,022

Hi Vishal

Thanks for your reply, but that FM will not update exiting item category of BOM, we need any FM that will update item category of BOM which is already exits

Thanks in advance

regards

Rao

Read only

0 Likes
1,021

Hi Rao,

Even if you manually tried to change Item Category of an item

using CS02, you can not do that as that field is not editable. It means SAP

doesn't allow you to change Item Category of an Item in BOM.

So only solution to your problem which I feel is to deleted the item first and then

again add the same item with new Item Category which is allowed, I think.

You can use the same FM for this.

I do not have any idea how much it is feasible or it is recommended or not.

Regards,

Vishal

Read only

Former Member
0 Likes
1,021

Thanks Vishal for your help

Read only

0 Likes
1,021

Hi,

Do you manage to find any method to update the BOM Item category (STPO-POSTP? I having the similar requirement to update this value for Functional location BOM. Any BAPI available for this update?