on 06-26-2013 10:53 AM
Hi folks, in integration builder I have created a Party, and added an additional Identifier for the vendor number for this Party in SAP backend, e.g.
Agency: SAP | Scheme: ALE#LI#LF | Name: 0000123456
The Party is used as sending Party of an integration flow (PI 7.31 AEX).
In mapping, I need to perform an RFC lookup using the vendor number (as defined above 0000123456) specified for the sending Party.
Anybody has experience with that? Thanks for your help, best regards, Martin
Hi, Martin,
I was searching extensively for solution to this problem. I was really hoping there was some "secret" Value-mapping context (other than the 'http://sap.com/xi/XI') that would allow a value-mapping function to plug into Party identifiers. I didn't find it - maybe there is one, maybe there isn't.
In the end I settled with getParty and getPartyID functions in UDFTPMPool library that comes with SAP B2B addon - they do exactly what you need.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Martin,
Identifiers are used as follows at runtime
Inbound Processing:
If a message from an external party contains an identifier for a company in the message header, the identifier is mapped to the name of the internal party (normalization). Only then can the relevant configuration objects required for the message to be processed further be found and analyzed in the Integration Directory.
Outbound Processing:
The internal party name of an outbound message is mapped to the identifiers to be used (in accordance with the configuration settings). The external receiver then receives a message that contains the externally-valid identifier in the message header (denormalization).
You can specify which alternative identifier is to be used in a specific communication step in the collaboration agreement (on the Identifiers tab page for the communication channel).
Regards,
Jani Shaik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Have you considered to maintain these values with the value mapping concept?.
Wiki http://wiki.sdn.sap.com/wiki/display/XI/Value+mapping
Sukumar Natarajans 'blog http://scn.sap.com/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-direc...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer, the thing is that I already use these Party Identifiers in an IDoc interface. Now I want to reuse this Identifier (the vendor number Scheme: ALE#LI#LF | Name: 0000123456) for other interfaces, instead of maintaining the same vendor number several places, e.g. as value mapping.
Hi Flinki,
i think you would need a value mapping with combination of Business System and PI sytem id as import, the vendor number as export. Not nice, but it would work. SAP's concept regarding partys sucks (a bit).
/Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Use below:
public interface StreamTransformationConstants
This interface contains constants that can be used in a java mapping to access runtime parameters. Most of these parameters are attributes of the message header, e.g., sender party, sender service, etc.
/AB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer, my requirement is to retrieve the Name (here the value 0000123456) for a certain Agency and Scheme defined as additional Identifier.
I specified the following Party Identifier for myParty:
Agency: SAP | Scheme: ALE#LI#LF | Name: 0000123456
and I need access to the Name, here 0000123456 in message mapping.
The StreamTransformationConstants only contains the following, but what I need is access to 000012345:
StreamTransformationConstants | Retrieved Value |
---|---|
SENDER_PARTY | myParty |
SENDER_PARTY_AGENCY | SAP |
SENDER_PARTY_SCHEME | ALE#LI#LF |
??? | 000012345 |
Did I misunderstand sth? How do I get access to this field?
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.