Preheat oven to 350. Add bacon to a large ovenproof skillet and heat over medium high until crispy. Remove and set on a few paper towels to drain. Add onions into bacon grease and cook for 3 minutes until browned.
Remove from heat. Add apple pie filling contents to the onions in the pan and use a spoon or spatula to cut apples into smaller pieces.
Add canned beans, diced precooked bacon and barbecue sauce to the apple and mix well. Bake in the oven for 25-30 minutes or until edges are bubbly and center is hot.