‎2018 May 11 12:53 PM
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 🙂
‎2018 May 14 11:13 AM
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')