Hi Ahmed,
Your inputs are excellent now it is working well, but the only issue i am having is the sample is not being calculated while doing goods receipt.In the inspection lot tab in QA32 the sample table is showing zero,where as in RR screen the no of qty to be inspected in showing as per the sample scheme given in sampling scheme
Also the the missing link was, instead of creating 1 sampling scheme i had created 2 more & assigned in different sampling procedure..