on ‎2023 Oct 09 10:31 AM
Hello Gurus,
I'm currently learning RAP and have encountered difficulties in understanding the following aspects:
1. Are %CID & %PIT the same thing but at different stages of processing?
2. What is the main difference between %CID & %PID?
3. At what stage is %CID assigned and at what %PID?
4. Is %CID only assigned in CREATE and %PID in UPDATE?
Would be grateful for any useful advice/hints.
Thank You!
P.S. I've already looked through the official documentation, but I still couldn't understand the points mentioned.
Request clarification before answering.
%CID is an ID that is given by the consumer of RAP EML to correlate the result (like MAPPED, RESULT, FAILED and REPORTED) to the input. It is available for
%CID has to be unique and is valid for a single EML statement.
%PID is a preliminary ID that is given by the provider. It is present only in case of late numbering of an entity.
%PID is no (unique) ID on its own, but the full transient and unique key of an entity is %TKY. The %TKY is unique within the current transaction. In the save sequence, early save phase, adjust numbers the %TKY is replaced by the final key (without %PID or rather %PID being initial) returned in MAPPED (late).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 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.