Quantcast
Viewing all articles
Browse latest Browse all 3280

Issue with check_save_needed( ) BOL

Hi,

 

We are facing a weird issue with the following code in the method IF_ICCMP_CUCOBT_BOL_TRANS~SAVE of class CL_ICCMP_CUCOBT_IMPL.

 

Line 61 :

TRY.

* preparation of save

       lr_transaction = lr_entity->get_transaction().

       IF lr_transaction->check_save_needed()EQ abap_true OR me->gv_save_needed EQ abap_true.

 

Whenever we click on save in WEB UI after some change, the service order is getting saved. However after the successful save if we click on save again the above code is getting through and save is happening again though we haven't made any change.

 

The above method is being called when we click on save button. I could trace one difference in our system that this behavior is reproducible for all service orders which doesn't have an Employee Responsible partner value in the partner's tab.

 

If Emp Res partner is maintained in the partner tab then after a successful save the above code gives false if we click save again without any change.

 

I have ignored all the custom component enhancement by setting the WCF_IGNORE_ENHANCEMT to confirm that this issue is not because of some custom BOL codes. After ignoring the enhancements also the same behavior exists in standard view.


Please provide your ideas to find the root cause.


If this issue could be because of some BADI implementation, please provide some BADI details that i should check. I have checked ORDER_SAVE, CRM_ORDER_STATUS, COM_PARTNER_BADI, CRM_PARTNER_BADI, CRM_ORDERADM_H_BADI.

 

Thanks,

Karthik


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>