I am at present trying to create an exit char relationship where i want to assign the value of one target characteristic based on the values of two source characteristics.
I have copied the class CL_RSPLS_CR_EXIT_BASE and am implmenting the derive method.
I am not sure of the syntax required to check the values of the source characteristics.. I believe the data resides in the structure c_s_chas
rather than doing a direct assignment as shown below:
ASSIGN COMPONENT 'CURRENCY' OF STRUCTURE c_s_chas
<l_chavl> = 'AUD'.
I would like to use an If statemnet to decide which currency to assign based on the source fields...
does anyone have any example code they could provide me to assist with this logic.
help much appreciated.