‎2006 Oct 17 5:15 AM
Hi all,
has anybody used BAPI_INSPECTIONPLAN_CREATE to create inspection plan and change master inspection details.OSS 433066 refers to this.But there are lot of characteristics to be mapped.has anybody done this.
Regards,
lalitha
‎2006 Oct 17 5:26 AM
hi,
Check out this documentation ..
FU BAPI_INSPECTIONPLAN_CREATE
____________________________________________________
Text
Create Inspection Plan
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.
Parameters
TESTRUN
PROFILE
GROUP
GROUPCOUNTER
TASK
MATERIALTASKALLOCATION
OPERATION
REFERENCEOPERATION
PRODUCTIONRESOURCE
INSPCHARACTERISTIC
TEXTALLOCATION
TEXT
RETURN
Exceptions
Function Group
Regards,
Santosh
‎2006 Oct 17 5:33 AM
Hi Santosh,
Thanks.
I can create the plan successfully. But I cannot change the master inspection characteristics, in the created plan. My problem related to OSS 433066.Just wanted to know, if anyone has implemented this OSS.
Rgds,
lalita