2016 Aug 31 1:27 PM
Hi All ,
We are facing a very weird issue in project , a report is running , which is creating invoices , with that invoice a reference number is also generating , which helps us to stop duplicate invoice posting , now in report spool , the reference number is like 0011111111 , but in table BSEG it is showing like 11111111, first 2 zeroes are not coming , so next time duplicate invoices are posted , we have "conversion_exit_alpha_" fm in our program, so if no zeroes are there infront , it will put zeroes there , even when we are creating the same issue in quality system, table is updated properly , but in production the issue is happening , can you please help?
Thanks ,
Sayan
2016 Aug 31 1:42 PM
2016 Aug 31 2:37 PM
concerned fields are one for the IDoc from where we are passing the value into reference field , the IDoc field is C(30) , and our reference field is C(12) , the reference number which is created by the program is always C(10) , length mismatch can happen may be once, , but the issue happened twice ..and the program is running for a long time , this never happened before.
2016 Aug 31 2:54 PM
2016 Aug 31 2:56 PM
Nope , we tried to create the same thing in non-prod , there the ref no is creating and showing in BSEG with the leading zeroes , only in PROD twice this happened .
2016 Aug 31 2:33 PM
Also , this doesn't happen very frequently in production, only twice this happened. ,in non prod it is not happening at all .