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 Returned From Bapi 'BAPI_INSPECTIONPLAN_CREATE'

former_member188827
Active Contributor
0 Likes
1,620

hi

I am using 'BAPI_INSPECTIONPLAN_CREATE' for creating inspection plan in QM.the bapi is returning error"Inspection characteristic cannot be uniquely assigned to one operation".I am using one operation and one characteristic.I am also providing operation id in both the structures for operation and characterisitcs.Can anyone suggest what the problem is?

Edited by: abapuser on Oct 10, 2009 5:12 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
558

Hi

There is Activity Field in BAPI1012_OPR_C sturcture...

Similay there is also activity field BAPI1012_CHA_C sturcture.....

assign same Activity No in Both sturcture...

Check this Link https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Program%20to%20upload%20QM%20Inspection%20Plan...

Regards

ABG...

2 REPLIES 2
Read only

Former Member
0 Likes
559

Hi

There is Activity Field in BAPI1012_OPR_C sturcture...

Similay there is also activity field BAPI1012_CHA_C sturcture.....

assign same Activity No in Both sturcture...

Check this Link https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Program%20to%20upload%20QM%20Inspection%20Plan...

Regards

ABG...

Read only

0 Likes
558

I have passed the activity field in both the structures.I'll try the code provided by you and then inform.