cancel
Showing results for 
Search instead for 
Did you mean: 

Processing error during update (XIMSEG and EMSEG do not match)

former_member261745
Participant
0 Kudos

Hi Expert,

I have the following issue:

When performing a good issue with T-code VL02n , the following error message VL 699 appears:

Processing error during update (XIMSEG and EMSEG do not match)

Can anyone help me?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member261745
Participant
0 Kudos

The error was come from the serial number profile from the material master data. A check inside the FM have triggered error IO 304 but the output error is VL 699.

Thanks for all your support.

former_member184065
Active Contributor
0 Kudos

Dear,

Thanks for updating here .

A check inside the FM have triggered error IO 304 but the output error is VL 699.

Little bit not getting about statement .Please can you share some inputs on this .

Thanks

Naren

former_member261745
Participant
0 Kudos

Hi Narendra,

In my case when i check the internal table emseg, i found that in the line who have error, the field emseg-msgid and emseg-msgno is filled with IO 304.

The field is always in the last position of the table because EMSEG is sorted.

The message IO 304 is triggered by the FM 'SERIAL_LISTE_COMPLETE_CHECK' called from the FM 'MB_CREATE_MATERIAL_DOCUMENT'.

This is the extracted code of FM 'SERIAL_LISTE_COMPLETE_CHECK'.

IF QUANTITY NE ANZSN AND

      T_377_G-SERPFLICHT EQ SERPFLICHT_03.                    "P6BK289631

     MESSAGE A304 WITH QUANTITY ANZSN RAISING QUANTITY_ERROR.

   ELSEIF QUANTITY LT ANZSN.                                  "P6BK289631

     MESSAGE A304 WITH QUANTITY ANZSN RAISING QUANTITY_ERROR. "P6BK289631

   ENDIF.


The FM 'MB_CREATE_MATERIAL_DOCUMENT' is called in the FM 'MB_CREATE_GOODS_MOVEMENT' in the program FV50WF0W where you can find the error VL699.

Thanks

Haja

former_member184065
Active Contributor
0 Kudos

Dear,

Thanks for updating here .

Regards ,

Naren

Answers (2)

Answers (2)

former_member184065
Active Contributor
0 Kudos

Dear,

I have searched in Table Level and also in structure level ( and also in SE80 ) but any one doesnt showing that Fields .I think ,you need to debug or else connect with your system administrative .

Thanks,

Naren

former_member261745
Participant
0 Kudos

Hi Narendra.

After debugging, i found that the problem is in the following part of code of include FV50WF0W.

LOOP AT ximseg.

       CLEAR: ims_tabix, ems_tabix, yimseg.

       ims_tabix = sy-tabix.

       READ TABLE emseg WITH KEY        " IMS_TABIX BINARY SEARCH.

                                 tabix = ims_tabix

                                 BINARY SEARCH.

       IF sy-subrc EQ 0.

         IF ims_tabix EQ emseg-tabix.

           ems_tabix = ( sy-tabix + 1 ).

           MOVE-CORRESPONDING emseg TO ximseg.

ENHANCEMENT-POINT wa_materialbeleg_erzeugen_07 SPOTS es_sapfv50w.

*$*$-Start: WA_MATERIALBELEG_ERZEUGEN_07--------------------------------------------------------$*$*

ENHANCEMENT 10  OI0_COMMON_SAPFV50W.    "active version

         XIMSEG-OITXVAL0 = EMSEG-OITAXISS.

ENDENHANCEMENT.

*$*$-End:   WA_MATERIALBELEG_ERZEUGEN_07--------------------------------------------------------$*$*

           yimseg = ximseg.

           APPEND yimseg.

         ELSE.

           MESSAGE a699.

         ENDIF.

In my case table emseg have 14 items but no item with tabix '11'. There is 2 items with tabix '14'?

But i don't understand how can it be done.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check also note 1631595. Reading my coding I have more lines (I copy it). Search notes related with this include and the error VL 699

Regards

Eduardo


read table emseg with key        " IMS_TABIX BINARY SEARCH.
                                 tabix = ims_tabix
                                 binary search.
       if sy-subrc eq 0.
         if ims_tabix eq emseg-tabix.
           ems_tabix = ( sy-tabix + 1 ).
           move-corresponding emseg to ximseg.
          if not emseg-e_charg is initial and              "v_n_1631595
              ximseg-charg is initial and
              likp-vbtyp ca vbtyp_liavre.
              ximseg-charg = emseg-e_charg.
           endif.                                           "^_n_1631595
enhancement-point wa_materialbeleg_erzeugen_07 spots es_sapfv50w.
*$*$-Start: WA_MATERIALBELEG_ERZEUGEN_07--------------------------------------------------------$*$*
enhancement 10  oi0_common_sapfv50w.    "active version
         ximseg-oitxval0 = emseg-oitaxiss.
endenhancement.
*$*$-End:   WA_MATERIALBELEG_ERZEUGEN_07--------------------------------------------------------$*$*
           yimseg = ximseg.
           append yimseg.
         else.
           message a699.
         endif.
       else.
         message a699.
       endif.

Message was edited by: Eduardo Hinojosa

Shiva_Ram
Active Contributor
former_member261745
Participant
0 Kudos

The t-code is VL32n instead of vl02n

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

See note 1832827 if you have updated your system recently.

Regards

Eduardo

PD: see also note 1761631