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

Creating Inspection plan using BAPI

Former Member
0 Likes
4,569

Hi,

I am using TASK, OPERATION, INSPCHARACTERISTIC tables in FM 'BAPI_INSPECTIONPLAN_CREATE' to create the Inspection plan from the control plan in C-Projects. The problem is Bapi is not creating Insp.characteristics with multiple entries.

BApi returns A CQCL 008 Inspection Charateristic cannot be uniquely assigned to one operation.

Expecting reply.

Shankar.

2 REPLIES 2
Read only

Former Member
0 Likes
2,378

Hi,

you can check the BAPI_INSPECTIONPLAN_CREATE for the named purpose, the values you named are in the structure BAPI1191_CHA_C please read the BAPI documentation:

Functionality

You can use this function module to create inspection plans and all its subordinate objects.

You can create a key date view and the complete history of an inspection plan. It is useful to have a history when transferring data from external systems.

Example

You want to create an inspection plan with operations and inspection characteristics for key date 01.01.2000. Make an entry in the following tables for each object:

TASK

OPERATION

INSPCHARACTERISTIC

If you want to assign test equipment to the inspection characteristic in field ITEM_NO_OF_PRODUCTION_RESOURCE, you must have assigned this test equipment in PARAMETER PRODUCTIONRESOURCE.

Notes

If no error occurs during the transfer of data, the export parameters GROUP and GROUPCOUNTER contain the key for the task list created. A COMMIT WORK must be executed for writing data to the database.

All errors that have occured are logged in the export parameter RETURN. If there are inconsistencies, the inspection plan to be created is rejected

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
2,378

Hi,

I am using TASK, OPERATION, INSPCHARACTERISTIC tables in FM 'BAPI_INSPECTIONPLAN_CREATE' to create the Inspection plan from the control plan in C-Projects. The problem is Bapi is not creating Insp.characteristics with multiple entries.

BApi returns A CQCL 008 Inspection Charateristic cannot be uniquely assigned to one operation.

Expecting reply.

Shankar.