Skip to Content
0
Jan 27, 2011 at 11:35 AM

msg SE181 on ML81N/ME21N- PR WITH MULTIPLE SERVICES ITEMS-1 ACC. ASSIGNMENT

397 Views

Hi,

when trying to create a new order using transaction ME21N or creating an entry sheet on an existing order based on a purchase requisition with multiple items in the tab services , the system gives the error message SE181 .

Debugging , i've discovered that the part of code in wich the system gets stuck , is the following :

PROGRAM DIMP_GENERAL_SAPLMLSP - INCLUDE LMLSPF3W

____________________________

Check if accounting data is in sync with service data "846124

IF ACC_TOTAL NE COMSRV-NETPR and glob_empty_package NE 'X'.

IF SY-TCODE = 'ML81'.

MESSAGE I181.

EXIT.

ELSE.

IF GLOB_SUBSCREEN_INIT EQ SPACE.

ACT_PACKNO = ESLL-PACKNO.

MESSAGE E181.

ELSE.

perform add_message using comsrv-packno

'E' 'SE' '181' '' '' '

__________________________________

Someways , it risults that the total of the items value inserted in the tab services , is different from the total NETPR in eban .

But that is not true . ACC_TOTAL is the variable in which the values of the multiline services is put ; I thought that maybe finding out how it is populated could help me to fix the issue , but I did'nt manage to do that .

Can somebody help me , please?

Thanks and Regards,