I need to find out what other parts of SAP use this include. Basically one line in the code is messing up our order creation. We were thinking about commenting out that line as a short-term fix but we are afraid that it may mess up other parts of SAP. The line we need to comment out is line 53:
vbap-fixmg = cvbap-fixmg.
This is copying a flag that controls a check box. The problem is that we create orders from a quote. If this quote does not have a shipping location specified then our user exit does not set this flag. However, if you do have a shipping location specified then the user exit works as it is supposed to. We recently made the shipping location optional on quotes and that messed up this flag.