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

BAPI - BAPI_INSPECTIONPLAN_CREATE

Former Member
0 Likes
2,705

Hi Gurus,

This is the first time am using BAPI , could u suggest me what all the mandatory fields required for the bapi 'BAPI_INSPECTIONPLAN_CREATE'.

I am getting some error messages as

E BAPI 001

W CPCC_DT 009 The valid-from data has been set from today's date

W CPCC_DT 009 The valid-from data has been set from today's date

W CPCC_DT 009 The valid-from data has been set from today's date

A CP 404 Enter another operation number

W CPCC_DT 009 The valid-from data has been set from today's date

E CP 435 Reference operation set not found

E CPCL 211 Consistency check not successful when creating a reference

S QP 249 Dynamic modification criteria are proposed according to task list usage 5

S QP 249 Dynamic modification criteria are proposed according to task list usage 5

A CFCL 004 The PRT can not be uniquely assigned to an operation

A CQCL 008 Inspection characteristic cannot be uniquely assigned to one operation

Could you send me the coding If you used diz BAPI ,.

Regards,

Ashok...

3 REPLIES 3
Read only

Former Member
0 Likes
1,072

Hello,

FU BAPI_INSPECTIONPLAN_CREATE

____________________________________________________

Short 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:

    o   TASK

    o   OPERATION

     o   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.

 Parameter

     TESTRUN
     PROFILE
     GROUP
     GROUPCOUNTER
     TASK
     MATERIALTASKALLOCATION
     OPERATION
     REFERENCEOPERATION
     PRODUCTIONRESOURCE
     INSPCHARACTERISTIC
     TEXTALLOCATION
     TEXT
     RETURN

 Exceptions

 Function group

     CPCC_BUS1191

Hope this will helps you.

Vasanth

Read only

Former Member
0 Likes
1,072

hi,

Check out this thread ..

Regards,

Alfred

Read only

Former Member
0 Likes
1,072

Hi,

chk this thread:

regards,

madhu