Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sorting of internal tables

Dear All,

i have two internal tables itab1 & itab2.

ITAB1 is of strecture EBANX, and ITAB2 is declared as fallows:

TYPES: BEGIN OF gty_temp_stru,

BANFN TYPE eban-BANFN,

matnr TYPE eban-matnr,

werks TYPE eban-werks,

land1 TYPE t001w-land1,

taxim TYPE mlan-taxim,

END OF gty_temp_stru.

DATA: ITAB2 TYPE TABLE OF GTY_TEMP_STRU,

GWA_ITAB2 TYPE GTY_TEMP_STRU.

now once i fetch the data into ITAB2 i have to sort it based on ITAB2-TAXIM.

based on the result of ITAB2 i have to sort the data in ITAB1.

How to do this, plz help me in solving the issue.

Thanks,

Rama

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question