cancel
Showing results for 
Search instead for 
Did you mean: 

[HELP!] Customizing BADi at MAM

Former Member
0 Kudos

Hi all,

I'm customizing MAM25 and to a particular funcionality (ALM_MEREP_031_GETDETAIL), I had to change a function via BADi (ALM_ME_031_EQUIPMENT).

When I execute this function in R/3, it normally returns the registries, with no error at all.

However, when I execute the Replicator in MEREP_PD, to populate the table MEREP_207, no registry is returned.

I've checked at MEREP_LOG for MAM25_031, which is returning an error message showing a duplicate register, as following:

1 E 30.03.2007 13:43:04 Duplicated R/3 keys found

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 E 30.03.2007 13:43:04 Structure ID=020, parent synchronization key=0002359585, R/3 key=0000

1 S 30.03.2007 13:43:04 Replicator ended successfully (SyncBO=MAM25_031)

Does anybody have an idea of what is going on? What should I do to correct that?

Is any BADi missing in the Middleware?

Thanks,

Eduardo

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Deepck and Ajith.

We are very you thanked by your help.

Thanks.

Eduardo

Former Member
0 Kudos

Hi,

As the log says & Ajith told, there is some duplicate entry in the Equipment master table 'EQUI' , at your backend,

To view entries

Tcode: <b>SE16</b>

Table Name : <b>EQUI</b>

So you need to remove one duplicate entry from the master table

Hope this will help you,

Regards

Deepak

AjithC
Employee
Employee
0 Kudos

Hi Eduardo,

As the logs says, the root cause is duplicate keys for the item 020 of the syncBO MAM25_031.

In the bapi wrapper the tables parameter name is CE_EQUI_HEADER and it contains duplciate keys. The key fields are OBJECT_ID, KEY_LENGTH & FIELD_NAME. This combination must be unique.

If you want to know which equipment has this problem, go to SE16, table name merep_207 and put the scenario as MAM25_031 and synckey as '0002359585'. You can look in to the field R/3 key to get the equipment number.

Regards

Ajith Chandran