Solution : https://service.sap.com/sap/support/notes/310154 (SAP Service marketplace login required)
Summary :
This SAP Note provides guidance for issuing custom error messages in transactions ME21N and ME51N for purchase orders and requisitions. By using the enhancement MM06E005 with function exit EXIT_SAPMM06E_012, users can generate messages directed to specific business objects and fields, utilizing macros mmpur_business_obj_id, mmpur_metafield, and mmp omessage_forced for linking these messages. The enhancement ensures proper error signaling and cursor positioning on relevant UI fields. For purchase requisitions, the MEREQ001 enhancement should be used with user exits EXIT_SAPLMEREQ_005 and EXIT_SAPLMEREQ_010 for effective message handling. The instructions include utilizations of macros for systematic issue handling and require implementation of corrections in Include LXM06TAP and ZXM06U43 for complete setup.
Key words :
customer component mm-pur-po-gui userinterface - purchase orders priority recommendations / additional info category consulting validity software componentfrom rel, subsequentsap_applmercurymercury 46a46b 46c46c 470470 correction instructions correction instructionssoftware componentvalid fromvalid tonumbersap_appl46amercury171139sap_appl46a46c171236 support packages & patches support packagessoftware componentreleasesupport packagesap_appl46bsapkh46b1146csapkh46c04 references, correct meta field display function group memfs, mm06e005 324694 me21n me51n customer-spec, me21 324694 me21n me51n customer-spec, error messages disappear 307760 me21n field exits, deleted 600870 enjoysap purchase order bapi, exit 329205 me21n customer-specific requ, account assignment category 'x', 329205 me21n customer-specific requ
Related Notes :
763605 | EXIT_SAPMM06E_012: System message is not deleted |
600870 | EnjoySAP purchase order BAPI: Return is not analyzd for exit |
329205 | ME21N customer-specific requ.entry flds in MM06E005 |
324694 | ME21N ME51N Customer-spec. error messages disappear |
307760 | ME21N field exits do not work as in ME21 |