2009 May 25 6:51 AM
Hi all,
I am using SUBMIT & RETURN to call a standard SAP program. However i want few internal tables from that SAP standard program to my program. How this can be done?
Thanks.
Wamr regards,
Harshad.
Hi all,
I am using SUBMIT & RETURN to call a standard SAP program. However i want few internal tables from that SAP standard program to my program. How this can be done?
Thanks.
Wamr regards,
Harshad.
2009 May 25 7:08 AM
Hi,
DATA ABAPLIST LIKE ABAPLIST OCCURS 0 WITH HEADER LINE.
SUBMIT 'Standrad program name' USING SELECTION-SETS OF PROGRAM 'yyyy'
WITH mode = mode
AND RETURN EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = abaplist
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'WRITE_LIST'
EXPORTING
WRITE_ONLY = 'X'
TABLES
LISTOBJECT = ABAPLIST
EXCEPTIONS
EMPTY_LIST = 1
OTHERS = 2.
2009 May 26 11:26 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |