2013 May 16 7:20 AM
Hi All,
I am doing UCCHECK for the programs.
And facing an error and not able to solve.
I searched in SDN and also tried my own but no luck.
in one program they written statement as:
TRANSFER ST_XML(L_SIZE) TO FILENAME
the error is The structure "ST_XML(L_SIZE)" does not start with a character-type
the data declarations is as follows.
DATA: XML TYPE DCXMLLINES,
L_SIZE TYPE I.
DATA: BEGIN OF ST_XML,
D LIKE LINE OF XML,
END OF ST_XML.
How i need to correct the statement transfer
Regards
Raj
2013 May 16 9:52 AM
Use offset-length on field of structure instead of the structure itself.
Change statement to this:
TRANSFER ST_XML-D(L_SIZE) TO FILENAME.
Use offset-length on field of structure instead of the structure itself.
Change statement to this:
TRANSFER ST_XML-D(L_SIZE) TO FILENAME.
2013 May 16 9:52 AM
Use offset-length on field of structure instead of the structure itself.
Change statement to this:
TRANSFER ST_XML-D(L_SIZE) TO FILENAME.
2013 May 17 12:47 AM
Hi,
Please check the use of keyword LENGTH along with TRANSFER keyword. Something like this.
TRANSFER ST_XML(L_SIZE) TO FILENAME LENGTH len.
Should help
Cheers,
Arindam
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |