cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound Port

former_member283645
Participant
0 Kudos

Hi all,

i configured outbound - Remote system SAP ECC.

in the key generation option i have mentioned as None.

If i go for range, it asks for From and to integer values.

why i need to give these values and does they impact in my output.

I understood that they generate keys.

But on basis of what and how i am not sure!!!

Can anyone explain me with a simple example what happens if Key gen is ''NONE'' and what happens when key gen is Range!!

thanks & regards

Eva M

Accepted Solutions (1)

Accepted Solutions (1)

former_member205403
Active Contributor
0 Kudos

Hi,

If You specify Key Generation as None and set Key Mapping on the table to Yes, it means that you will be importing Keys using MDM Import Manager. In this case MDM will not Generate any automatic key. This type of key generation is generally used in Consolidation Scenario when you are importing data from ECC or other source systems and wish to have source system identifier for record in key.

If you specify Key Generation as range, then MDM will automatically generate Key for the record with the next sequence number available. This type of Key generation is generally used in Central Master Data management scenario when you are creating a new Record in MDM first and then synchronizing same in other remote systems.

For example, you have Material Master Scenario, and now consider two scenarios for better understanding of Key generation properties.

Scenario 1: You want to consolidate data from ECC and remove duplicates.

In this case one may like to have ECC material number as the remote key so that MDM record can easily be related to ECC record. If you merge 2 or more materials then still MDM will preserve Keys and will append all keys to the new merged record. this way you can still related MDM record to ECC Record.

Scenario 2: You want to create new Material in MDM first and then synchronize same in ECC.

Suppose ECC is using external number range. In such case one would like to generate Material number in MDM first and then send material record to ECC. so, for automatic generation of Key like Material Number you can specify the range i.e. in what range material number should be generated. One can also specify qualified range i.e range based on look-up table like material groups, etc.

Kindly revert if you still have any query.

Best Regards,

Shiv

former_member283645
Participant
0 Kudos

Hi,

Well, i have some materials already in MDM.

i wish to create some new ones in mdm and syndicate them. while syndicating it need to generate the material number.

I am a bit confused with the above mentioned details in links.

can you show me with a simple table example with data init!!!(and the key mapping table changes how they effect this also..)

Thanks in advance.

Kind Regards

Eva

Former Member
0 Kudos

Hi Eva

Suppose in the MDM material repository we have materails of multiple types and in the corresponding ECC system we have a different number range defined for each material type.

Mat type- ZXXX Number range - 100000000 to 299999999

Mat type- ZYYY Number range - 300000000 to 499999999

The same can be handled in the remote system definition in MDM. for the remote system ECC select key generation as Qualified range and select the materail type lookup table. Next we can define the number ranges as defined in ECC for ZXXX and ZYYY.

On syndicating a materail record of type ZXXX the remote key generated will be say 100000001 which can be mapped to ECC matnr.

On syndicating a materail record of type ZYYY the remote key generated will be say 300000001 which can be mapped to ECC matnr.

hope this helps-Ravi

former_member283645
Participant
0 Kudos

Hi,

I am clear about qualified range.

I just want to know about range option.

Well, In my DM there is a table with 2 fields.

field1: Material Type

field2 : Material Number

there are 10 records in the table.

Where in material type field has value: Raw material.

and material number is Null.

*No key mapping values in edit key mapping table.

Now i need to generate mat numbers when i syndicate this records.

when i create a Remote system - outbound-range(10 - 20) and used it to syndicate this date.

file is generated with empty values in mat num column!!!

Can you let me know how to achive this?? is this situation correct to work with 'range' option ?

Former Member
0 Kudos

Hi Eva,

First i want to say that the key generation seting that we do in console is for generating keys not to fill any values in DM.

As you mentioned that yr material number is null and there is no key mapping established in DM and yr setting in console for remote system is range 10-20.

What happen on syndication is

1. remote key of source to map with material number of destination (or whatever is unique field in remote system)

2. on syndication,it will generate keys at both end .

data manager end : you can see in edit key mapping section that key is present for that system.(it will not add any data in MATERIAL NO. field of DM)

remote system : the file generate after syndication contain the same remote keys that contain by records in data manager.

file is generated with empty values in mat num column!!!

did you map this mat num field to remote key field of source record.

please check this at yr end.

Thanks,

Sudhanshu

Former Member
0 Kudos

Hi Eva,

In Item mapping tabs of Syndicator, for this table you would able to see 4 fields if you have set Edit key mapping = Yes in console

I mean four fields as:

Material Type

Material number

Remote system

Value

You would able to see remote system and value fields under node Remote Key

Now map Material Type = TMaterialType

Value = TMaterialNumber

So in this manner, your target TMaterialNumber will be filled using value from the first value of your range starting i.e. 10.

when i create a Remote system - outbound-range(10 - 20)

Say you have set this range for Remote System say RS1, Make sure that in Map Properties tab, Property Remote Key Override = RS1. Now your syndicating files will have these remote keys generated in file as well as in Edit Key mapping windows. Kindly revert if you have any issues.

Regards,

Mandeep Saini

Former Member
0 Kudos

HI Eva

the number generated upon syndication are not populated at main table record level against the Material Number field.

By design on syndication the records will be assigned the numbers(10-20) as Key mapping. You can see them using Edit key mapping for the syndicated record in Data manager.

If you want this number to be reflected back in data manager as field attribute you have to design an interface like-Syndicate the file from MDM with key maping value mapped to Material Number-> Import this file back in MDM for updating the Mterial number field in MDM.

BR- Ravi

former_member283645
Participant
0 Kudos

Hi,

Thanks Guys.

Now its pretty, i tested it successfully.

Thanks for that detailed explanation

Kind Regards

Eva

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Eva,

Please find similar thread, Just go through this thread:

Can anyone explain me with a simple example what happens if Key gen is ''NONE'' and what happens when key gen is Range!!

After syndicating records out of MDM, you will see if you have defined key generation = some integer range then in Edit Key mapping Remote system with remote key generates if none nothing will happen in Edit Key mapping.

Please refer below article which is self explanatory: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/807ce1ba-94c0-2a10-a398-afdfd8135...

Regards,

Mandeep Saini