cancel
Showing results for 
Search instead for 
Did you mean: 

Generation not possible as there are unsaved objects in memory. Processing in generation mode is currently not possible

former_member227510
Participant
0 Kudos

I am learning BRF+ Application.

I have created three BRF+ applications in production server in the local object.

All the three applications have three data object elements called make, manufacturer and cost.

First application:

I created a function for this application and inside the function I am using a decision table in the rule set,

Decision table input field values are make - 2014, manufacturer - honda and result field value is 100.

After creating the rule set and decision table, I ran the simulation for the function in Generation mode.

In the code generation tab, I got the generated class.

Second application

I copied the complete application after renaming it.

Now I tried to simulate again in Generation mode.

I clicked on execute and display processing steps.

This time it showed the error messages as....

Generation not possible as there are unsaved objects in memory.

Processing in generation mode is currently not possible

Third application

I created a completely new application.

I copied only the data object elements.

Created new rule sets, function and decision table.

I tried to simulate again in Generation mode.

Same process.

Again the same error messages....

Generation not possible as there are unsaved objects in memory.

Processing in generation mode is currently not possible

P.S. : All the objects are active.

Can anyone explain me what could be the reason?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

christianlechne
Active Contributor
0 Kudos

Hi,

did you try to close the BRFplus workbench and open it again. It sounds like some internal caches got not cleared when copying the data objects (it is not the nicest solution approach but worth a try).

If the error persists you have two options from my point of view:

  1. Debug where the error message got raised. This way you can identify the object that causes the problem. Then you can check if there is any inactive version of it. This is not too easy when you just started with BRFplus
  2. Check if a note exists for such a problem and if not open an OSS

This answer might not be too satisfying, but these are the only options that come to my mind

BR

Christian

former_member227510
Participant
0 Kudos

Thanks Christian.

You are right.

When I refreshed the browser brf+ application, the code was getting generated.

I debugged it today, found out that cl_fdt_worklist=>gth_changed_object was not getting cleared.

The table contains objects which gets cleared after refreshing the browser page.

Testing it further.