2008 Dec 11 12:21 PM
Hi.. m working on a program..where i have to transfer data from sap to word doc using abap OLE..
i have an internal table itab where all the related fields are stored and this table's contents are pasted to word document using the function 'clpb_export'.. now this itab contains some 20 odd fields with some having static values(constant values) and others being populated by values from selections.
When i run the program , there is an error.
the error is in the function module 'clpb_export'. the line of error is:
ASSIGN COMPONENT 1 OF STRUCTURE <fs> TO <f>.
The error says:
' You attempted to assign a field to a typed field symbol, but the field does not have the required type. '
Now wen i remove those fields with static values , the program runs fine.
so pls help
Hi.. m working on a program..where i have to transfer data from sap to word doc using abap OLE..
i have an internal table itab where all the related fields are stored and this table's contents are pasted to word document using the function 'clpb_export'.. now this itab contains some 20 odd fields with some having static values(constant values) and others being populated by values from selections.
When i run the program , there is an error.
the error is in the function module 'clpb_export'. the line of error is:
ASSIGN COMPONENT 1 OF STRUCTURE <fs> TO <f>.
The error says:
' You attempted to assign a field to a typed field symbol, but the field does not have the required type. '
Now wen i remove those fields with static values , the program runs fine.
so pls help
2008 Dec 13 6:31 AM
Use gui_download function module u will get .doc(word format).
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |