Skip to Content
0
Former Member
Jul 17, 2013 at 03:56 AM

"Material/Service group SUB-M DOES NOT EXIST" error message

398 Views

Dear All,

Facing a error message while creating a service entry sheet in ML81N as "Material /Service group SUB-M does not exist".

Checked based on message class and mess no ie SE419. System is comparing the material grp no. between table entries of T023 to ESLL.Since Fetching the data from the PO maintained with Matl grp as S003 but the table ESLL is maintained with the different matl no SUB-M.

Interesting part is when checked based on PO relation among:

EKPO-PACKNO -> ESLH-HPACKNO -->ESLL-PACKNO

For the same PO there are 2 entries maintained in ESLH with 2 different package no.

And in ESLL one package no is blank and other is SUB-M(with which system is comparing).

Want to know how the enteries in ESLL is populated?

Whats the issue here?

* Lesen Warengruppe

IF T023-MATKL NE ESLL-MATKL.

CLEAR: T023.

ENHANCEMENT-SECTION CHECK_MATKL_01 SPOTS ES_SAPLMLSP.

SELECT SINGLE * FROM T023

WHERE MATKL = ESLL-MATKL.

END-ENHANCEMENT-SECTION.

*$*$-Start: CHECK_MATKL_01----------------------------------------------------------------------$*$*

ENHANCEMENT 143 DIMP_GENERAL_SAPLMLSP. "active version

*Standard subroutine is provided to read database optimally, so direct

*statement to read database should be avoided to improve performance

CALL FUNCTION 'T023_SINGLE_READ'

EXPORTING

* KZRFB = ' '

T023_MATKL = ESLL-MATKL

IMPORTING

WT023 = T023.

* EXCEPTIONS

* NOT_FOUND = 1

* OTHERS = 2

ENDENHANCEMENT.

*$*$-End: CHECK_MATKL_01----------------------------------------------------------------------$*$*

IF SY-SUBRC > 0.

SET CURSOR FIELD 'ESLL-MATKL' LINE SY-STEPL.

MESSAGE E419 WITH ESLL-MATKL.

ENDIF.

ENDIF.