‎2008 Apr 04 1:47 AM
Hello Friends in Transaction LT03, in the second screen when I click the transfer order button it dunps.
I have debugged the program to see whats the problem and have observed that it Dumps at function module NUMERIC_CHECK
and the statement where it dumps is
SHIFT string_out RIGHT DELETING TRAILING space.
However I looked into the debug in version 6.0 ( as we are upgrading from 4.6 to 6.0 )
the data declaration is automatically done and it has type I.
THis is the problem.
any one faced this probleme and how was it solved.
Thanks,
Ster
‎2008 Apr 04 1:50 AM
If it is in the standard program then you must be having some OSS note for the same. if not then raise a message with SAP.
Regards,
Atish
‎2008 Apr 04 1:50 AM
If it is in the standard program then you must be having some OSS note for the same. if not then raise a message with SAP.
Regards,
Atish
‎2008 Apr 04 2:11 AM
Thanks Atish.
Do u have an idea of how to search for th OSS note.
Ster
‎2008 Apr 04 2:25 AM
check this site
You need to have S user ID for the same. If you don't have take help of your basis team.
Regards,
Atish
‎2008 Apr 04 2:26 AM
Hi Ster,
It is very easy to search NOTE. Goto service.sap.com
there u have option to search note.
Regards,
Naresh
‎2008 Apr 04 3:00 PM
Thanks All for the responses.
Here is the short dump message. Can any one please suggest a note for this issue.
Thanks,
Ster.
----------------------------------------------------------------------------------------------------
|Short text |
| The current statement is only defined for character-type data objects. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| Error in the ABAP Application Program |
| |
| The current ABAP program "SAPLSCHK" had to be terminated because it has |
| come across a statement that unfortunately cannot be executed. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Error analysis |
| For the statement |
| "SHIFT" |
| only character-type data objects are supported at the argument position |
| "STRING_OUT". |
| |
| In this case. the operand "STRING_OUT" has the non-character-type "I". The |
| current program is a Unicode program. In the Unicode context, the type |
| 'X' or structures containing not only character-type components are |
| regarded as non-character-type. |
| |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Information on where terminated |
| Termination occurred in the ABAP program "SAPLSCHK" - in "NUMERIC_CHECK". |
| The main program was "SAPML03T ". |
| |
| In the source code you have the termination point in line 37 |
| of the (Include) program "LSCHKU01". |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Source Code Extract |
----------------------------------------------------------------------------------------------------
|Line |SourceCde |
----------------------------------------------------------------------------------------------------
| 7|*" STRING_OUT |
| 8|*" HTYPE LIKE DD01V-DATATYPE |
| 9|*"---------------------------------------------------------------------- |
| 10| |
| 11| DATA: lv_string(200) TYPE c. "*051u+ |
| 12| |
| 13| FIELD-SYMBOLS: <lv_string_part>. |
| 14| |
| 15| IF string_in CN c_numeric_characters. |
| 16| htype = c_datatype_char. |
| 17| string_out = string_in. |
| 18| EXIT. |
| 19| ENDIF. |
| 20| IF string_in EQ space. |
| 21| htype = c_datatype_numc. |
| 22| string_out = string_in. |
| 23| TRANSLATE string_out USING c_space_0. |
| 24| EXIT. |
| 25| ENDIF. |
| 26| MOVE string_in TO lv_string. |
| 27| SHIFT lv_string LEFT DELETING LEADING space. |
| 28| TRANSLATE lv_string USING c_space_ampersand. |
| 29| IF lv_string CS c_ampersand. |
| 30| ASSIGN lv_string+sy-fdpos(*) TO <lv_string_part>. |
| 31| IF <lv_string_part> CN c_space_ampersand. |
| 32| htype = c_datatype_char. |
| 33| string_out = string_in. |
| 34| EXIT. |
| 35| ELSE. |
| 36| string_out = string_in. |
|>>>>>| SHIFT string_out RIGHT DELETING TRAILING space. |
| 38| TRANSLATE string_out USING c_space_0. |
| 39| htype = c_datatype_numc. |
| 40| ENDIF. |
| 41| ELSE. |
| 42| htype = c_datatype_numc. |
| 43| string_out = string_in. |
| 44| EXIT. |
| 45| ENDIF. "*051u- |
| 46| |
| 47|ENDFUNCTION. |
----------------------------------------------------------------------------------------------------
‎2008 Apr 04 3:25 PM
‎2008 Apr 04 3:38 PM
I have inspected the program and I found that STRING_OUT does not have any type...i.e., it can take any thing..in this case you have to check the data being passed to the transaction ... inspect it probably there are some texts which are maintained wrongly...if possible maintain them as text strings rather than as numbers
‎2008 Apr 05 8:06 AM
hi..
just give the tcode name and search for a note.....I am dead sure that u will be having a note for that
‎2008 Apr 04 3:30 PM
hi ,
go to the snote transaction or go to the link..
service.sap.com and give the error find out the note and follow the prosses..
regards,
venkat.