cancel
Showing results for 
Search instead for 
Did you mean: 

Syndication Issue

Former Member
0 Kudos

Hi all

we are developing an end to end scenario for data harmonization and consolidation with SAP R3 and MDM.while syndicating the data to R3 via XI we areable to generate IDOC but the status is 51.Further analysis gives the foll error:

the mat type "fini" doesnot exist

Finished products exist both in data manager and SAP as the mat types.Mapping is also done correctly.Dont know why this error.following is the destination IDOC preview

<?xml version="1.0" encoding="UTF-8" ?>

- <MATMAS05>

- <IDOC BEGIN="1">

- <E1MARAM SEGMENT="1">

<MSGFN>005</MSGFN>

<MATNR>1111a</MATNR>

<ERSDA>/</ERSDA>

<ERNAM>/</ERNAM>

<LAEDA>/</LAEDA>

<AENAM>/</AENAM>

<LVORM>/</LVORM>

<MTART>Finished Product</MTART>

<MBRSH>Retail</MBRSH>

<MEINS>AR1</MEINS>

<ZEINR>/</ZEINR>

<ZEIAR>/</ZEIAR>

<ZEIVR>/</ZEIVR>

<ZEIFO>/</ZEIFO>

<AESZN>/</AESZN>

<BLATT>/</BLATT>

<BLANZ>/</BLANZ>

<FORMT>/</FORMT>

<WRKST>/</WRKST>

<NORMT>/</NORMT>

<EKWSL>/</EKWSL>

<BEHVO>/</BEHVO>

<RAUBE>/</RAUBE>

<TEMPB>/</TEMPB>

<STOFF>/</STOFF>

<KUNNR>/</KUNNR>

<WESCH>/</WESCH>

<BWVOR>/</BWVOR>

<BWSCL>/</BWSCL>

<SAISO>/</SAISO>

<ETIAR>/</ETIAR>

<ETIFO>/</ETIFO>

<PRDHA>/</PRDHA>

<CADKZ>/</CADKZ>

<ERGEW>/</ERGEW>

<ERGEI>/</ERGEI>

<GEWTO>/</GEWTO>

<VOLTO>/</VOLTO>

<KZKFG>/</KZKFG>

<VHART>/</VHART>

<FUELG>/</FUELG>

<STFAK>/</STFAK>

<MAGRV>/</MAGRV>

<BEGRU>/</BEGRU>

<QMPUR>/</QMPUR>

<RBNRM>/</RBNRM>

<MHDRZ>/</MHDRZ>

<MHDHB>/</MHDHB>

<MHDLP>/</MHDLP>

<VPSTA>/</VPSTA>

<MSTAE>/</MSTAE>

<MSTAV>/</MSTAV>

<MSTDE>/</MSTDE>

<MSTDV>/</MSTDV>

<MFRPN>/</MFRPN>

<MFRNR>/</MFRNR>

<BMATN>/</BMATN>

<MPROF>/</MPROF>

<COMPL>/</COMPL>

<KZEFF>/</KZEFF>

<RDMHD>/</RDMHD>

<IPRKZ>/</IPRKZ>

<PRZUS>/</PRZUS>

<GEWTO_NEW>/</GEWTO_NEW>

<AENNR>/</AENNR>

<MATFI>/</MATFI>

<CMREL>/</CMREL>

<SATNR>/</SATNR>

<SLED_BBD>/</SLED_BBD>

<GTIN_VARIANT>/</GTIN_VARIANT>

<GENNR>/</GENNR>

<SERLV>/</SERLV>

<RMATP>/</RMATP>

- <E1MAKTM SEGMENT="1">

<MSGFN>005</MSGFN>

<SPRAS>/</SPRAS>

<MAKTX>sapmdmretailforsyndication</MAKTX>

<SPRAS_ISO>EN</SPRAS_ISO>

</E1MAKTM>

</E1MARAM>

</IDOC>

</MATMAS05>

please help.Points will be awarded for helpful answers.

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ravi,

1. If IDoc is in status 51, it means it was properly delivered to R/3. So you can now set a break-point in the respective IDoc handling function and reprocess the IDoc with BD87 (or report: RBDINPUT). Then debug the IDoc function and find where the error message is issued.

2.Inbound Status Codes

51 Error --> Application Document not posted

to debug Error 51do the following steps

goto WE19 - give the IDOC Number and Execute-

Press on Inbound function Module.

Hope this will help.

Rewards if helpful.

I think Michael have cleared the issue. Thanks Michael.

just check that and go ahead.

BR,

Alok

Edited by: Alok Sharma on Jan 31, 2008 8:32 AM

Edited by: Alok Sharma on Jan 31, 2008 8:34 AM

Former Member
0 Kudos

thanks Alok

after BD87 and MM90 whihc is log analysis for this IDoc I got the error message as Mat Type "Fini" doesnt exists.

hope the question is clear?Pls Help.

michael_theis
Active Contributor
0 Kudos

Hi Ravi,

the error is in your IDoc. You're sending <MTART>Finished Product</MTART>. You're using the description of the material type, but ALE expects the code. The error message displays Fini because the <MTART> has only 4 characters in ALE processing, the others are skipped. The solution is that you have to use the remote keys for <MTART>. This is a common behaviour of ALE/IDocs. If the data in ERP has value helps (like customizing tables, domain fixed values, and so on), the IDoc usually uses the codes instead of the texts. Just distribute a record having the Finished Product as material type from ERP and check the <MTART> in the IDoc. There you'll see the correct code.

Best Regards

Michael