Skip to Content
0
Former Member
Feb 03, 2009 at 02:09 PM

How to access to the attibuts of Class LCL_MIGO_KERNEL in Badi MB_MIGO_BADI

1288 Views

Hi,

I implemented the MB_MIGO_BADI and, in the method if_ex_mb_migo_badi~pbo_detail, i need to access the PT_GOITEM table (that is an attribut of class LCL_MIGO_KERNEL).

In ABAP debugger, this table can be access with this line :

(SAPLMIGO)LCL_MIGO_GLOBALS=>KERNEL->PT_GOITEM[]

But i can't find a solution to access this table in my program.

The only thing i can access is the class LCL_MIGO_KERNEL, using this code :

DATA lv_class TYPE string.

lv_class = '(SAPLMIGO)LCL_MIGO_GLOBALS=>KERNEL'.

ASSIGN (lv_class) TO <fs_kernel>.

I tried to add the PT_GOITEM to lv_class but in this case, the assign return a sy-subrc = 4.

Is anybody knows a solution to access to this table ?

Edited by: Olivier Abbeloos on Feb 3, 2009 3:09 PM

Edited by: Olivier Abbeloos on Feb 3, 2009 3:10 PM