Escolar Documentos
Profissional Documentos
Cultura Documentos
MessagedeterminationinPurchasingERPSCMSCNWiki
GettingStarted Newsletters
Welcome,Guest
Login
Register
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
ERPSCM / / Printing(MessageDetermination)
MessagedeterminationinPurchasing
CreatedbyNADIAORLANDI,lastmodifiedonOct15,2013
Purpose
ThepurposeofthiswikiistoexplainmessagedeterminationinPurchasing.
Overview
ThisdocumentincludesanoverviewofrelevantsettingsinCustomizingforPOandshowswithanexamplehowtocreateanoutputtypeforaPO.
Introduction
Theprintingprogramdoesnotonlyconfesswiththeoutputofpurchasingdocumentsontheprinterbutwithallmethodsofgettingthedocumentstothevendor.Thiscanbeaprintout,butalsosendinga
purchasingdocumentbyfaxorEmail.Thesameprogramandformareusedfortheoutputofseveraldocumentsandprocesses.Thedocumentsthatcanbeoutputare:
Requestforquotation
PurchaseOrder
Contract
SchedulingAgreementDeliverySchedule
Theprocessesthatrequiretheoutputofadocumentare:
Creatinganewdocument
Changinganexistingdocument
Creatinganewdeliveryscheduleforaschedulingagreement
Urging/remindingadelivery
Differentprogramsareinvolvedincreatingandsendingmessages.OurprogramsareSAPMM06E,SAPFM06PandthefunctiongroupsMEPO,MEDRUCKandMEDR.FrombasisitismainlyRSNAST00
andRSNASTED(forEDI).FormoredetailsseetheWIKIpage"Printprocessingprograms".ThemessagedeterminationusesthesameconditiontechniqueasitisusedinPricing.Generallyspeakinga
messagetypeisthesameasaconditiontype,butthetermconditiontypeismoregeneric.Messagesservetosendapurchasedocumentoradunning/reminderofapurchasedocumenttothevendor.
MessagescanbecreatedandsentforRequestforQuotations(RFQ),PurchaseOrders(PO),schedulingagreements,deliveryschedulesandcontracts.Totransmitamessageyoucanusedifferent
medialikeprinter,fax,EDI,EMailorSAPoffice.Tosetupthemessagedeterminationofpurchasingdocumentsyouhavetoassignamessageschematoapurchasingdocument.But,settingupthe
messagedeterminationofpurchasingdocumentsisnotmandatory.Whencreatingorchangingapurchasingdocumentthemessagedeterminationwillbealwaysprocessed.Thesystemlooksupthe
messageschemathatisassignedtothepurchasingdocument.Eachschemacontainsseveralmessagetypes.Themessagetypes,themselves,arelinkedwithconditiontables,whichcontainthe
conditionentries.Foreachmessagetypethereisanaccesssequencethatdeterminesinwhichsequencetheconditionentriesforamessagetypearelookedup.Ifavalidconditionentryisfoundthenthe
messagetypeofthatentrywillbechosen,andamessageinthepurchasingdocumentwillbecreated.Therelevantdataofthemessagewillbetakenfromtheconditionentry,e.g.partner,medium,
dispatchtime.Theschemasummarizesthisconcept
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
1/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
Customizing
TheCustomizingcanbefoundintransactionOLME>Messages.
MessageDeterminationSchemas
ItispossibletomaintainamessageprocedureandassignittoanapplicationinOutputControl>MessagedeterminationSchemas>DefineMessageSchemaforPO.
MaintainMessageDeterminationSchema
AssignMessageDeterminationSchema
Inthisstep,weassignschematotheapplication:itispossibletodefinemorethanoneschema,butonlyoneschemacanbeassignedtooneapplication:forexamplethestandardprocedureRMBEF1is
assignedtoapplicationEFi.e.PO.Tomakesurethatthemessagedeterminationworksproperly,theflagsNformessagedetermination(T161NNFIND)andPforpartnerdetermination(T161NNEUPR)
shouldbeset.TheflagRel.mess.(T161NOBJLG)isonlyrelevantforschedulingagreementreleases.
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
2/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
MessageTypes
UnderMessageTypes>DefineMessagetypesforPO,itispossibletomaintainthemessagetypeanddefinewhatprintoperationsshouldbeusedforthemessagetype.
MaintainMessageTypesforPO
Inthisstep,wedefinethemessagetypesforpurchaseorders.
Inthedetailsforthemessagetypewecanseeseveraltabs.
Generaldata
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
3/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
MakesurethattheflagsforAccesstoconditionsandMultipleissuingareset.TheflagforMultipleissuingallowssendingmessagesmultipletimestothesamepartner(thisisrelevantforurgings
andreminders).Iftheflagforpartnerindependentoutputisnotset,thesystemallowsonlycertainpartnerrolesforthemessagedetermination.Tocreatechangemessagesproperly,theprogram
FM06AENDandtheformCHANGE_FLAGmustbemaintained.IncaseyouwanttosendamessageviaEmailandprovidepurchasingdocumentspecificinformationinthetitleoftheEmailyouneed
tomaintaintheareaReplacementoftextsymbolswiththeprogramSAPMM06EandformTEXT_SYMBOL_REPLACE.
Defaultvalues
Hereyoucanmaintaindefaultvalue:forexamplethedispatchtimeandthetransmissionmedium.Incaseacommunicationstrategyshallbeused,thishastobeassignedhere.
Mailtitleandtexts
Incaseyouusemessagetypewithmedium5(externalsend)hereyoudefinethemailtitle.SeeWIKIpage"PurchaseorderasanemailusingInternetmail(externalmail))".
Processingroutines
IntheProcessingroutinestheprocessingprograms,formroutinesandformscanbeassignedtothemessagetype.SeeWIKIpage"Printprocessingprograms".
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
4/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
PartnerRoles
HereyouassignPartnerrolestothemessagetype.
FinedtunedControl
Defineswhichmessagetypeshallbeusedforwhichprintoperation(newprint,changeprint,urgingletter,expediter).ForthemessagetypeNEUtheprintoperations1(newprint)and2(changeprint)
shouldbealwaysmaintained.Incaseschedulingagreementsareused,theflagUpdateprintdependentdata(T161MDRUAB)shouldbeselected.Thisflagcontrolswhetherprintdependentdatashould
beupdatedwhenprintingmessagesincaseofschedulingagreementreleases.SeeKBA1829682.
Accesssequences
WedefinetheaccesssequenceunderOutputControl>Accesssequences>Defineaccesssequenceforpurchaseorder(forPOthetransactionisM/50,thisisacrossclientsetting).Oneaccess
sequenceisassignedtothemessagetype.Theaccesssequenceservesaskeycombinationforthecreationofcondition/messageentries.
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
5/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
Theaccesssequenceorderstheconditiontablesinacertainsequence.Tableswiththesmallestsequencenumberwillbelookedupfirst.TheflagExclusivepreventsthesystemtolookupsubsequent
tablesincaseonetablewasalreadymatched.Thispreventsthatmorethanonemessagewillbecreated.
27,25and26aretheconditiontables:theycontainthosefieldsforwhichapurchasingdocumentwillbecheckedwhendeterminingthemessage.IndetailswecanseethatfieldsEKORGandLIFNRare
definedfortheaccesssequence0001withaccessnumber5andtableB027.
Inthestandardthetablesdeliveredcontainthefollowingfields:
Creatingthemessagetype:ConditionRecords
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
6/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
Incaseweworkwiththeconditiontechnique(thismeanthatwelinkedtheapplicationEFcontheoutputprocedureRMBEF1),itismandatorytofilltheconditiontables.Iftheconditiontablesarenotfilled
therewillbenomessagedetermination.YoumaintaintheconditionrecordviaLogistics>MaterialsManagement>Purchasing>MasterData>Messages(ThetransactioncodesforPOareMN04,MN05
andMN06).
Thesettingsintheconditionentryalwaysoverrideallothersettingsthatmighthavebeenmaintainedinotherpartsofthecustomizing(seeDefaultValuesinIMG).Viadeterminationanalysis,whichcanbe
foundwithinthemessageoverviewofapurchasingdocument,itispossibletoidentifywhyamessagewascreatedornot.
Incaseweuseamedium1(printoutput)wealsohavetomaintaintheoutputdeviceintheCommunicationsection(SeeKBA1854376)WhenusingFAXorEmailastransmissionmediumpleasemake
sure,thatavalidfaxnumberorEmailaddressinthevendorsmasterdataismaintained.
RelatedContent
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
7/8
28/09/2015
MessagedeterminationinPurchasingERPSCMSCNWiki
RelatedDocuments
WIKIPrintprocessingprograms.
WIKIPurchaseorderasanemailusingInternetmail(externalmail))
WIKIImportanttablesinmessagedetermination
RelatedSAPNotes/KBAs
KBA1854376Printingpurchasingdocuments:outputdevicedetermination
KBA1829682OutputtypeisnotdeterminedinPurchaseorder
hkok
ContactUs
Privacy
SAPHelpPortal
TermsofUse
LegalDisclosure
Copyright
http://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing
mmpur
FollowSCN
8/8