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: 

dump in ecc6

Former Member
0 Kudos

hello!

During upgrade to ECC6 , i came across a problem i function group Z_MM.

there is new include WSTR_LMEDRUCKF1H, this include is missing in our prod syst in 46C.

In this include there is field USER_EXIT_EINE which is not defined, and is part of

class CL_EXITHANDLER method get_instance in the changing parameters, it has type any.

I tried to defined it in the top include, but i dont know how to do it.

does anyone has a clue?

regards

yifat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi!

I tried to defined it in the top include, but the field user_exir_eine is an instance of a method type any. i dont know how to define it.

the class is CL_EXITHANDLER method GET_INSTANCE the field instance.

thanks

yifat

5 REPLIES 5

Former Member
0 Kudos

1 Go to 'SE37'.

2 Type your Function Module name

3.Go to Menu 'Goto -> Function Groups -> Display Group'

4.Click on 'Main Program' Icon.

5.It will take you to Function Pool.

6.Include your include at the end.

Enjoy !!

Regards,

Ramki.

Former Member
0 Kudos

hello!

thanks for your answer.

the include WSTR_LMEDRUCKF1H is already included in the function poll , the problem is that there is a field which is not defined. and this include didnt exist in the old system 46c before the upgrade.

thanks yifat

0 Kudos

You can goto Main Program & define that field. ie., Top Include.

Is it the SAP Delivered Function Group, If so, please pass on the Function Group.

Regards,

Ramki.

Former Member
0 Kudos

hi!

I tried to defined it in the top include, but the field user_exir_eine is an instance of a method type any. i dont know how to define it.

the class is CL_EXITHANDLER method GET_INSTANCE the field instance.

thanks

yifat

0 Kudos

The data type 'Any' will accept all types.... Try the below one...

DATA INSTANCE TYPE REF TO CL_EXITHANDLER.

DATA SEEX_FALSE TYPE BOOLEAN .

DATA IMP_EXISTING TYPE BOOLEAN.

CALL METHOD CL_EXITHANDLER=>GET_INSTANCE

EXPORTING

EXIT_NAME = 'HRBAS00INFTY'

NULL_INSTANCE_ACCEPTED = SEEX_FALSE

IMPORTING

ACT_IMP_EXISTING = IMP_EXISTING

CHANGING

INSTANCE = INSTANCE

EXCEPTIONS

NO_REFERENCE = 1

NO_INTERFACE_REFERENCE = 2

NO_EXIT_INTERFACE = 3

CLASS_NOT_IMPLEMENT_INTERFACE = 4

SINGLE_EXIT_MULTIPLY_ACTIVE = 5

CAST_ERROR = 6

EXIT_NOT_EXISTING = 7

DATA_INCONS_IN_EXIT_MANAGEM = 8

OTHERS = 9.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards,