Skip to Content
0
Former Member
Apr 20, 2007 at 12:23 AM

Exit Char Relationships in NW04s

31 Views

Hi there,

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

TO <l_chavl>.

<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.

Mark