Skip to Content
0
Former Member
May 27, 2008 at 08:05 AM

Memory Problem with SEt and GET parameter

18 Views

hi,

I m doing exits. I have one exit for importing and another one for changing parameter.

SET PARAMETER exit code is ....

*data:v_nba like eban-bsart,

v_nbc like eban-bsart,

v_nbo like eban-bsart.

v_nbc = 'CAPX'.

v_nbo = 'OPEX'.

v_nba = 'OVH'.

if im_data_new-werks is initial.

if im_data_new-knttp is initial.

if im_data_new-bsart = 'NBC' or im_data_new-bsart = 'SERC' or im_data_new-bsart = 'SERI'

or im_data_new-bsart = 'SER' or im_data_new-bsart = 'SERM' or im_data_new-bsart = 'NBI'.

set parameter id 'ZC1' field v_nbc.

elseif im_data_new-bsart = 'NBO' or im_data_new-bsart = 'NBM' or im_data_new-bsart = 'SERO'.

set parameter id 'ZC2' field v_nbo.

elseif im_data_new-bsart = 'NBA' or im_data_new-bsart = 'SERA'.

set parameter id 'ZC3' field v_nba.

endif.

endif.

endif. *

and GET PARAMETER CODE IS....

get parameter id 'ZC1' field c_fmderive-fund.

get parameter id 'ZC2' field c_fmderive-fund.

get parameter id 'ZC3' field c_fmderive-fund.

FREE MEMORY ID 'ZC1'.

FREE MEMORY ID 'ZC2'.

FREE MEMORY ID 'ZC3'.

*

In this code i m facing memory problem.

It is not refreshing the memory every time.

So plz give me proper solution.

Its urgent.

Thanks

Ranveer