on 07-01-2020 2:27 PM
Hi Friends
I try to find options how to insert entries in Value Mapping Table in Integration Directory using UDF. (If I use the SAP Standard ValueMappingReplication message type (from BASIS SWCV), I need to create a separate Message Mapping and Operation Mapping)
Reason is that from Main mapping, when I get "the value not found or null " from Value Mapping table (using ValueMapping Standard Function in Mapping) for the given key, in that case only I need to insert new entries in Value Mapping Table at run time.
Value Mapping API class
The standard class XIVMService has methods executeMapping. But, those methods to retrieve value for the given key from Value Mapping table. I could not find any methods to insert entry in Value Mapping table.
Could you please clarify ?
Thank you.
Regards,
Jegatheeswaran P.
Hi Jens
Thank you for reply. I will check the possibility. If it is complex , then I will use RFC lookup to achieve this requirement. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens
Thank you for your reply.
The blog in first point talks about SOAP Lookup. Here I can use Value Mapping API Class for lookup. This is not a problem.
The blog in second point talks about replicating records from ECC to PI Cache Monitor. This we already did and it works.
My requirement is similar as explained in 2nd blog but not from ECC table. Within Mapping itself, I need to execute DeleteContext Operation and then Insert Records into Value Mapping Table. (Same approach as explained in 2nd blog).
If you have any idea or any other way to achieve this, pl. tell me.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Never tried this, so take with grain of salt, but I'd roughly follow this approach.
Im assuming that you don't need the actual result being inserted at the very execution of the value mapping api but want to make sure that subsequent calls hit the newly created value mapping record
Cheers
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, I think (hope) my statements might be still valid, also the first blog
Makes sense?
Cheers
Jens
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.