2009 Oct 09 7:45 AM
hi experts....
when i run transaction iq09 with parameters "material" and "status included " i get output ....i want that output in my ztables internal table...i need only that data when i run this iq09 transaction with mention parameters...plz guide me how to get this,,,tks
welcome to SCN
find out which program runs for iq09
copy it to your zprogram
now instead of desplaying it use it in your itab
Edited by: mayank jain on Oct 9, 2009 9:04 AM
2009 Oct 09 7:56 AM
welcome to SCN
find out which program runs for iq09
copy it to your zprogram
now instead of desplaying it use it in your itab
Edited by: mayank jain on Oct 9, 2009 9:04 AM
2009 Oct 09 9:13 AM
but i need output of of those parameters what i pass in iq09....
2009 Oct 09 8:04 AM
Check the final post of this thread and change it according to your transactions
2009 Oct 10 10:16 AM
Example
data : t_list like standard table of abaplist with header line.
DATA: BEGIN OF o_list OCCURS 0,
output(1500) TYPE c,
END OF o_list.
data: char(100) ,string type string .
char = string.
* t_ascii like standard table of
SUBMIT rm07docs VIA SELECTION-SCREEN AND RETURN exporting list to memory.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_list
EXCEPTIONS
not_found = 1.
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = o_list " list converted to ASCII
listobject = t_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
data : wa_olist like o_list .
data : t_olist type ty_list,
* code added by sunil
lt_olist type table of ty_list.
loop at o_list into wa_olist.
write your logic
endloop.
Edited by: krupa jani on Oct 10, 2009 11:16 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |