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

Errors while creating Inspection plan using BAPI_INSPECTIONPLAN_CREATE

Former Member
0 Likes
1,648

Hi All,

I am writing an upload tool for inspection plans. In this program I use bapi: BAPI_INSPECTIONPLAN_CREATE.

I made an extraction of a excisting inspection plan with SXDA_TOOLS which uses the same bapi and filled the bapi structures with the similar data. Now I am getting strange messeges in the return structure as below.

1. Material is not maintained for plant NNNN. But the material is mainained for that plant.

2. Consistency check not successful when creating operation

3. Inspection characteristic cannot be uniquely assigned to one operation

Let me know your suggestions

Thanks,

Sabu

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
994

try passing material number with leading zeros if length of material number is not 18 characters.

2 REPLIES 2
Read only

Former Member
0 Likes
994

Hi All,

Have any one used this BAPI, BAPI_INSPECTIONPLAN_CREATE to create Inspection Plan ?

Can you help me on above errors?

Thanks in advance,

Sabu

Read only

former_member188827
Active Contributor
0 Likes
995

try passing material number with leading zeros if length of material number is not 18 characters.