Premahari
15th October 2018, 12:56
Hi,
I have one customized session in which iam taking standard report output to a file and do some checking and printing in a report. Other than the user language english, its giving error. When i checked its giving error, when i click print button in standard session through AFS.
This is error iam getting :

xtrainfo : session: "ottstpstdlib ";object: "ottstpstdlib"; function: "find.message.new" sql.exec; company number: 0
query: "select ttadv112._index1, ttadv450.mess, ttadv450.expi,
ttadv450.za_mtyp, ttadv450.txtc, ttadv450.zb_mqst
from ttadv112, ttadv450
where ttadv112._index1 = {:curr.pacc$, :1} and
ttadv450._index1 = {:clan, :1, :2, ttadv112.vers, ttadv112.rele, ttadv112.cust}
and ttadv112._compnr = 0
and ttadv450._compnr = 0
order by ttadv112._index1
as set with 1 rows
"
Message : FATAL ERROR: Error 205 (Out of range) on select
Can not continue in ottstpstdlib (find.message.new)[sql.exec]
Stack trace (package combination 'b61alive'):
find.message.new("Tiers factur\0x9b¼","4") (in object ottstpstdlib)
Error in ConvertTssLogString; return value was -1; input string was form.text.child("Tiers factur›¼40",0,0) (in object ottstpstdlib)


Can anyone please help.

mark_h
15th October 2018, 14:39
Not sure about this at all. My first thought is have you made sure that report is accessible thru a manual process with that language. Guess I am wondering if that report in the different language is available in the current package VRC.

Premahari
15th October 2018, 14:41
Hi Mark_h thanks for your reply.
I tried manually running that session it was working fine. But when I run through AFS it was not running

Ajesh
15th October 2018, 15:46
The description is quite confusing, First of all you will take a standard Report through AFS and then perform checks on it? I mean how??

Anyways as for the AFS commands, Did you do set.report(for the device setting) and execute.form.command etc??

Premahari
23rd October 2018, 10:07
Hi, Thanks for your reply. I gave set.report also in AFS.