SAP Managed Tags: ABAP Development Hi Rishika Kummithi, Both ways to type KUNNR and KNA1-KUNNR are correct. In both situation you are declaring an element from a specific STRUCTURE. When you have several elements in your pool like KUNNR and KNA1-KUNNR, to make a distinction between th...
if it is a structure defined in data dictionary, then it should not give u an error. regards, madhu Reply Former Member In response to Former Member 2008 May 05 1:15 PM 0 Kudos 217 SAP Managed Tags: ABAP Development code : TABLES:ZIMS_ADDR_REQ. *** *** DATA DECL...
If you adopt a structured type generically (a structure, or a table with structured line type), the individual components cannot be addressed in the program either statically or dynamically. In this case, you would have to work with other field symbols and the method of assigning structures ...
SAP Managed Tags: ABAP Development Hello, I am trying to define another table, say itab, that has the same structure as, say, EDISEGSTRU so that I can use it in the function call: SEGMENTDEFINITION_READ as a parameter for Tables. May I know how can I declare the itab? Thanks ...
endif. perform routine in program (l_prog_name) tables itab. itab1 and itab2 are of different structure types. Reply Former Member 2008 Oct 15 10:07 PM 1 Kudo 11,596 SAP Managed Tags: ABAP Development Hi, you can't declare a table variable of type any table but you ca...
SAP Managed Tags: ABAP Development You can do that exactly the way you have said. Declare a structure in the TYPES declaration and in the GLOBAL DATA tab you can declare the internal table referring to that TYPE. I just did this in TYPES types:begin of ty_mara. include structure mara...
* 3. Create a New Type lo_new_type = cl_abap_structdescr=>create( lt_tot_comp ). * 5. data to handle the new table type CREATE DATA lo_data TYPE HANDLE lo_new_type. * * 6. New internal table in the fieldsymbols field-symbols: <f_structure> type any. ASSIGN lo_data->* TO...