cancel
Showing results for 
Search instead for 
Did you mean: 

Error while opening a PDF created by a smartform

shmilo666
Explorer
0 Kudos
194

Hello,

I'm creating a PDF file using a smartform and then sending it by email.

Everything works great in my DEV environment and I can open the PDF in SOST as well as the receiver mailbox.

For some reason, I can't open the PDF in my QA instance. It's empty. While debugging my code I saw that the execution of the smartform returns an error that doesn't tell me anything useful - " "TERMS_OF_PAYMENT_NOT_IN_T052". It isn't related to the payment terms...

Any idea anyone??... There should be no differences between the output determination between DEV & QA.. at least not something which I'm aware of.

Sandra_Rossi
Active Contributor
0 Kudos
I guess you mean you get TERMS_OF_PAYMENT_NOT_IN_T052 while "calling" a Smart Form (to generate the PDF). Could you please attach all the details about the error please? (screenshots, debug, code, etc.)
View Entire Topic
shmilo666
Explorer
0 Kudos

PFA.

 

Many thanks!!

 

Sandra_Rossi
Active Contributor
0 Kudos
So, you are calling something standard which does a short dump, but without code, it's impossible to help. Also, there are a few answers about TERMS_OF_PAYMENT_NOT_IN_T052. Possibly it's not exactly T052 but another table T052X or whatever? Configuration to be checked. Also check the error message sent with the exception. Last chance: debug the update task (I guess the error was also in SM13).