on 06-04-2011 12:40 PM
Hi guys,
today I had to correct PO data within the PSA and wanted to use the report Z_UPLOAD_PSA to reload the data into the inbound layer DSO. Unfortunately I always run into a short dump caused by the exception STRING_LENGTH_NEGATIVE.
Do you have any idea what could cause that or has anyone already successfully used that ABAP report to reload data from PSA?
Thanks in advance,
Tobias
Hi Tobias,
We used to get this error in program Z_UPLOAD_PSA. This happens when in the data escape character " is followed immediately by delimter ;. however the latest version which is attached to note 1524401 has this error corrected.Are you using the latest version from this note?
Divyesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divyesh,
yes we are using the latest version of the program. I tried debugging it yesterday and have the feeling that this seems to happen every time when the values of fields like e. g. document text contain the character ;
I cleared out all the ; from that load within the PSA and afterwards the program worked just fine. Off course this is not a workable solution in production.
Is that possible?
Thanks again,
Tobias
Edited by: Tobias Schleich on Jun 8, 2011 1:25 PM
Hi Tobias/Raj Matta,
I also had the same problem earlier but now it was solved by giving an if condition before an operation.
In my case the dump occurs when the lv_len getting value ‘0’ followed by that an operation lv_len = lv_len-1. So in that operation lv_len getting -1 value and the dump STRING_LENGTH_NEGATIVE occuring.
if lv_len is not initial.
lv_len = lv_len-1.
endif.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.