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

BAPI for tcode MC86 updation table PGMI

Former Member
0 Likes
2,109

Hello,

I have a requirement in which I need to update product group in transaction MC86. It will update table PGMI basically.

I found a FM 'PRODUCTGROUP_CHANGE' and I am passing correct details but still I get an error while executing this FM.

Error Material  not found, I have checked material in existing in the system. I debugged this FM also it raise exception MESSAGE E500 at line 45 code for the same 'Material not Found.

Anybody as any idea. OR any other BAPI is used someone here.

Regards,

5 REPLIES 5
Read only

Juwin
Active Contributor
0 Likes
1,396

Is the material number stored with padded zeros in your system? If so, then you will have pass the same way, from your program as well.

Thanks,

Juwin

Read only

Former Member
0 Likes
1,396

Hello Juwin,

Material starts with character in my system. I have checked that

Read only

Juwin
Active Contributor
0 Likes
1,396

You should not be using this function module at all. This is not a BAPI. This is an update function module, called by SAP internal programs to update database directly, once all the checks are done.

Thanks,

Juwin

Read only

Former Member
0 Likes
1,396

Hello Juwin,

Any BAPI is avalaible to update transaction MC86.

Regards,

Read only

0 Likes
1,396

Hi,

Try,

BAPI_QUOTA_ARRANGEMENT_GETLIST

Hope  it helpful,

Regards,

Venkat.