Skip to Content
Former Member
Sep 14, 2006 at 09:25 AM

Problem in Creatin Inspection Plan


Hi All,

I am using the BAPI Function Module 'BAPI_INSPECTIONPLAN_CREATE' to create an inspection plan for transaction QP01. When I upload the data with out any short text the inspection plan is created successfully. But when I give short text, the BAPI gives an error saying <b>'The long text for insp. characteristics 0020 was not changed in language EN'</b>. I debugged the program and I found that the BAPI is failing because it was unable to read the version for the characteristics validated by key date and the error message triggerred with in the BAPI is <b>'There is no valid inspection charac. 0020 for specified key date 20060912'</b>. I checked the valid from date of the Master Inspection Characteristics (QPMK) table, but the valid from date is same as the above date. What could be the reason for the above problem. Kindly guide. The error is actually trigerred within the Fn.Mod. CQ_CL_P_CHA_CHANGE within BAPI.

Also mention is there any other place where I have to check the valid from date for the inspection characteristics?

Thanks & Regards,