invoicing nightly SD - TEXT_SYMBOL_REPLACE
We have a custom output copy of RD00 for email output. It looks at program SAPMV60A. It is using routine TEXT_SYMBOL_REPLACE. We have been running nightly invoicing job for many years using program RV60SBT1.
Some of the invoices that get emailed have &XVBRK-VBELN& filled out in the email subject line and others do not get that field filled in. I had Basis go in and put an email address on every user that processes invoices. So if users are creating invoices in VF01/VF04, the VBELN entry comes out fine. But nighttime processing is run by user BATCHUSER and VBELN does not come out. I asked out Basis to add an email address to BATCHUSER. Still VBELN is blank. So after investigating this a little, I see notes that we should be scheduling nighttime through VF06 which uses another program than my old RV60SBT1. So I tried that, which runs in background under my name. Still no VBELN. But when I process under my name in VF04, the VBELN gets filled in. We are on ECC 6.0 ep 5.
Can anyone tell me specifically where I am going wrong? This is very time consuming on something that should be simple.