Hi Kittu,
1. You submit the 5 reports in a program and get the output into an internal table from memory using FM : LIST_FROM_MEMORY
2. Convert that internal table data into ASCII format using FM : LIST_TO_ASCI
3. Loop this read that required data with offset.
1. SUBMIT <program/report> WITH <ip_field1> = value1
WITH <ip_field1> = value2
WITH <ip_field1> = value3
WITH <ip_field1> = value4
EXPORTING LIST TO MEMORY AND RETURN.
2. CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LIST_TAB
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
3. CALL FUNCTION 'LIST_TO_ASCI'
TABLES
LISTASCI = IT_ASCII
LISTOBJECT = LIST_TAB
EXCEPTIONS
EMPTY_LIST = 1
LIST_INDEX_INVALID = 2
OTHERS = 3.
4. DO 3 TIMES.
DELETE IT_ASCII INDEX 1. " As first lines may be report heading.
ENDDO.
5. DESCRIBE TABLE IT_ASCII LINES LINE.
6. DO LINE TIMES.
COUNT = COUNT + 1.
READ TABLE IT_ASCII INDEX COUNT.
IF SY-SUBRC = 0.
REPLACE ALL OCCURRENCES OF ',' IN IT_ASCII+69(21) WITH ''.
CONDENSE IT_ASCII+69(21).
<variable> = IT_ASCII+69(21).
APPEND <variable>.
CLEAR <variable>.
ENDIF.
ENDDO.
Do this for all 5 report and get data into internal tables and then you can merge them into single table as per your output format.
Thanks & Regards,
Vijay