Problem with pricing in background job
I made a special pricing to give the customer a bonus. The difference to the "normal" bonus in SAP is, that I store and read the bonus points from a VIS-table. With some materials the customer can collect bonus-points and if he buy other materials he can got bonus - if the customer have a positive balance of points. This is the reason that I save the points in a VIS-table.
For this I use the formula and conditions as described in OSS-Note 88625 and 74794 (maximal condition base value in billing document).
If I make the invoice "normal" with VF01 everthing works fine - the system look in the tabe and if the customer have a positive balance he got the bonus to the maximum.
But if the invoice will be created automatically in the night via a job, the value of the bonus is allway 0,00. The transaction which will be called is VF04 (Maintain Billing Due List).
Have anybody an idea, why formulas and conditions in pricing with background jobs are not correct working?
Best regards Thomas