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

Error in BAPI

Former Member
0 Likes
606

Hi,

  I am trying to create a Generic article with variants using the BAPI BAPI_MATERIAL_MAINTAINDATA_RT. when i am executing it after filling all the mandatory data, it is throwing a long text, which when checked in SLG1 says that 'The generic article cannot be created as a class'. Can anybody tell me what this statement means and how to rectify it.

Thanks in advance,

Aparna.K

2 REPLIES 2
Read only

Former Member
0 Likes
523

Hi Aparna, guess the error message implies there is an error in the values that you are trying to populate. Please verify the source again and try to execute again.

Read only

SujeetMishra
Active Contributor
0 Likes
523

Aparna,

Could you send us the code? what parameters are you passing?

you can use alternate FM 'MATERIAL_MAINTAIN_DARK'.

Ref below Link :

http://scn.sap.com/docs/DOC-45081

Regards,

SM