cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Material Group has not been defined error when using BAPI_SALESORDER_CHANGE

bigflatfoot
Participant
0 Likes
125

Hi all,

I was trying to update the contents of my Sales Order using 2 different methods:
1. SE37 using BAPI_SALESORDER_CHANGE

2. VA42(When the contract is updated, a custom code is calling BAPI_SALESORDER_CHANGE in the background to update all the related sales orders)

But ended up with the same results:

bigflatfoot_0-1782990558529.png

My team and I were not experiencing this error before. Is it possible that the material used in the Sales Order has been changed specifically in configuration side? Because this happens with new and old/existing sales orders.

 

View Entire Topic
sravan_aleshwaram
Active Participant

Hello @bigflatfoot 

Material group 01 has not been defined (V1 582) indicates that the material group assigned to the material is missing or no longer maintained in the sales area/configuration. Since the issue occurs in both BAPI_SALESORDER_CHANGE and VA42, it is likely a master data or configuration issue rather than a BAPI issue.

Thanks,
Sravan