FIM Location / SAP Location Code

Hello,

I was wondering if there's a way you can sync the SAP location code with FIM for whenever I go to create a new user. SAP has a location code, and whenever I create a new user in FIM, I want to be able to put in that code so the Address automatically gets filled in. 

Or if that's not possible, is there a way to automatically fill in the address in FIM?

August 3rd, 2015 2:41pm

I am not sure what this attribute looks like (Long time I don't deal with SAP) but any attribute available can be mapped, I think.
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 3:03pm

They're SAP personnel area codes, like the codes are abbreviated, just how states are ex: CA for California. They are in letter forms not in numbers. If I have these codes, I can just map it by creating a new attribute for each MA right, SAP and FIM.
August 3rd, 2015 3:13pm

Yes and yes.
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 3:15pm

When I select the code in FIM, I want FIM to auto-fill the address according to that Location Code, I'm a bit confused on how I can do THAT.
August 3rd, 2015 3:29pm

Many options. 

1. Classical Rules

In this option, you need an advanced flow rule in import mapping for the attribute in question.

You can hard code the values, if the are not going to change, or put them in a sql table or flat file and read from it. 

In the code, you can simply create a select case or if else.

A Sharp snipped of If-Else handing.

If csentry["Location Code"].IsPresent and If !(csentry["Location Code"].Value.Equals (null))

If csentry["Location Code"].Value.toLower="1"

{

mventry["LocationCode"].Value = "CA"

}

else If csentry["Location Code"].Value.toLower="2"

{

mventry["LocationCode"].Value = "NY"

}

.......

.......

.......

else

{

Throw expectation ("This code is not recognized")

//Or Do something else

}

2. Codeless, you can do similar thing with a huge IIF statement.

Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 4:32pm

If you can import the SAP location data via your SAP connector, and update the Person object I believe that would be the most direct.  

A common pattern here is to use a Location Object in FIMService.  On that location object you have the Location Code, and other metadata associated with the location (Address, State, country, etc.)

So when you set the location code on the FIM user,  you use an Action Workflow to look up the Location Object based on the code and update the target users attributes when it changes.

The approach all depends on your source data.

Jef

August 5th, 2015 6:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics