cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW for IMA1N dumps while step 11-Convert data

Former Member
0 Kudos

Hello,

We faced a problem during creating LSMW for Appropriaton requests through IMA1N... The LSMW shows dump at step 11-Convert Dat.All fields are mapped and Read data step held succesfully without errors.

How can i fix this or maybe there are easy ways to load Appropriation requests to the system?

Any reply would be helpful.

ategory               ABAP Programming Error

Runtime Errors         SYNTAX_ERROR

ABAP Program           /1CADMC/SAP_LSMW_CONV_00000034

Application Component  Not assigned

Date and Time          27.02.2015 19:33:55

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short Text                                                                                        |

|    Syntax error in program "/1CADMC/SAP_LSMW_CONV_00000034          ".                           |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                    |

|    The following syntax error has occurred in program                                            |

|     /1CADMC/SAP_LSMW_CONV_00000034          :                                                    |

|    "GS_BUFFER-DATA" is too short for "LSMW_ZPS_APPREQ"                                           |

|                                                                                                  |

|                                                                                                  |

|    " "                                                                                           |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                          |

|    Probably the only way to eliminate the error is to correct the program.                       |

|    -                                                                                             |

|    If you cannot solve the problem yourself, please send the following                           |

|    information to SAP:                                                                           |

|                                                                                                  |

|    1. This description of the problem (short dump)                                               |

|    To do this, choose  System -> List -> Save -> Local File (unconverted)                        |

|    on the screen you are in now.                                                                 |

|                                                                                                  |

|    2. A suitable system log                                                                      |

|    To do this, call the system log in transaction SM21. Restrict the time                        |

|    interval to ten minutes before the short dump and five minutes after                          |

|    it. In the display, choose System -> List -> Save -> Local File                               |

|    (unconverted).                                                                                |

|                                                                                                  |

|    3. If these are programs of your own, or modified SAP programs: Source                        |

|    code of these programs                                                                        |

|    To do this, choose  More Utilities -> Upload/Download -> Download in                          |

|    the Editor.                                                                                   |

|                                                                                                  |

|    4. Details regarding the conditions under which the error occurred or                         |

|    which actions and input caused the error.                                                     |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Source Code Extract                                                                               |

----------------------------------------------------------------------------------------------------

|Line |SourceCde                                                                                   |

----------------------------------------------------------------------------------------------------

|  133|        parameter_error = 1                                                                 |

|  134|        insert_error    = 2                                                                 |

|  135|        OTHERS          = 3.                                                                |

|  136|  ENDIF.                                                                                    |

|  137|                                                                                            |

|  138|  CHECK l_abort = no.                                                                       |

|  139|                                                                                            |

|  140|* Dateinamen von DXWB fьr Einleseprogramm                                                   |

|  141|  m_file_read = file_read.                                                                  |

|  142|  m_file_conv = file_conv.                                                                  |

|  143|                                                                                            |

|  144|  m_executed = no.                                                                          |

|  145|  EXPORT m_executed   TO MEMORY ID 'LSMW_CONV_EXECUTED'.                                    |

|  146|  EXPORT m_file_read  TO MEMORY ID 'LSMW_FILE_READ'.                                        |

|  147|  EXPORT m_file_conv  TO MEMORY ID 'LSMW_FILE_CONV'.                                        |

|  148|                                                                                            |

|  149|  progname = l_progname.                                                                    |

|  150|                                                                                            |

|  151|  IF l_err_line IS INITIAL.                                                                 |

|  152|    IF x_submit = yes.                                                                      |

|  153|      IF variant IS INITIAL.                                                                |

|  154|        IF wildcardvalue IS INITIAL.                                                        |

|  155|          IF sy-batch = no AND x_called_from_dxwb = no.     "YOG200400                      |

|  156|            IF x_with_selscreen = yes.                      "YOG290300                      |

|  157|              SUBMIT (l_progname) WITH p_filept = p_filept                                  |

|  158|                                  WITH p_trfcpt = p_trfcpt                                  |

|  159|                                  WITH p_packge = p_packge                                  |

|  160|                                  WITH p_fromdx = x_called_from_dxwb                        |

|  161|                                  VIA SELECTION-SCREEN                                      |

|  162|                                  AND RETURN.                                               |

|>>>>>|            ELSE.                                           "YOG290300                      |

|  164|              SUBMIT (l_progname) WITH p_filept = p_filept  "YOG290300                      |

|  165|                                 WITH p_trfcpt = p_trfcpt   "YOG290300                      |

|  166|                                 WITH p_packge = p_packge   "YOG290300                      |

|  167|                                 WITH p_fromdx = x_called_from_dxwb                         |

|  168|                                 AND RETURN.                "YOG290300                      |

|  169|            ENDIF.                                                                          |

|  170|          ELSE.                                                                             |

|  171|            PERFORM print_parameters USING g_flg_new_list CHANGING lt_params.               |

|  172|            SUBMIT (l_progname) WITH p_filept = p_filept                                    |

|  173|                                  WITH p_trfcpt = p_trfcpt                                  |

|  174|                                  WITH p_packge = p_packge                                  |

|  175|                                  WITH p_fromdx = x_called_from_dxwb                        |

|  176|                                  TO SAP-SPOOL                                              |

|  177|                                  SPOOL PARAMETERS lt_params                                |

|  178|                                  WITHOUT SPOOL DYNPRO                                      |

|  179|                                  AND RETURN.                                               |

|  180|          ENDIF.                                                                            |

|  181|        ELSE.                                                                               |

|  182|          IF sy-batch = no AND x_called_from_dxwb = no.     "YOG200400                      |

----------------------------------------------------------------------------------------------------


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi KirZu,

Display Read data

This step is very important. Here you come to know whether there are any errors.

Whether the data passed on from the file is mapped to correct field. So you should see a few records to see whether it is correct.

Pls let me know if this help you.Otherwise give me your mail ID and I will send you doc which might help you.

Regards,

DSP Kotli

Former Member
0 Kudos

in read data it shows needed amount of rows (in particular example 4) and in display read data it shows error "0 or >5000 ".

Former Member
0 Kudos

Hi Kir Zu,

i have seen  such error generally occurs during convert Data step of LSMW.

Please look if there is a mismatch between the field length assigned by you in source structure and the allowed length for that field in sap.

Regards,

DSP Kotli

MTerence
Active Contributor
0 Kudos

Hi Kir,

There seems to be a difference between the load sheet and the field selection you have made.

Also check your load, there is no additional bank spaces.

Regards

Terence

Former Member
0 Kudos

Problem solved. the reason was that i defined for all fields in step 3-Maintain Source Fields, default lenght 999. And it caused huge problems while reading and converting data.

After i changed the lenght to standart defined in tables problem disappeared.

Answers (0)