Escolar Documentos
Profissional Documentos
Cultura Documentos
MM-SRV Interfaces
Overview
MM-PUR Interface
Purchase requisitions
Purchase orders
MM-IM Interface
MM-IV Interface
CO Interface (commitments)
PM Interface
Report MEDEBUG
Interface components
Function module: MS_SERVICE_PACKAGE
Function group: MLSP
Communication structure: COMSRV
Global accounting table (internal): ACC_TAB
Transaction ME51
Main MM-PUR program: SAPMM06B
subroutine: DIEN_MAINTAIN
Transaction ME51N
Main MM-PUR program: SAPLMEGUI
Function module: MS_SERVICE_PACKAGE_PBO
External requisition processing
Main MM-PUR program: SAPLEBNE
subroutine: DIEN_MAINTAIN
External process creates purchase requisitions via function module ME_REQUISITION_EXT
Examples: BAPI_REQUISITION_CREATE; Transaction IW31, IW32 (PM Orders), CN21, CN22 (Networks)
How to check BAPI problems:
Function module: BAPI_REQUISITION_CREATE
Execute SE37 with BAPI in test mode using test data directory (note 420331 describes how to fill BAPI structures)
Breakpoint in BAPI_REQUISITION_CREATE at "PERFORM requisition_create_data", check XESLL, XESKL, XESUH
Breakpoint in program LEBNEF04 (CREATE_SRV_POS), check the delivered data from function module
MS_FILL_TABS_FROM_EXT_DATA
Breakpoint in program LEBNEF17 (form DIEN_MAINTAIN
Interface components
Function module: MS_SERVICE_PACKAGE
Function group: MLSP
Communication structure: COMSRV
Global accounting table (internal): ACC_TAB
Transaction ME21
Main MM-PUR program: SAPMM06E
subroutine: form DIEN_MAINTAIN
Transaction ME21N
Main MM-PUR program: SAPLMEGUI
Function module: MS_SERVICE_PACKAGE_PBO
Purchase orders
MM-IM Interface
MM-IV Interface
CO Interface (commitments)
PM Interface
Report MEDEBUG
possible)
Debugging hints
Main question: is this a MM-SRV or a MM-IM problem ?
Breakpoint in function module ME_READ_ITEM_GOODS_RECEIPT (EINR) and check entries in internal table XEBEFU
If XEBEFU is ok > MM-IM problem
If XEBEFU not ok > MM-SRV problem
Errors during acceptance
Breakpoint in program LMLSRF0W (form ACCEPTANCE) at call function MB_CREATE_GOODS_MOVEMENT' ". In EMKPF can be
analysed which field is wrong or empty.
Interface PM/PS
MM-PUR Interface
Purchase requisitions
Purchase orders
MM-IM Interface
MM-IV Interface
Commitments (CO Interface)
PM Interface
Report MEDEBUG
Transaction IW31
Main program: SAPLMLSP
subroutine: INT_ORDER_PBO
Function module: CO_IH_MMSRV_INFO_GET (information from PM),
CO_IH_MMSRV_INFO_SET (information to PM),
Report MEDEBUG
Debugging help tool
Execute report MEDEBUG via SE38
For each topic (grouped in tab titles) several breakpoints possible
After setting the breakpoints it is not necessary to restart the transaction