What steps will reproduce the problem?
1. Import the attached slinkee.
2.
3.
What is the expected output? What do you see instead?
I get a dump.
What version of SAP are you using?
SAP_ABA Release / Level: 7.0
SAP_BASIS Release / Level: 7.0
What version of SAPlink are you using: 0.1.3
Please provide any additional information below.
The slinkee contains follwoing method:
*
method TEST.
endmethod.
The method CREATEOBJECTFROMIXMLDOC in ZSAPLINK_CLASS contains following
code, see *TT for my comment
loop at sourceTable into source.
check source is not initial.
translate source to upper case.
shift source left deleting leading space.
*TT It crashed in the following line because source contains only `*`
if source+0(6) = 'METHOD'.
delete sourceTable index sy-tabix.
EXIT.
endif.
endloop.
describe table sourceTable lines lines.
while lines > 0.
read table sourceTable into source index lines.
if source cp 'endmethod*'.
*TT By the way: In the following line this situation was handled correctly:
if sy-subrc = 0 and source+0(1) <> '*'.
* Got it and not a comment?
delete sourceTable index lines.
exit.
endif.
endif.
Original issue reported on code.google.com by tobi.tr...@googlemail.com on 17 Aug 2007 at 10:20
Original issue reported on code.google.com by
tobi.tr...@googlemail.com
on 17 Aug 2007 at 10:20Attachments: