cancel
Showing results for 
Search instead for 
Did you mean: 

MDM_CLNT_EXTR not able to create extended material idoc

Former Member
0 Kudos

Hello,

We are transferring Material master data of SAP to SAP MDM through XI.

We have created a extended idoc of MATMAS04 as ZMATMAS04 and attached

that to z message type (ZMDM_MATMAS).

Standard transaction mdm_clnt_extr can extract data for material and

generates idoc of MATMAS05 which is attached to MATMAS. In this process

extracting function module material_extractor is used. We have seen

that MATMAS and MATMAS05 are hardcoded in this function module.

We have created copy of material_extractor as Z_MATERIAL_EXTRACTOR and

changed message type and idoc respectively as ZMDM_MATMAS and

ZMATMA04. We used this fm MDM_METADATA_MAINTAIN to create z extractor.

Now if we use this z extractor in mdm_CLNT_EXTR, idoc gets generated

for ZMDM_MATMAS linked to ZMATMAS04, but goes into error

saying 'MANDATORY SEGMENT IS MISSING'. This generated idoc has only two

segments E1MARAM,Y1MARAM.

Pl can you suggest on this.

thanks,

Sharada

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sharada,

I am working on a similar scenario in which I have created an extended idoc of MATMAS05 named as Z_MATMAS05_EXTN.

Could you please tell me where do i need to make modifications to extract data from this extended idoc and also could u tell me how to add a new extraction object to extract the above.

Thanks & Regards,

Kaushik Koli.

Note:Any help would be highly appreciated.

michael_theis
Active Contributor
0 Kudos

Hi Sharada,

does your IDoc type contain all segments of the MATMAS IDoc in definition? The reason I'm asking is that MATMAS has several segments marked as mandatory in its definition. This means that this segments MUST be available during the distribution. You can check this with transaction WE30. Open your ZMATMAS04. You'll see a segment list on the screen. Double-clicking on the segment opens a pop up called "Attribute Display". A checkbox defines if the current segment is mandatory or not.

To prevent the error you should either redefine the mandatory segments in WE30 or the segment extraction in MDM_CLNT_EXTR.

Kind regards

Michael

Former Member
0 Kudos

Hi

MAy be this link helps you, to configure it properly:

Thanks

Also look in following links:

http://service.sap.com/installMDM