05-11-2018 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 🙂
05-14-2018 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')