Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
Showing results for 
Search instead for 
Did you mean: 


The purpose of this blog post is to clarify the scenario where message "Sorry, a technical error occurred. Please try again later." is raised when trying to create sales invoices via "Create Billing Documents" app - F0798.

It is observed that this pop-up only appears when setting "Display billing documents after creation" is turned on.


This issue occurs when upgrading from previous releases to S4CORE 105 and higher.
When pressing "View Details" in above pop-up, following technical message can be observed:

Sorry, a technical error occurred. Please try again later.
 "message": "HTTP request failed",
 "headers": [],
 "statusCode": 500,
 "statusText": "",
 "responseText": "NR/751Interval 01/Prefix TMP does not exist for object RV_BELEG"

Technical reason

This situation occurs because prefix 'TMP' has not been created for number range object RV_BELEG.
As of S4CORE 105, this is required for app "create billing documents", as a number range will be allocated to display the temporary billing document before saving (setting "Display billing documents after creation").

Hence, 'TMP' prefix should be configured in SPRO customizing "Define Number Range Prefixes for SD Documents":







After that new number range internal interval '01' should be created for 'TMP' prefix of object RV_BELEG in SPRO customizing "Define Number Ranges for Billing Documents":









After customizing these settings, Fiori app "Create Billing Documents" (F0798) can be used to generate sales invoices.

More information about these settings and Fiori app can be found in note 2922052 as well as https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0798')/S26OP.