on 05-23-2007 3:27 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
MAy be this link helps you, to configure it properly:
Thanks
Also look in following links:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.