on 04-03-2014 11:52 AM
Hi
We have defined our message parties as PI parties. It works quite easy to use the lookup code as bellow in an adapter module or adapter.
Is there a the same possible in a UDF. I cannot find this in the API or am I missing something.
NormalizationManager normManager = NormalizationManager.getInstance();
Party party=null;
try {
party= normManager.getXIParty(ADDR_AGENCY_FIGAF, schema, bank);
} catch (CPAException e) {
throw new StreamTransformationException("Unable to convert house bank "+bank));
}
Hi Daniel,
Reading the SAP documentation said:
The NormalizationManager
allows the CPA cache service users (adapter implementations) to normalize and denormalize...
I think the problem is that in message mapping you have not access to the adapter framework services, between them the com.sap.aii.af.service.cpa and you have access to it only in integration directory.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel
You want to read the sender party or receiver party?
You can read the sender party or receiver party from UDF or java mapping using the below API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know that this is not what you are asking for. However, If you need the Party in the Message Mapping, why don't you try to use Dynamic Configuration? I mean, if you are able to access the party from an adapter module, why don't you save it in Dynamic Configuration, so you can retrieve it later?
Regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.