Published ASN from WebUI does not generate DDN_Out XML.

When using SNC 7.0 (702) and running PO Collaboration – When you publish an ASN via the WebUI – it shows as published successfully but there is no DDN_Out xml generated. You get a POSTING_ILLEGAL_STATEMENT ABAP dump instead in GUI.
If  you then execute /N/SCA/DLV_PUBLISH – it publishes the DDN_Out successfully. But you are unable to do it via the WebUI.

The short dump occurs at the “commit” statement. The Short dump details are:
Category : ABAP Programming Error
Runtime Error : POSTING_ILLEGAL_STATEMENT
ABAP PRogram : SAPLSYDB
Application Component : BC-DB-DBI
Keywords suggested in dump:  “POSTING_ILLEGAL_STATEMENT” ” “/ “SAPLSYDB” or “LSYDBU27” / “DB_COMMIT”

Solution: 
The Short Dump occurs due to error in generation of Time Stream IDs associate with the Inventory Alerts.
Execute the report /SCA/INVALERTSWRITE once in dialog mode (Use any Location  / Product in selections) and try publishing the ASNs again.