‎2007 Jun 21 4:01 PM
Hi
How can i use the fields-symbols in Abap Object (class)?: The program <b>SAPLMIGO</b> have a table <b>oref_detail->t_goserial</b>. I would get this table in my program (not object) by using field-symbol
What can i do?
it's urgent
thanks a lot
‎2007 Jun 21 4:17 PM
Hello
Here are the fact:
(1) oref_detail is of TYPE REF TO lcl_migo_detail (local class)
* Detail
oref_detail TYPE REF TO lcl_migo_detail, (lines 244-245 in LMIGOTOP)(2) Here is the definition of the local class (LMIGODC1):
*----------------------------------------------------------------------*
* INCLUDE LMIGODC1 *
* Detail carrier (data manager)
*----------------------------------------------------------------------*
CLASS lcl_migo_detail DEFINITION
INHERITING FROM lcl_migo_screenobject.
PUBLIC SECTION.
INTERFACES:
lif_migo_frame.
DATA:
* Line in the model which is currently displayed
current_line TYPE sytabix READ-ONLY,
* table for working with serial numbers internally
t_goserial TYPE lcl_migo_kernel=>ty_t_goserial,
" need to be changed when friend
" concept is available
* table for working with freight vendors internally
t_gofreight TYPE TABLE OF gofreight." need to be changed when friend
" concept is availible
METHODS:
constructor,
pbo REDEFINITION,
pbo_godynpro_fill,
pai REDEFINITION,
pai_get,
pai_transfer_fields_fill,
line_find. "ON REQUEST
PRIVATE SECTION.
DATA:
p_global_counter TYPE goitem-global_counter, "old gobal_counter
"(before sort/Not OK)
p_last_new_line_mode TYPE char1,
poref_settings TYPE REF TO cl_mmim_userdefaults,
ps_old_goitem TYPE goitem. "goitem before PAI-field transport
METHODS:
transfer_item_copy.
ENDCLASS. "lcl_migo_detail DEFINITIO(3) t_goserial has the following definition (include LMIGOKE1):
* Serial number with SELECTED-flag
BEGIN OF ty_s_goserial,
selected TYPE xfeld,
serialno TYPE gernr,
END OF ty_s_goserial,
ty_t_goserial TYPE STANDARD TABLE OF ty_s_goserial WITH
NON-UNIQUE DEFAULT KEY,What does it mean that you want to "access" this internal table? Do you need this itab within a userexit or BAdI?
Regards
Uwe
‎2011 Feb 08 9:14 PM
‎2011 Mar 12 6:07 AM