on 07-26-2018 12:53 PM
Hi All,
We are getting the ABAP Runtime dump "DBSQL_DBSL_CONVERSION_ERROR" for the select statement on AUFM Table written in the custom program. Attached the select statement here.select.png
SELECT mblnr " Material Document Number
mjahr " Fiscal year
aufnr " Order Number
werks " Plant
matnr " Material Number
menge " Quantity
meins " Unit of Measure
bwart " Movement type
FROM aufm
INTO TABLE lt_mseg_temp
FOR ALL ENTRIES IN lt_temp
WHERE aufnr EQ lt_temp-aufnr
AND bwart EQ lc_101 "Defect#12426
OR bwart EQ lc_102 "Defect#12426
AND werks EQ lt_temp-werks
AND matnr EQ lt_temp-matnr.
Dump screen is also uploaded here.dump.png
Types for this internal tabletypes.png
This is bit urgent getting many dumps in production.
Response is appreciated.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you look at
As I'm not able to connect to your system (and not paid for this...) no, you have to look by yourself (no crystal ball available) much too many options (also if you correctly posted the source code, the where clause is obviously wrong due to the OR without parentheses in the middle of a series of AND...)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Consider reading Quantity Fields from SAP documentation as well as improve abap code implementing catch exception to CX_SY_OPEN_SQL_DB.
Problem is menge type zmenge from ty_mseg.
Check it again and implement one type which It will works for all scenarios.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.