cancel
Showing results for 
Search instead for 
Did you mean: 

Look up for variables

Former Member
0 Kudos

Hi All:

I have this sceneraio for Mapping.

source

<name>Name</name>

<EV> DEV </EV>

<id>ID<id/>

Target :

<Name></>

<env_variable>...

Question I am not Mapping <EV> to <env_variable>.

But I need to lookup this field and has to Map in <env_variable>

Could any one tell me how can i go for lookup for environment variables??

Thanks in advance.

Reg,

FMF

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Yes , you can map by takin all input EV values and lookup for certain value and map to the <env_variable> , this you can achieve in UDF.

if you want to get the respective value from a database then you need to use mapping lookup , say for example, if you want to get the value from SAP itsefl then go for RFC lookup, elseif you want to get the value from an External database then you need to use DB lookup.

See the below links

DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function

Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

Regards

Chilla