Add length of part in to BOM

Dear all,

I use "number" of text box  in "configuration publisher" to wish that free to select the length of part. And I would like to show the length selected  in to BOM, but it does not works. Of course I do not want to create each configuration for each length from 1 to 1000

Is there any method could solve it.

Please help me. 

Thank you all for reading my post.

SolidworksModeling And Assemblies