cancel
Showing results for 
Search instead for 
Did you mean: 

Updating custom data on RECN

Former Member
0 Kudos

My company has added a custom tab to RECN.  On this tab we update a custom table containing additional information related to a real estate contract.  Everything seems to be working just fine except one little thing:

If I change some data on our new tab, then without saving I click the green back arrow I get a prompt to save or not.  If I select to not save, it goes back and I can enter a different contract number.  If I go back into either the same contract or even a different contract and save anything, it will save the change, but the change I made earlier and tried to cancel also happens.

When we do the updates on the new tab, the data is updated by calling a function module with the parameter "IN UPDATE TASK".  As near as I can figure, answering "no" to that save prompt will make it not save, but apparently the changes I made are still waiting in that update task.  It seems like saying "No" to the prompt should clear out all of those updates.

Any ideas how to deal with this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I do not see any options to close this, but I do want to put it to bed.  Here is what we did to resolve the problem:  we did an enhancement on method ASK_USER_FOR_EXIT of class CL_RECA_WB_MANAGER.  what we added at the end of the method is code to check the response from the prompt and if the user answered "No" meaning he doesn't wish to save, it will call function module BAPI_TRANSACTION_ROLLBACK and eliminate our unwanted updates.

We are testing thoroughly and so far it all looks good.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Debug implementation of BADI_RECA_STORABLE.

Debug methods:

STORE_WRITE

Also debug associated BDT screen.

Some where earlier data was not initializing properly..

Former Member
0 Kudos

Hm looks like some wrong event handling in the custom tab. How is the custom tab added? With help of OSS no. 969234 ?

Regards
Michael

Former Member
0 Kudos

Thank you for the reply, Michael.  Unfortunately the consultants who set this up are gone, so I have no idea how they did it.  I will go through the note you indicated and see if I can figure it out.

former_member196871
Active Participant
0 Kudos

Hi Dale,

You need to sit with a developer and debug the application as chandra mentioned in a response. There might be a mere clear / refresh statement missing for the internal table you might be populating data into.

Regds,

Hardik Sharma