Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Express Document Error while Creating Billing due to Print Program.

atulmittal07
Explorer
0 Kudos

Hi ABAP Gurus,

I am facing one issue while creating Billing Document in SAP. It's giving famous "Express Document Error" and the reason is the "Message" statement I put in one of the smartforms(for particular output type attached to that billing). May I know why it is happening and how to get rid of this situation? I still want that Message Statement in the Smartform Level. Please help 🙂

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Check your Customizing, if the document is generated in update task, you are not allowed to use some statements.

(You could also use tool such as FM TH_IN_UPDATE_TASK or method CL_SYSTEM_TRANSACTION_STATE=>GET_IN_UPDATE_TASK to change message type to 'S')