2025 Dec 14 10:54 AM - edited 2025 Dec 15 2:46 PM
Hi All,
I have created a Managed app with unmanaged save having code to trigger BAPI to save transactional data. I have added draft functionality to this app and all works find except for create mode.
I am able to update root and dependent child node details successfully but when a new Document is created the earlynumbering_create method is triggered twice and MAPPED table is populated twice.
Thus cl_numberrange_runtime=>number_get returns 1 Doc # in first run [ Draft mode ]and second run [ After Save is Hit ], Next Document number is generated. This leads to issue that when Document is shown to user a Number is shown
On Save, next Docuement # is crated by method earlynumbering_create
Could you please suggest if you have came across such issues and solution for the same.
Thanks !!
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.