cancel
Showing results for 
Search instead for 
Did you mean: 

Dump in COMMIT WORK after CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE in SalesOrd

Former Member
0 Kudos

Hi Experts,

I am updating dates in Sales Order using CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE .

I am able to update two dates at the start of the program.

But then in the middle of code if I try to update the dates it gives dump on COMMIT WORK, saying duplicate entry exists, though I am updating a different date in different field.

If I execute the program again it does not give any dump and updates all status and dates successfully.

Please help.

Thanks in advance.

Regards,

Vikas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think it is timing issue while updating the database. After you call CRM_ORDER_SAVE , use COMMIT WORK AND WAIT. Also, see if you can also use iv_update_task_local parameter (you need write statement SET UPDATE TASK LOCAL. before you can update it locally).

-ASB

former_member97974
Participant
0 Kudos

hi all i am having the same issue plz help