2007 Oct 11 6:34 AM
Hi guys,
I need a help.Could u plz tell me how to pass a field symbol contexts inside an export parameter?
Points will be rewarded for helpful answers....
Hi,
You can use the TYPE TABLE in the exporting parameters..If you use TABLE it assumes an internal table.
Ex..
ITAB TYPE TABLE
Thanks
naren
2007 Oct 11 6:36 AM
Hi,
You can use the TYPE TABLE in the exporting parameters..If you use TABLE it assumes an internal table.
Ex..
ITAB TYPE TABLE
Thanks
naren
2007 Oct 11 6:38 AM
Hi,
try this.
say fs_table_field is your field symbol.
data: l_field_value TYPE char40.
FIELD-SYMBOLS : <fs_table_field> TYPE ANY.
MOVE <fs_table_field> TO l_field_value.
Pass this l_field value to export parameter
Regards,
Niyaz
2007 Oct 11 6:55 AM
FIELD-SYMBOLS: <fs> TYPE table.
DATA: it TYPE REF TO data.
CREATE DATA it TYPE STANDARD TABLE OF (tabname).
ASSIGN it->* TO <fs>.
SELECT * FROM (tabname)
INTO TABLE <fs>.This is my code.Plz tell me inthis case how do I do it?
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |