选PROCESSINGIERRORSFROMTHEINTERFACEWITHTHE ln.docx
《选PROCESSINGIERRORSFROMTHEINTERFACEWITHTHE ln.docx》由会员分享,可在线阅读,更多相关《选PROCESSINGIERRORSFROMTHEINTERFACEWITHTHE ln.docx(33页珍藏版)》请在冰豆网上搜索。
选PROCESSINGIERRORSFROMTHEINTERFACEWITHTHEln
PROCESSINGIERRORSFROMTHEINTERFACEWITHTHE
PROCESSINGIDOCERRORSFROMTHEINTERFACEWITHTHEPDM
Tableofcontents
1.Introduction
2.HowtohandleCHRMASerrors
3.HowtohandleCLSMASerrors
4.HowtohandleECMMASerrors
5.HowtohandleDOCMASerrors
6.HowtohandleBOMDOCerrors
7.HowtohandleZPDM_MATMASerrors
8.HowtohandleBOMMATerrors
9.HowtohandleCLFMASerrors
10.HowtohandleECMREVerrors
11.SettingthedeletionindicatorforanIDoc
12.Serializationerrors
1.Introduction
TheERPsystemreceivesonadailybasisIDocsfromthePDMsystem.TheIDocscanbe:
IDoctypeDescriptionofIDoctype
CHRMASClasssystem:
Characteristicsmaster
CLSMASClasssystem:
Classesmaster
ECMMASEngineeringChangeManagement
DOCMASMasterdocument
BOMDOCBOMs:
Documentstructure
ZPDM_MATMASReducedMaterialmasterdata
BOMMATBOMs:
MaterialBOM
CLFMASClasssystem:
Classificationmaster
ECMREVRevisionlevel
TheIDocshavetobeprocessedintheabovedescribedorder.ThisprocessingorderissetintransactionBD44:
SelectZGRP_PDM01,anddouble-clickonAssignmentoflogicalmessagestoserial.Group=>
Hereyoucanseethesequencenumbersforeachmessagetype:
themessagetypeswithhighestprioritiesshouldbeprocessedfirst:
→sofirstofallweshouldprocesstheCHRMASIdocs(havingsequencenumber1),afterthentheCLSMASIDocs(havingsequencenumber2),andsoon…
RegardingthestatusesoftheIDocs,thestatuseswhichoccurmostoftenareasfollows:
51Applicationdocumentnotposted(error)
53Applicationdocumentposted(thisshouldbethefinalstatusoftheIDoc,ifeverythingwasprocessedsuccessfully)
64IDocreadytobetransferredtoapplication(itmeansthattheIDocwastransferredalreadyfromPDMtotheERPsystem,butitwasn’tprocessedyet);
66IDociswaitingforpredecessorIDoc(serialization)–itmeansthatthismessagetypeisserialized,andthisIDociswaitingforthepredecessorIDoc,inordertobeprocessed.
68Error-nofurtherprocessing–itmeansthatthisIDocwasdeleted(itappearsintheERPsystem,itdoesn’tdisappear,butithasadeletionflag).
69IDocwasedited–itmeansthatthisIDocwaschangedmanually(theinformationcontainedbyoneormoresegmentswaschanged).Itshouldbeprocessedafterthischange,inordertohavestatus53fortheIDoc.
ThemonitoringoftheincomingIDocscouldbedonethroughthetransactionBD87:
ThefollowingselectionisrecommendedinordertorestricttheoverviewtoonlythoseIDocscomingfromPDMwhichhaveerrorsandcouldn'tbebookedautomaticallyinthesystem:
ForIDocStatusvaluerangesfrom50to52andfrom54to70
ForMessageTypeBOMMAT,CHRMAS,CLSMAS,ECMMAS,DOCMAS,BOMDOC,ZPDM_MATMAS,CLFMAS,ECMREV
ThedatesintheChangedOnfieldshavetobemaintainedaccordingtothespecificneeds.
Theselectioncanbesavedandusedafterwards:
AftertheselectionismadeandtheExecutebutton
ispressedascreenwiththeerrorsappear:
EveryIDocerrorhasanerrormessage.Somemessagesareself-explanatory,like"YouarenotauthorizedforChangeDocumentwithdocumenttypeQDO".ForthemessageswhicharenotthatcleartheTCSLG1canbeused.Thistransactionshowsacompleteerrorlog,givingtheusertheinformationneededabouttherootcauseoftheerror.
IntheTCSLG1enterCAPIinthefield"Object",CAPI_LOGinthefield"Subobject"andtheIDocnumberinthefield"ExternalID".EnteringtheIDocnumberwillspeedupthesearchfortheerrorlog.
AfterpressingtheExecutebutton
theerrorlogisdisplayed:
AlsoyoucancheckthesituationoftheunprocessedIDocs,usingtransaction/casww/bd01:
Makethedesiredselection,
AndpressthebuttonExecute:
HereyoucanseetheIDocs(accordingtoyourselectioncriteria),andalsotheerrormessageforeachIDoc,inthecolumn“Description”.
Also,ifyouwant,youcanprocesstheIDocshavingthestatus51or64/66,byselectingtheIDocandpressingthecorrespondingbutton(BookStat51,orBookStat64/66).
Anotheroptionis,thatyoucanmakeavariantwhichcanbeusedinabatchjob,inordertobesenttoyouautomaticallybye-mailthelistofunprocessedIDocs,makingthefollowingselection:
2.
HowtohandleCHRMASerrors
Theerrorswhichoccurmostoftenarepresentedbelow:
ItmeansthatthisvalueisusedinsomeCharacteristics,soyoushouldcheckifyoustillneedthisvalue,ornot.
Youcandeletethisvaluemanuallyifneeded,usingtransactionCT04:
Ifyoudecidetodeletethisvalue,youcanpressthebutton“DeleteValue”andSave:
Ifyouchoosetheoption“Donotcheck”,itwillappearthefollowingmessage:
Pressthebutton“Continue(Enter)”:
Ifyoupre