2025 May 15 5:51 AM
Hi
I’m using the BAPI_INSPECTIONPLAN_CREATE function module to create an inspection plan. While most of the fields are working fine, I’m having trouble controlling the behavior of the tolerance fields in the INSPCHARACTERISTIC table—specifically UP_TOL_LMT and LW_TOL_LMT.
What I want is to create the plan such that only these two tolerance values are filled based on my input, without importing or resetting any other characteristic values.
I’ve tried setting the CHA_MASTER_IMPORT_MODUS field to:
C: but in this mode, it doesn’t allow me to change the tolerance values as needed.
N: in this mode, the characteristic is created without any values at all.
Is there a correct combination of input parameters or additional fields I need to set in order to update only the tolerance limits without importing or resetting other characteristic data from the master?
Below data is what I put in for my test.
TASK_LIST_GROUP #####
GROUP_COUNTER 1
ACTIVITY 0010
INSPCHAR 0010
VALID_FROM 2025.05.14
MSTR_CHAR N10010
PMSTR_CHAR A001
CHA_MASTER_IMPORT_MODUS C
CHAR_DESCR TEST 5/14
DEC_PLACES 2
MEAS_UNIT_ISO MM
UP_TOL_LMT 130.99
LW_TOL_LMT 111.11
Any help or insight would be greatly appreciated.