‎2007 Jul 10 10:51 AM
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.
‎2007 Jul 10 10:54 AM
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
‎2007 Jul 11 5:54 AM
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.