Skip to Content

Maintenance Order Transaction Data - Plant Field getting deleted from Tansactions

Dear Experts,

Recently many of my users started getting an error while processing the scheduled orders (preventive maintenance orders which were generated by the system). They were unable to save the orders. On checking I found that the field "Plant" (WERKS) was empty in the table AUFK. There were about 2 Lacs of such orders in which the field was blank. I filled those fields manually by opening the table in editable mode, after that users could process those orders. But so far I could trace the reason for the issue.

This is the second time, on the first occasion there were only few Orders in which the field was empty, but this time it caused a major issue as there were 2 Lacs of such orders.

What may be the reason ???

Regards,

Somanath

prd-1.png (44.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Mar 27, 2017 at 07:54 AM

    Somanath,

    What is the error message you are getting when trying to enter these orders via IW32?

    PeteA

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Peter,

      While processing those orders getting the following dump error.

      Category ABAP Programming Error

      Runtime Errors RAISE_EXCEPTION

      ABAP Program SAPLCOZV

      Application Component PP-SFC

      Date and Time 28.03.2017 12:20:14

      Short Text Exception condition "NO_ENTRY" triggered

      What happened? The current ABAP program has encountered an unexpected situation.

      Error analysis - A RAISE statement in program "SAPLCOTA" has raised exception condition "NO_ENTRY". Since the exception was not caught by a program higher up in the call hierarchy, processing was terminated. Short text for exception condition: You can find detailed documentation about the exception condition in transaction SE37 (Function Library). You can find the name of the function module called from the display of active calls.

      Trigger Location of Runtime Error Program SAPLCOTA

      Include LCOTAU38

      Row 35 Module Type (FUNCTION)

      Module Name CO_TA_T399X_READ

      Line SourceCde 5 *" REFERENCE(AUART) LIKE AUFK-AUART

      6 *" REFERENCE(WERKS) LIKE AUFK-WERKS

      7 *" EXPORTING

      8 *" REFERENCE(STRUCT) LIKE T399X STRUCTURE T399X

      9 *" EXCEPTIONS

      10 *" NO_ENTRY

      11 *"-------------------------------------------------------------

      12

      13 DATA: INDEX_TMP LIKE SY-TABIX.

      14

      15 IF T399X_BUF-WERKS = WERKS AND

      16 T399X_BUF-AUART = AUART.

      17 STRUCT = T399X_BUF.

      18 ELSE.

      19 * T399X-Eintrag im Puffer?

      20 READ TABLE T399X_BUF WITH KEY MANDT = SY-MANDT

      21 WERKS = WERKS

      22 AUART = AUART BINARY SEARCH.

      23 * T399X-Eintrag nachlesen

      24 IF SY-SUBRC IS INITIAL.

      25 STRUCT = T399X_BUF.

      26 ELSE.

      27 INDEX_TMP = SY-TABIX.

      28 SELECT SINGLE * FROM T399X WHERE WERKS = WERKS

      29 AND AUART = AUART.

      30 IF SY-SUBRC = 0.

      31 STRUCT = T39

      32 T399X_BUF = T39

      33 INSERT T399X_BU

      34 ELSE. >>> RAISE NO_ENTRY.

      36 ENDIF.

      37 ENDIF.

      38 ENDIF.

      39

      40 ENDFUNCTION.

      --

      Regards,

      Somnath

  • Mar 30, 2017 at 10:49 AM

    Hi Pete, Facing the same issue again... 200K transactions again..

    Please see the screen shot, I have selected the Orders in which the field WERKS is equal to blank..

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 07:53 AM

    What is the error message you are getting when trying to enter these orders via IW32?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Pete, I already replied to that.. check in the reply to ur earlier question..

      Pasting it here again..

      Category ABAP Programming Error

      Runtime Errors RAISE_EXCEPTION

      ABAP Program SAPLCOZV

      Application Component PP-SFC

      Date and Time 28.03.2017 12:20:14

      Short Text Exception condition "NO_ENTRY" triggered

      What happened? The current ABAP program has encountered an unexpected situation.

      Error analysis - A RAISE statement in program "SAPLCOTA" has raised exception condition "NO_ENTRY". Since the exception was not caught by a program higher up in the call hierarchy, processing was terminated. Short text for exception condition: You can find detailed documentation about the exception condition in transaction SE37 (Function Library). You can find the name of the function module called from the display of active calls.

      Trigger Location of Runtime Error Program SAPLCOTA

      Include LCOTAU38

      Row 35 Module Type (FUNCTION)

      Module Name CO_TA_T399X_READ

      Line SourceCde 5 *" REFERENCE(AUART) LIKE AUFK-AUART

      6 *" REFERENCE(WERKS) LIKE AUFK-WERKS

      7 *" EXPORTING

      8 *" REFERENCE(STRUCT) LIKE T399X STRUCTURE T399X

      9 *" EXCEPTIONS

      10 *" NO_ENTRY

      11 *"-------------------------------------------------------------

      12

      13 DATA: INDEX_TMP LIKE SY-TABIX.

      14

      15 IF T399X_BUF-WERKS = WERKS AND

      16 T399X_BUF-AUART = AUART.

      17 STRUCT = T399X_BUF.

      18 ELSE.

      19 * T399X-Eintrag im Puffer?

      20 READ TABLE T399X_BUF WITH KEY MANDT = SY-MANDT

      21 WERKS = WERKS

      22 AUART = AUART BINARY SEARCH.

      23 * T399X-Eintrag nachlesen

      24 IF SY-SUBRC IS INITIAL.

      25 STRUCT = T399X_BUF.

      26 ELSE.

      27 INDEX_TMP = SY-TABIX.

      28 SELECT SINGLE * FROM T399X WHERE WERKS = WERKS

      29 AND AUART = AUART.

      30 IF SY-SUBRC = 0.

      31 STRUCT = T39

      32 T399X_BUF = T39

      33 INSERT T399X_BU

      34 ELSE. >>> RAISE NO_ENTRY.

      36 ENDIF.

      37 ENDIF.

      38 ENDIF.

      39

      40 ENDFUNCTION.

      --

      Regards,

      Somnath

  • Apr 09, 2017 at 05:07 PM

    Hi Pete, the issue is resolved. It was due to a custom coding written by my Technical team.

    Thanks for your time.. Closing the thread here..

    Add comment
    10|10000 characters needed characters exceeded