Skip to Content
0
Former Member
Feb 26, 2013 at 02:59 AM

Incorrect exception handling going to DUMP

73 Views

Hi exports,

When I gone through the T-code VA02 found that there is an exception "ERROR_OBJECT_LIST” which is raised when material no. is missing in the function module “IRMA_ORDER_STOCK” But when I check this function module in called include “FV45PF0R_REPAIRITEMS_CONF_PULL” , this exception is not maintained at parameter level.When i excuting its going to dump. Since it is standard we can’t modify.Iam not able to find anay OSS note.please suggest on this.

In FM:IRMA_ORDER_STOCK

IF NOT H_MATNR IS INITIAL AND

NOT I_VBELN IS INITIAL AND

NOT I_POSNV IS INITIAL.

PERFORM RMA_GET_MSSA TABLES REPA_TAB

USING I_VBELN I_POSNV H_MATNR I_FAKTOR E_BLOCKED.

ELSE.

RAISE ERROR_OBJECT_LIST.

ENDIF.

In include:FV45PF0R_REPAIRITEMS_CONF_PULL

CALL FUNCTION 'IRMA_ORDER_STOCK'

EXPORTING

I_VBELN = VBAP-VBELN

I_POSNV = VBAP-POSNV

I_PULL = CHARX

I_FAKTOR = DA_FAKTOR

I_MATNR = US_ITEMKOM-MATNR_G

TABLES

REPA_TAB = CH_REPAKOM

EXCEPTIONS

ERROR_MESSAGE = 1.

IF SY-SUBRC <> 0.