krushna
19th April 2021, 08:30
Hello Gurus,

I have created a AFS where its closing production orders through the session ticst0201m000,
But i am facing some error during running it, only while its going to print the report.

the error is occurring in the line number 161 while its hitting the form command continue.process

I have attached the code and the error, its much much appreciated if someone could understand tht where my code going wrong.

please check once and let me know where i am going wrong.

mark_h
19th April 2021, 15:13
Move to the correct forum. Since this is LN - you probably need to wait for someone who knows it. I was just wondering if you could close the order without printing, then go print it a different way.

krushna
19th April 2021, 16:52
Move to the correct forum. Since this is LN - you probably need to wait for someone who knows it. I was just wondering if you could close the order without printing, then go print it a different way.

Actually this is the standard steps to close a production order, so i have to print the report then only it will change the order status.