Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error in MIGO after upgrade from 4.6c to ECC 6.0

harri_kishan
Participant
0 Kudos

hi,

We are doing a upgrade project from 4.6c to ECC 6.0 and when we are posting the MIGO a runtime error is occuring from the method

"IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE" which is

in the class "ZCL_IM_MMIM_STK_TRANSFER".

The error is as follows :

method IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE

>>>>>CALL FUNCTION 'Z_MM_STK_TSFR'

TABLES

T_XMKPF = XMKPF

T_XMSEG = XMSEG.

END METHOD.

the errror is showing at function 'Z_MM_STK_TSFR' .

I would be happy if anyone could give any inputs i hav also put chek in unicode in attributes in main program however still the error is arising.

thanks in advance

7 REPLIES 7

Former Member
0 Kudos

Can you indicate what error you are getting at the highlighted line - e.g. is it abending and leaving a trace in ST22 and, if so, what is the error message?

JayR
Participant
0 Kudos

hi Harri,

Try to activate the parent programs of the function modules

With Wishes

Jai

Former Member
0 Kudos

Hi Harri,

Just do the syntax check on the FM 'Z_MM_STK_TSFR' as there may be chance that the structure mismatch is there.

Regards,

Atish

harri_kishan
Participant
0 Kudos

hi,

thanks for the inputs i have done the syntax check on the main program and the FM the error which is coming is Field "ENJPREVIEW" is unknown. its neither in one of the specified tables nor defined by a DATA 'statement' . THis error is showing in the include LMEDRUCKF1K.

Thanks in advance

0 Kudos

Hi,

Now there may be chance that this include is not used by SAP anymore or they may have come up with new include/field. Search OSS or do some trial search in your system.

Regards,

Atish

harri_kishan
Participant
0 Kudos

hi,

how can we know that the include is no more supported and what kind of trial search i should be doin in order to solve it.

Thanks in advance

0 Kudos

Thanks