on 2022 May 10 9:01 AM
Hi there,
we are on a brand new Hana 2022 System and i was tasked to develop an app to create Sales Documents.
As plenty of blogs states RAP is they way to go; t I tried my best to get it working.
Those two blogs guided me to use the later approach(early numbering)
YET there is one big question-mark.
The Key of the resulting object can only be overwritten during rap-create() but
SD_SALESDOCUMENT_CREATE
is calling internally
Statement "CALL FUNCTION .. IN UPDATE TASK" and this is not allowed within create().
Hence this can only be called during rap-SAVE() and rap-save() has no export parameter to map to a new ID. Hence Fiori Element UI get's confused and stay's on the draft-ID.
Request clarification before answering.
coming back to this after a bit of time
To sum it up, we went for SEGW + V2 + local-JSON model with batch/single change set requests to get it working similar to SAP-GUI(Fill-out, Validate, save header + multiple child's)
As long a module is not GUID based and has internal numbering; RAP seams to be unusable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below blogpost describes the issue "As long a module is not GUID based and has internal numbering; RAP seams to be unusable".
you have already mentioned it in the initial question.
https://blogs.sap.com/2022/03/13/abap-restful-application-programming-unmanaged-draft-for-non-guid-k....
Best wishes,
Ramjee
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.