Skip to Content
author's profile photo Former Member
Former Member

Updating custom data on RECN

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2014 at 06:31 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2014 at 07:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2014 at 09:47 AM

    Hi,

    Debug implementation of BADI_RECA_STORABLE.

    Debug methods:

    STORE_WRITE

    Also debug associated BDT screen.

    Some where earlier data was not initializing properly..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.