Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Short Dump

Former Member
0 Likes
1,297

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,173

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,174

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

Read only

0 Likes
1,173

Thanks Atish.

Do u have an idea of how to search for th OSS note.

Ster

Read only

0 Likes
1,173

check this site

https://service.sap.com\notes

You need to have S user ID for the same. If you don't have take help of your basis team.

Regards,

Atish

Read only

0 Likes
1,173

Hi Ster,

It is very easy to search NOTE. Goto service.sap.com

there u have option to search note.

Regards,

Naresh

Read only

0 Likes
1,173

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.                                                                                |
----------------------------------------------------------------------------------------------------

Read only

0 Likes
1,173

GUys any suggestions pls...Its a bit urgent.

Ster

Read only

0 Likes
1,173

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

Read only

0 Likes
1,173

hi..

just give the tcode name and search for a note.....I am dead sure that u will be having a note for that

Read only

Former Member
0 Likes
1,173

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.