cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get actual before image values in retrieve method from Process control save strtegy

0 Kudos
361

Hi Experts.

I am unable to actual before image values of TOR root from SVAE strategy, Could you help me on this

find the code for the same

CALL METHOD lo_tor_save_request->mo_tor_srvmgr->retrieve

EXPORTING

it_key = lt_fo_key

iv_node_key = /scmtms/if_tor_c=>sc_node-root

iv_before_image = abap_true

IMPORTING

eo_message = lo_message

et_data = lt_root_bi.

Regrads,

Upendra

Accepted Solutions (1)

Accepted Solutions (1)

GRABLERE
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are you running a synchronous or asynchronous save strategy. I assume async and in that case there is of course no before image anymore in the transaction. In general if you are just want to react to a specific change with a reaction in your strategy I would recommend using rather a change strategy instead of save strategy. Here you have a very flexible condition based framework where you have a bunch of standard changed you can evaluate and can also implement your own class based data access based condition.


Regards,

Emanuel

Answers (0)