Skip to Content
0
Former Member
Mar 26, 2006 at 07:58 AM

me22n, error system

55 Views

HI,

I have written the following code to avoid that the date of delivery is changed in the transaction me22n but the system generates the following error.

System error (error in method PO_POST)

I think this is because the error have to be informative , but when i put the message type I the sistem doesn´t make validation, only if it is type E but the system generate the before error (System error (error in method PO_POST))

the code is:

refresh ti_setleaf.

select valfrom

into corresponding fields of table ti_setleaf

from setleaf

where setname = cosetfe.

read table ti_setleaf with key valfrom = sy-uname.

if sy-subrc <> 0.

if not i_ekko-ebeln is initial.

loop at xeket.

loop at yeket.

if xeket-eindt ne yeket-eindt.

message e998(zbachoco) with

'No esta autorizado para modificar fecha de entrega,'

'consulte responsable'.

endif.

exit.

endloop.

endloop.

endif.

endif.

endif.

somebody could tell me how solving this?

thanks in advance.

marisol.