Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Update preceding Business transaction in BADI

$
0
0

Hi SDNites,

 

I have a requirement where I need to update the status of all the preceding transactions of the bcurrent business transaction when the status of the vurrent transaction is set to "COMPLETED". I have implemented BADI CRM_ORDER_STATUS but when I am trying to update the status of previosu BADI I am not able to. It gets saved only in buffer and as I try to edit the preceding business transaction status is again set to the current one. Following are the things I have tried,

1. CRM_ORDER_MAINTAIN - Goes to dump as it is recursive call.

2. CRM_ORDER_SAVE - Goes to dump as it is recursive call.

3. BAPI_TRANSACTION_COMMIT - No effect (Also it not a good practise).

4. Trying to register the transaction for future save using method register_for_save of class cl_action_execute - Dump again.

 

Request you to please guide me how the same can be achieved. Any pointers will be of great help.

 

Regards,

Abhi

 


Viewing all articles
Browse latest Browse all 4552

Trending Articles



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