on 03-30-2009 4:02 PM
Hi
We have a need to get the XI system details ( sysid and the client) at runtime - when executing a mapping that we designed using Message mapping . Is there any runtime constant/udf that we can use to retrieve this information ?
We are on XI 3.0 SP23.
Check with "System.getProperty" this this will give you the system name
if (System.getProperty("SAPSYSTEMNAME").equalsIgnoreCase("ABC")) {
// Put your values
}
return (systemname or what you want);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer this blog by Michal..
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
just ignore the BPM part...you will need only the mapping logic and your target message will have the necessary value...also refer this link for the list of parameters that you can access:
http://help.sap.com/saphelp_nwpi71/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm
Regards,
Abhishek.
Using ABAP Mapping program to access runtime constants (same as Java or UDF)
http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm
then
SY-SYSID will return system ID.
SY-MANDT will return client number.
Then your can pass the information to your message mapping by specifying two mapping programs in your interface mapping
Regards.
Liang
Edited by: Liang Ji on Mar 30, 2009 5:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.