Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Vbep-ezeit modification using user exits

Hello experts,

I have been using userexit_save_document_prepare to modify xvbep-ezeit, but it is throwing once in a while message number v1 322.

Incorerect index structure  for table IVBEP1.

This error occurs very rarely.

In my code i am modifying XVBEP and for changed items YVBEP.

Please suggest how to rectify this error ? Do i need to modify IVBEP1 table also ?

PS: Is there any other user exit/enhancement available to achieve the same result ?

also i found this note and explanation in scn forums searching for solutions.

Note 985130 - SAPSQL_ARRAY_INSERT_DUPREC in VBEP_BEARBEITEN


In your user exits and modifications, particularly user exit USEREXIT_MOVE_FIELD_TO_VBEP in include MV45AFZZ, check whether the values of one or more of the following fields are changed:

VBEP-POSNR Sales document item

VBEP-EDATU Schedule line date

VBEP-EZEIT Arrival time

VBEP-PRGRS Date type (day, week, month, interval)

VBEP-ABART Contract release type

VBEP-ABRUF Forecast delivery schedule number

If this is the case, deactivate the relevant statements or the entire modification, or exit and check whether the symptoms you observed are now gone.

Please suggest any solution. I will really appreciate it.

Regards

Ravi

Former Member
Not what you were looking for? View more on this topic or Ask a question