Application Development 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: 

Problem in Creatin Inspection Plan

Former Member
0 Kudos

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,

KK

2 REPLIES 2

Former Member
0 Kudos

<b>The problem is during the upload of Long Text for an inspection plan.</b>

0 Kudos

Can you please let me know how you r using the BAPI to create QM Inspection Plan. Appreciate your help.